Documentation ¶
Index ¶
- func MustBeActivationColumns(comp *wizard.CompiledIOP, c ifaces.Column, option ...any)
- func MustBeBinary(comp *wizard.CompiledIOP, c ifaces.Column)
- func MustBeMutuallyExclusiveBinaryFlags(comp *wizard.CompiledIOP, isActive ifaces.Column, flags []ifaces.Column)
- func MustZeroWhenInactive(comp *wizard.CompiledIOP, isActive ifaces.Column, cs ...ifaces.Column)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustBeActivationColumns ¶
func MustBeActivationColumns(comp *wizard.CompiledIOP, c ifaces.Column, option ...any)
MustBeActivationColumns constrains all the columns of the form "IsActive" to have the correct form: the column is binary and it cannot transition from 0 to 1.
func MustBeBinary ¶
func MustBeBinary(comp *wizard.CompiledIOP, c ifaces.Column)
MustBeBinary constrains the current column to be binary.
func MustBeMutuallyExclusiveBinaryFlags ¶
func MustBeMutuallyExclusiveBinaryFlags(comp *wizard.CompiledIOP, isActive ifaces.Column, flags []ifaces.Column)
MustBeMutuallyExclusiveBinaryFlags constraints all the flags to be binary and sum to isActive
func MustZeroWhenInactive ¶
MustZeroWhenInactive constraints the column to cancel when inactive.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.