|
Infrared
|
Function of a constraint network. More...

Public Member Functions | |
| __init__ (self, variables) | |
| value (self) | |
| vars (self) | |
Protected Attributes | |
| _vars | |
| _weight | |
Properties | |
| weight = property | |
Function of a constraint network.
Has features weight and variables; their value depends on assignment to its variables.
It is 'translated' to a Function of infrared by FunctionAdaptors.
| infrared.infrared.WeightedFunction.__init__ | ( | self, | |
| variables | |||
| ) |
| infrared.infrared.WeightedFunction.value | ( | self | ) |
| infrared.infrared.WeightedFunction.vars | ( | self | ) |
|
protected |
|
protected |
|
static |