Darwin  1.10(beta)
Public Member Functions | List of all members
drwnPartialAssignment Class Reference

defines an assignment to a subset of the variables More...

Inheritance diagram for drwnPartialAssignment:

Public Member Functions

 drwnPartialAssignment ()
 construct an empty partial assignment
 
 drwnPartialAssignment (const drwnFullAssignment &a)
 construct a partial assignment from a full assignment (values of -1 in the full assignment are ignored)
 
 drwnPartialAssignment (const drwnFullAssignment &a, const drwnClique &c)
 construct a partial assignment from a full assignment over a subset of the variables
 
 drwnPartialAssignment (const vector< int > &vars, const drwnLocalAssignment &vals)
 construct a partial assignment from a partial assignment expressed using a vector of variables and a vector of values (drwnLocalAssignment)
 
drwnClique getClique () const
 return the clique of variables over which the partial assignment is defined
 
drwnLocalAssignment toLocalAssignment (const vector< int > &vars) const
 convert a partial assignment to a local assignment (missing values are assigned -1)
 
drwnFullAssignment toFullAssignment () const
 convert a partial assignment to a full assignment (missing values are assigned -1)
 
 operator drwnFullAssignment () const
 typecast a partial assignment to a full assignment (missing values are assigned -1)
 

Detailed Description

defines an assignment to a subset of the variables


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