DotNet Reference

.Net Reference

CpSolverSolutionCallback

Detailed Description

Parent class to create a callback called at each solution.

Definition at line 25 of file SearchHelpers.cs.

Public Member Functions

long Value (LinearExpr e)
 Returns the value of a linear expression in the current solution. More...
 
long Value (IntVar intVar)
 Returns the value of an integer variable in the current solution. More...
 
Boolean BooleanValue (ILiteral literal)
 Returns the Boolean value of a literal in the current solution. More...
 

Member Function Documentation

◆ BooleanValue()

Boolean BooleanValue ( ILiteral  literal)
inline

Returns the Boolean value of a literal in the current solution.

Definition at line 104 of file SearchHelpers.cs.

◆ Value() [1/2]

long Value ( IntVar  intVar)
inline

Returns the value of an integer variable in the current solution.

Definition at line 94 of file SearchHelpers.cs.

◆ Value() [2/2]

long Value ( LinearExpr  e)
inline

Returns the value of a linear expression in the current solution.

Definition at line 32 of file SearchHelpers.cs.


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