viaduct
0.3.0
compiler
/
io.github.aplcornell.viaduct.selection
/
CostChoice
Cost
Choice
data
class
CostChoice
(
val
choices
:
List
<
Pair
<
SelectionConstraint
,
SymbolicCost
>
>
)
:
SymbolicCost
Cost determined by which guard is true. Exactly one guard must be true.
Constructors
Functions
Properties
Constructors
Cost
Choice
Link copied to clipboard
fun
CostChoice
(
choices
:
List
<
Pair
<
SelectionConstraint
,
SymbolicCost
>
>
)
Functions
concat
Link copied to clipboard
open
override
fun
concat
(
other
:
SymbolicCost
)
:
SymbolicCost
to
Document
Link copied to clipboard
open
override
fun
toDocument
(
)
:
Document
zero
Link copied to clipboard
open
override
fun
zero
(
)
:
SymbolicCost
Properties
choices
Link copied to clipboard
val
choices
:
List
<
Pair
<
SelectionConstraint
,
SymbolicCost
>
>