DotNet Reference

.Net Reference

ObjectiveSolutionPrinter

Detailed Description

A specialized solution printer.

Definition at line 125 of file SearchHelpers.cs.

Public Member Functions

 ObjectiveSolutionPrinter ()
 
override void OnSolutionCallback ()
 
int solutionCount ()
 
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...
 

Constructor & Destructor Documentation

◆ ObjectiveSolutionPrinter()

Definition at line 130 of file SearchHelpers.cs.

Member Function Documentation

◆ BooleanValue()

Boolean BooleanValue ( ILiteral  literal)
inlineinherited

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

Definition at line 104 of file SearchHelpers.cs.

◆ OnSolutionCallback()

override void OnSolutionCallback ( )
inline

Definition at line 135 of file SearchHelpers.cs.

◆ solutionCount()

int solutionCount ( )

◆ Value() [1/2]

long Value ( IntVar  intVar)
inlineinherited

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)
inlineinherited

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: