branch.hh
Go to the documentation of this file.
MeritBase(Space &home, const VarBranch< Var > &vb)
Definition merit.hpp:176
virtual NGL::Status status(const Space &home) const
Test the status of the no-good literal.
Definition ngl.cpp:62
virtual ExecStatus prune(Space &home)
Propagate the negation of the no-good literal.
Definition ngl.cpp:71
virtual NGL::Status status(const Space &home) const
Test the status of the no-good literal.
Definition ngl.cpp:43
virtual ExecStatus prune(Space &home)
Propagate the negation of the no-good literal.
Definition ngl.cpp:52
bool notice(void) const
Whether dispose must always be called (that is, notice is needed).
Definition merit.hpp:107
double operator()(const Space &home, SetView x, int i)
Return AFC over size as merit for view x at position i.
Definition merit.hpp:103
MeritAFCSize(Space &home, const VarBranch< Var > &vb)
Constructor for initialization.
Definition merit.hpp:97
bool notice(void) const
Whether dispose must always be called (that is, notice is needed).
Definition merit.hpp:128
MeritActionSize(Space &home, const VarBranch< Var > &vb)
Constructor for initialization.
Definition merit.hpp:118
double operator()(const Space &home, SetView x, int i)
Return action over size as merit for view x at position i.
Definition merit.hpp:124
double operator()(const Space &home, SetView x, int i)
Return CHB Q-score over size as merit for view x at position i.
Definition merit.hpp:145
bool notice(void) const
Whether dispose must always be called (that is, notice is needed).
Definition merit.hpp:149
MeritCHBSize(Space &home, const VarBranch< Var > &vb)
Constructor for initialization.
Definition merit.hpp:139
double operator()(const Space &home, SetView x, int i)
Return degree over size as merit for view x at position i.
Definition merit.hpp:90
MeritDegreeSize(Space &home, const VarBranch< Var > &vb)
Constructor for initialization.
Definition merit.hpp:84
MeritMax(Space &home, const VarBranch< Var > &vb)
Constructor for initialization.
Definition merit.hpp:57
int operator()(const Space &home, SetView x, int i)
Return maximum as merit for view x at position i.
Definition merit.hpp:63
MeritMin(Space &home, const VarBranch< Var > &vb)
Constructor for initialization.
Definition merit.hpp:44
int operator()(const Space &home, SetView x, int i)
Return minimum as merit for view x at position i.
Definition merit.hpp:50
MeritSize(Space &home, const VarBranch< Var > &vb)
Constructor for initialization.
Definition merit.hpp:72
unsigned int operator()(const Space &home, SetView x, int i)
Return size as merit for view x at position i.
Definition merit.hpp:78
NGL * ngl(Space &home, unsigned int a, View x, int n) const
Create no-good literal for alternative a.
Definition val-commit.hpp:77
void print(const Space &home, unsigned int a, SetView x, int i, int n, std::ostream &o) const
Print on o the alternative with view x at position i and value n.
Definition val-commit.hpp:84
ValCommitExc(Space &home, const ValBranch< Var > &vb)
Constructor for initialization.
Definition val-commit.hpp:67
ModEvent commit(Space &home, unsigned int a, SetView x, int i, int n)
Commit view x at position i to value n for alternative a.
Definition val-commit.hpp:73
ModEvent commit(Space &home, unsigned int a, SetView x, int i, int n)
Commit view x at position i to value n for alternative a.
Definition val-commit.hpp:49
ValCommitInc(Space &home, const ValBranch< Var > &vb)
Constructor for initialization.
Definition val-commit.hpp:43
void print(const Space &home, unsigned int a, SetView x, int i, int n, std::ostream &o) const
Print on o the alternative with view x at position i and value n.
Definition val-commit.hpp:60
NGL * ngl(Space &home, unsigned int a, View x, int n) const
Create no-good literal for alternative a.
Definition val-commit.hpp:53
int val(const Space &home, SetView x, int i)
Return value of view x at position i.
Definition val-sel.hpp:61
ValSelMax(Space &home, const ValBranch< Var > &vb)
Constructor for initialization.
Definition val-sel.hpp:55
ValSelMed(Space &home, const ValBranch< Var > &vb)
Constructor for initialization.
Definition val-sel.hpp:69
int val(const Space &home, SetView x, int i)
Return value of view x at position i.
Definition val-sel.hpp:75
ValSelMin(Space &home, const ValBranch< Var > &vb)
Constructor for initialization.
Definition val-sel.hpp:43
int val(const Space &home, SetView x, int i)
Return value of view x at position i.
Definition val-sel.hpp:49
bool notice(void) const
Whether dispose must always be called (that is, notice is needed).
Definition val-sel.hpp:112
ValSelRnd(Space &home, const ValBranch< Var > &vb)
Constructor for initialization.
Definition val-sel.hpp:93
int val(const Space &home, SetView x, int i)
Return value of view x at position i.
Definition val-sel.hpp:100
ValCommit(Space &home, const ValBranch< Var > &vb)
Definition val-commit.hpp:101
ValSel(Space &home, const ValBranch< Var > &vb)
Definition val-sel.hpp:100
ViewValNGL(Space &home, SetView x, int n)
Definition view-val.hpp:183
Integer branchers.
ViewSel< IntView > * viewsel(Space &home, const IntVarBranch &ivb)
Return view selectors for integer views.
Definition view-sel.cpp:39
ValSelCommitBase< IntView, int > * valselcommit(Space &home, const IntValBranch &ivb)
Return value and commit for integer views.
Definition val-sel-commit.cpp:39
Set branchings
Gecode toplevel namespace
