Functions | |
void | Gecode::circuit (Home home, const IntVarArgs &x, IntConLevel icl=ICL_DEF) |
Post propagator such that x forms a circuit. More... | |
void | Gecode::circuit (Home home, int offset, const IntVarArgs &x, IntConLevel icl=ICL_DEF) |
Post propagator such that x forms a circuit. More... | |
void | Gecode::circuit (Home home, const IntArgs &c, const IntVarArgs &x, const IntVarArgs &y, IntVar z, IntConLevel icl=ICL_DEF) |
Post propagator such that x forms a circuit with costs y and z. More... | |
void | Gecode::circuit (Home home, const IntArgs &c, int offset, const IntVarArgs &x, const IntVarArgs &y, IntVar z, IntConLevel icl=ICL_DEF) |
Post propagator such that x forms a circuit with costs y and z. More... | |
void | Gecode::circuit (Home home, const IntArgs &c, const IntVarArgs &x, IntVar z, IntConLevel icl=ICL_DEF) |
Post propagator such that x forms a circuit with cost z. More... | |
void | Gecode::circuit (Home home, const IntArgs &c, int offset, const IntVarArgs &x, IntVar z, IntConLevel icl=ICL_DEF) |
Post propagator such that x forms a circuit with cost z. More... | |
void | Gecode::path (Home home, const IntVarArgs &x, IntVar s, IntVar e, IntConLevel icl=ICL_DEF) |
Post propagator such that x forms a Hamiltonian path. More... | |
void | Gecode::path (Home home, int offset, const IntVarArgs &x, IntVar s, IntVar e, IntConLevel icl=ICL_DEF) |
Post propagator such that x forms a Hamiltonian path. More... | |
void | Gecode::path (Home home, const IntArgs &c, const IntVarArgs &x, IntVar s, IntVar e, const IntVarArgs &y, IntVar z, IntConLevel icl=ICL_DEF) |
Post propagator such that x forms a Hamiltonian path with costs y and z. More... | |
void | Gecode::path (Home home, const IntArgs &c, int offset, const IntVarArgs &x, IntVar s, IntVar e, const IntVarArgs &y, IntVar z, IntConLevel icl=ICL_DEF) |
Post propagator such that x forms a Hamiltonian path with costs y and z. More... | |
void | Gecode::path (Home home, const IntArgs &c, const IntVarArgs &x, IntVar s, IntVar e, IntVar z, IntConLevel icl=ICL_DEF) |
Post propagator such that x forms a Hamiltonian path with cost z. More... | |
void | Gecode::path (Home home, const IntArgs &c, int offset, const IntVarArgs &x, IntVar s, IntVar e, IntVar z, IntConLevel icl=ICL_DEF) |
Post propagator such that x forms a Hamiltonian path with cost z. More... | |
void Gecode::circuit | ( | Home | home, |
const IntVarArgs & | x, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator such that x forms a circuit.
x forms a circuit if the graph with edges where
has a single cycle covering all nodes.
Supports domain (icl = ICL_DOM) and value propagation (all other values for icl), where this refers to whether value or domain consistent distinct in enforced on x.
Throws the following exceptions:
Definition at line 77 of file circuit.cpp.
void Gecode::circuit | ( | Home | home, |
int | offset, | ||
const IntVarArgs & | x, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator such that x forms a circuit.
x forms a circuit if the graph with edges where
has a single cycle covering all nodes.
Supports domain (icl = ICL_DOM) and value propagation (all other values for icl), where this refers to whether value or domain consistent distinct in enforced on x.
Throws the following exceptions:
Definition at line 45 of file circuit.cpp.
void Gecode::circuit | ( | Home | home, |
const IntArgs & | c, | ||
const IntVarArgs & | x, | ||
const IntVarArgs & | y, | ||
IntVar | z, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator such that x forms a circuit with costs y and z.
x forms a circuit if the graph with edges where
has a single cycle covering all nodes. The integer array c gives the costs of all possible edges where
is the cost of the edge
. The variable z is the cost of the entire circuit. The variables y define the cost of the edge in x: that is, if
then
.
Supports domain (icl = ICL_DOM) and value propagation (all other values for icl), where this refers to whether value or domain consistent distinct in enforced on x for circuit.
Throws the following exceptions:
Definition at line 106 of file circuit.cpp.
void Gecode::circuit | ( | Home | home, |
const IntArgs & | c, | ||
int | offset, | ||
const IntVarArgs & | x, | ||
const IntVarArgs & | y, | ||
IntVar | z, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator such that x forms a circuit with costs y and z.
x forms a circuit if the graph with edges where
has a single cycle covering all nodes. The integer array c gives the costs of all possible edges where
is the cost of the edge
. The variable z is the cost of the entire circuit. The variables y define the cost of the edge in x: that is, if
then
.
Supports domain (icl = ICL_DOM) and value propagation (all other values for icl), where this refers to whether value or domain consistent distinct in enforced on x for circuit.
Throws the following exceptions:
Definition at line 82 of file circuit.cpp.
void Gecode::circuit | ( | Home | home, |
const IntArgs & | c, | ||
const IntVarArgs & | x, | ||
IntVar | z, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator such that x forms a circuit with cost z.
x forms a circuit if the graph with edges where
has a single cycle covering all nodes. The integer array c gives the costs of all possible edges where
is the cost of the edge
. The variable z is the cost of the entire circuit.
Supports domain (icl = ICL_DOM) and value propagation (all other values for icl), where this refers to whether value or domain consistent distinct in enforced on x for circuit.
Throws the following exceptions:
Definition at line 121 of file circuit.cpp.
void Gecode::circuit | ( | Home | home, |
const IntArgs & | c, | ||
int | offset, | ||
const IntVarArgs & | x, | ||
IntVar | z, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator such that x forms a circuit with cost z.
x forms a circuit if the graph with edges where
has a single cycle covering all nodes. The integer array c gives the costs of all possible edges where
is the cost of the edge
. The variable z is the cost of the entire circuit.
Supports domain (icl = ICL_DOM) and value propagation (all other values for icl), where this refers to whether value or domain consistent distinct in enforced on x for circuit.
Throws the following exceptions:
Definition at line 112 of file circuit.cpp.
void Gecode::path | ( | Home | home, |
const IntVarArgs & | x, | ||
IntVar | s, | ||
IntVar | e, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator such that x forms a Hamiltonian path.
x forms a Hamiltonian path if the graph with edges where
visits all nodes exactly once. The path starts at node s and the successor of the last node e is equal to
.
Supports domain (icl = ICL_DOM) and value propagation (all other values for icl), where this refers to whether value or domain consistent distinct in enforced on x.
Throws the following exceptions:
Definition at line 173 of file circuit.cpp.
void Gecode::path | ( | Home | home, |
int | offset, | ||
const IntVarArgs & | x, | ||
IntVar | s, | ||
IntVar | e, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator such that x forms a Hamiltonian path.
x forms a Hamiltonian path if the graph with edges where
visits all nodes exactly once. The path starts at node s and the successor of the last node e is equal to
.
Supports domain (icl = ICL_DOM) and value propagation (all other values for icl), where this refers to whether value or domain consistent distinct in enforced on x.
Throws the following exceptions:
Definition at line 128 of file circuit.cpp.
void Gecode::path | ( | Home | home, |
const IntArgs & | c, | ||
const IntVarArgs & | x, | ||
IntVar | s, | ||
IntVar | e, | ||
const IntVarArgs & | y, | ||
IntVar | z, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator such that x forms a Hamiltonian path with costs y and z.
x forms a Hamiltonian path if the graph with edges where
visits all nodes exactly once. The path starts at node s and the successor of the last node e is equal to
. The integer array c gives the costs of all possible edges where
is the cost of the edge
. The variable z is the cost of the entire path. The variables y define the cost of the edge in x: that is, if
then
.
Supports domain (icl = ICL_DOM) and value propagation (all other values for icl), where this refers to whether value or domain consistent distinct in enforced on x for circuit.
Throws the following exceptions:
Definition at line 205 of file circuit.cpp.
void Gecode::path | ( | Home | home, |
const IntArgs & | c, | ||
int | offset, | ||
const IntVarArgs & | x, | ||
IntVar | s, | ||
IntVar | e, | ||
const IntVarArgs & | y, | ||
IntVar | z, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator such that x forms a Hamiltonian path with costs y and z.
x forms a Hamiltonian path if the graph with edges where
visits all nodes exactly once. The path starts at node s and the successor of the last node e is equal to
. The integer array c gives the costs of all possible edges where
is the cost of the edge
. The variable z is the cost of the entire path. The variables y define the cost of the edge in x: that is, if
then
.
Supports domain (icl = ICL_DOM) and value propagation (all other values for icl), where this refers to whether value or domain consistent distinct in enforced on x for circuit.
Throws the following exceptions:
Definition at line 179 of file circuit.cpp.
void Gecode::path | ( | Home | home, |
const IntArgs & | c, | ||
const IntVarArgs & | x, | ||
IntVar | s, | ||
IntVar | e, | ||
IntVar | z, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator such that x forms a Hamiltonian path with cost z.
x forms a Hamiltonian path if the graph with edges where
visits all nodes exactly once. The path starts at node s and the successor of the last node e is equal to
. The integer array c gives the costs of all possible edges where
is the cost of the edge
. The variable z is the cost of the entire path.
Supports domain (icl = ICL_DOM) and value propagation (all other values for icl), where this refers to whether value or domain consistent distinct in enforced on x for circuit.
Throws the following exceptions:
Definition at line 221 of file circuit.cpp.
void Gecode::path | ( | Home | home, |
const IntArgs & | c, | ||
int | offset, | ||
const IntVarArgs & | x, | ||
IntVar | s, | ||
IntVar | e, | ||
IntVar | z, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator such that x forms a Hamiltonian path with cost z.
x forms a Hamiltonian path if the graph with edges where
visits all nodes exactly once. The path starts at node s and the successor of the last node e is equal to
. The integer array c gives the costs of all possible edges where
is the cost of the edge
. The variable z is the cost of the entire circuit.
Supports domain (icl = ICL_DOM) and value propagation (all other values for icl), where this refers to whether value or domain consistent distinct in enforced on x for circuit.
Throws the following exceptions:
Definition at line 212 of file circuit.cpp.