SelectionProblem

data class SelectionProblem(val constraints: Set<SelectionConstraint>, val cost: SymbolicCost, val costMap: Map<Node, SymbolicCost> = mapOf())

A constrained optimization problem defined by a set of selection constraints and a cost expression to minimize.

Constructors

Link copied to clipboard
fun SelectionProblem(constraints: Set<SelectionConstraint>, cost: SymbolicCost, costMap: Map<Node, SymbolicCost> = mapOf())

Properties

Link copied to clipboard

Set of constraints that must hold true for any valid protocol assignment.

Link copied to clipboard

Cost for the whole program.

Link copied to clipboard

Extra metadata that lets us associate cost with different parts of a program.