viaduct
0.3.0
compiler
/
io.github.aplcornell.viaduct.selection
/
CostMonoid
Cost
Monoid
interface
CostMonoid
<
C
:
CostMonoid
<
C
>
>
:
PrettyPrintable
A commutative monoid that represents a notion of cost for a feature.
Functions
Inheritors
Functions
concat
Link copied to clipboard
abstract
fun
concat
(
other
:
C
)
:
C
to
Document
Link copied to clipboard
abstract
fun
toDocument
(
)
:
Document
zero
Link copied to clipboard
abstract
fun
zero
(
)
:
C
Inheritors
IntegerCost
Link copied to clipboard
Cost
Link copied to clipboard
SymbolicCost
Link copied to clipboard