Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set
// doxy/ or-tools/ src/ constraint_solver/

operations_research::CastConstraint Class Reference

Cast constraints are special channeling constraints the goal of which is to keep a variable in sync with an expression. More...

#include <constraint_solver.h>

Inheritance diagram for operations_research::CastConstraint:

operations_research::Constraint operations_research::PropagationBaseObject operations_research::BaseObject

List of all members.

Public Member Functions

 CastConstraint (Solver *const solver, IntVar *const target_var)
virtual ~CastConstraint ()
IntVartarget_var () const

Protected Attributes

IntVar *const target_var_


Detailed Description

Cast constraints are special channeling constraints the goal of which is to keep a variable in sync with an expression.

They are created internally when Var() is called on a subclass of IntExpr.

Definition at line 3471 of file constraint_solver.h.


Constructor & Destructor Documentation

operations_research::CastConstraint::CastConstraint ( Solver *const   solver,
IntVar *const   target_var 
) [inline]

Definition at line 3473 of file constraint_solver.h.

virtual operations_research::CastConstraint::~CastConstraint (  )  [inline, virtual]

Definition at line 3477 of file constraint_solver.h.


Member Function Documentation

IntVar* operations_research::CastConstraint::target_var (  )  const [inline]

Definition at line 3479 of file constraint_solver.h.


Member Data Documentation

Definition at line 3482 of file constraint_solver.h.


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