C++ Reference: class VariablesAssignment
Note: This documentation is automatically generated.
Holds the current variable assignment of the solver. Each variable can be unassigned or be assigned to true or false.Method | |
---|---|
AssignFromTrueLiteral | Return type: Arguments: Makes the given literal true by assigning its underlying variable to either true or false depending on the literal sign. This can only be called on an unassigned variable. |
GetTrueLiteralForAssignedVariable | Return type: Arguments: Returns the literal of the given variable that is assigned to true. That is, depending on the variable, it can be the positive literal or the negative one. Only call this on an assigned variable. |
LiteralIsAssigned | Return type: Arguments: |
LiteralIsFalse | Return type: Arguments: Literal getters. Note that both can be false, in which case the corresponding variable is not assigned. |
LiteralIsTrue | Return type: Arguments: |
NumberOfVariables | Return type: |
Resize | Return type: Arguments: |
UnassignLiteral | Return type: Arguments: Unassign the variable corresponding to the given literal. This can only be called on an assigned variable. |
VariableIsAssigned | Return type: Arguments: Returns true iff the given variable is assigned. |
VariablesAssignment | |
VariablesAssignment | Return type: Arguments: |