Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::Solver::IntegerCastInfo Struct Reference

#include <constraint_solver.h>

Public Member Functions

 IntegerCastInfo ()
 
 IntegerCastInfo (IntVar *const v, IntExpr *const e, Constraint *const c)
 

Public Attributes

IntVarvariable
 
IntExprexpression
 
Constraintmaintainer
 

Detailed Description

Holds semantic information stating that the 'expression' has been cast into 'variable' using the Var() method, and that 'maintainer' is responsible for maintaining the equality between 'variable' and 'expression'.

Definition at line 272 of file constraint_solver.h.

Constructor & Destructor Documentation

◆ IntegerCastInfo() [1/2]

operations_research::Solver::IntegerCastInfo::IntegerCastInfo ( )
inline

Definition at line 273 of file constraint_solver.h.

◆ IntegerCastInfo() [2/2]

operations_research::Solver::IntegerCastInfo::IntegerCastInfo ( IntVar *const v,
IntExpr *const e,
Constraint *const c )
inline

Definition at line 275 of file constraint_solver.h.

Member Data Documentation

◆ expression

IntExpr* operations_research::Solver::IntegerCastInfo::expression

Definition at line 278 of file constraint_solver.h.

◆ maintainer

Constraint* operations_research::Solver::IntegerCastInfo::maintainer

Definition at line 279 of file constraint_solver.h.

◆ variable

IntVar* operations_research::Solver::IntegerCastInfo::variable

Definition at line 277 of file constraint_solver.h.


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