CostMul

data class CostMul(lhs: Int, rhs: SymbolicCost) : SymbolicCost

Multiply cost expression with a scalar. Restrict to scalar multiplication to keep constraint problem linear.

Constructors

CostMul
Link copied to clipboard
fun CostMul(lhs: Int, rhs: SymbolicCost)

Functions

concat
Link copied to clipboard
open override fun concat(other: SymbolicCost): SymbolicCost
toDocument
Link copied to clipboard
open override fun toDocument(): Document
zero
Link copied to clipboard
open override fun zero(): SymbolicCost

Properties

lhs
Link copied to clipboard
val lhs: Int
rhs
Link copied to clipboard
val rhs: SymbolicCost