Google OR-Tools v9.14
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 277 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 278 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 280 of file constraint_solver.h.

Member Data Documentation

◆ expression

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

Definition at line 283 of file constraint_solver.h.

◆ maintainer

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

Definition at line 284 of file constraint_solver.h.

◆ variable

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

Definition at line 282 of file constraint_solver.h.


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