#include <brancher-merit.hpp>
Public Member Functions | |
MeritAFC (Space &home, const VarBranch &vb) | |
Constructor for initialization. | |
MeritAFC (Space &home, bool shared, MeritAFC &ma) | |
Constructor for cloning. | |
double | operator() (const Space &home, View x, int i) |
Return AFC as merit for view x at position i. | |
bool | notice (void) const |
Whether dispose must always be called (that is, notice is needed) | |
void | dispose (Space &home) |
Dispose view selection. | |
Protected Attributes | |
AFC | afc |
AFC information. |
Merit class for AFC.
Definition at line 106 of file brancher-merit.hpp.
Gecode::MeritAFC< View >::MeritAFC | ( | Space & | home, |
const VarBranch & | vb | ||
) | [inline] |
Constructor for initialization.
Definition at line 199 of file brancher-merit.hpp.
Gecode::MeritAFC< View >::MeritAFC | ( | Space & | home, |
bool | shared, | ||
MeritAFC< View > & | ma | ||
) | [inline] |
Constructor for cloning.
Definition at line 203 of file brancher-merit.hpp.
double Gecode::MeritAFC< View >::operator() | ( | const Space & | home, |
View | x, | ||
int | i | ||
) | [inline] |
Return AFC as merit for view x at position i.
Definition at line 210 of file brancher-merit.hpp.
bool Gecode::MeritAFC< View >::notice | ( | void | ) | const [inline] |
Whether dispose must always be called (that is, notice is needed)
Reimplemented from Gecode::MeritBase< View, double >.
Definition at line 215 of file brancher-merit.hpp.
void Gecode::MeritAFC< View >::dispose | ( | Space & | home | ) | [inline] |
Dispose view selection.
Reimplemented from Gecode::MeritBase< View, double >.
Definition at line 220 of file brancher-merit.hpp.
AFC Gecode::MeritAFC< View >::afc [protected] |
AFC information.
Definition at line 109 of file brancher-merit.hpp.