Merit class for maximum of set view.
More...
#include <gecode/set/branch.hh>
|
| typedef SetView | View |
| | View type.
|
| typedef View::VarType | Var |
| | Corresponding variable type.
|
| typedef int | Val |
| | Type of merit.
|
Merit class for maximum of set view.
Requires
Definition at line 86 of file branch.hh.
◆ MeritMax() [1/2]
| Gecode::Set::Branch::MeritMax::MeritMax |
( |
Space & | home, |
|
|
const VarBranch< Var > & | vb ) |
|
inline |
Constructor for initialization.
Definition at line 57 of file merit.hpp.
◆ MeritMax() [2/2]
| Gecode::Set::Branch::MeritMax::MeritMax |
( |
Space & | home, |
|
|
MeritMax & | m ) |
|
inline |
Constructor for cloning.
Definition at line 60 of file merit.hpp.
◆ operator()()
| int Gecode::Set::Branch::MeritMax::operator() |
( |
const Space & | home, |
|
|
SetView | x, |
|
|
int | i ) |
|
inline |
Return maximum as merit for view x at position i.
Definition at line 63 of file merit.hpp.
The documentation for this class was generated from the following files: