Infrared
Loading...
Searching...
No Matches
infrared.infrared.WeightedFunction Class Reference

Function of a constraint network. More...

Inheritance diagram for infrared.infrared.WeightedFunction:

Public Member Functions

 __init__ (self, variables)
 
 value (self)
 
 vars (self)
 

Protected Attributes

 _vars
 
 _weight
 

Properties

 weight = property
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

infrared.infrared.WeightedFunction.__init__ (   self,
  variables 
)

Member Function Documentation

◆ value()

infrared.infrared.WeightedFunction.value (   self)

◆ vars()

infrared.infrared.WeightedFunction.vars (   self)

Member Data Documentation

◆ _vars

infrared.infrared.WeightedFunction._vars
protected

◆ _weight

infrared.infrared.WeightedFunction._weight
protected

Property Documentation

◆ weight

infrared.infrared.WeightedFunction.weight = property
static

The documentation for this class was generated from the following file: