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

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 265 of file constraint_solver.h.

#include <constraint_solver.h>

Public Member Functions

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

Public Attributes

IntVarvariable
IntExprexpression
Constraintmaintainer

Constructor & Destructor Documentation

◆ IntegerCastInfo() [1/2]

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

Definition at line 266 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 268 of file constraint_solver.h.

Member Data Documentation

◆ expression

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

Definition at line 271 of file constraint_solver.h.

◆ maintainer

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

Definition at line 272 of file constraint_solver.h.

◆ variable

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

Definition at line 270 of file constraint_solver.h.


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