OR-Tools  8.2
VariablesAssignment

Detailed Description

Definition at line 122 of file sat_base.h.

Public Member Functions

 VariablesAssignment ()
 
 VariablesAssignment (int num_variables)
 
void Resize (int num_variables)
 
void AssignFromTrueLiteral (Literal literal)
 
void UnassignLiteral (Literal literal)
 
bool LiteralIsFalse (Literal literal) const
 
bool LiteralIsTrue (Literal literal) const
 
bool LiteralIsAssigned (Literal literal) const
 
bool VariableIsAssigned (BooleanVariable var) const
 
Literal GetTrueLiteralForAssignedVariable (BooleanVariable var) const
 
int NumberOfVariables () const
 

Constructor & Destructor Documentation

◆ VariablesAssignment() [1/2]

VariablesAssignment ( )
inline

Definition at line 124 of file sat_base.h.

◆ VariablesAssignment() [2/2]

VariablesAssignment ( int  num_variables)
inlineexplicit

Definition at line 125 of file sat_base.h.

Member Function Documentation

◆ AssignFromTrueLiteral()

void AssignFromTrueLiteral ( Literal  literal)
inline

Definition at line 133 of file sat_base.h.

◆ GetTrueLiteralForAssignedVariable()

Literal GetTrueLiteralForAssignedVariable ( BooleanVariable  var) const
inline

Definition at line 165 of file sat_base.h.

◆ LiteralIsAssigned()

bool LiteralIsAssigned ( Literal  literal) const
inline

Definition at line 153 of file sat_base.h.

◆ LiteralIsFalse()

bool LiteralIsFalse ( Literal  literal) const
inline

Definition at line 147 of file sat_base.h.

◆ LiteralIsTrue()

bool LiteralIsTrue ( Literal  literal) const
inline

Definition at line 150 of file sat_base.h.

◆ NumberOfVariables()

int NumberOfVariables ( ) const
inline

Definition at line 170 of file sat_base.h.

◆ Resize()

void Resize ( int  num_variables)
inline

Definition at line 126 of file sat_base.h.

◆ UnassignLiteral()

void UnassignLiteral ( Literal  literal)
inline

Definition at line 140 of file sat_base.h.

◆ VariableIsAssigned()

bool VariableIsAssigned ( BooleanVariable  var) const
inline

Definition at line 158 of file sat_base.h.


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