Definition at line 156 of file fault.cpp.
◆ ThrowingBrancher() [1/2]
| Test::Fault::ThrowingBrancher::ThrowingBrancher |
( |
Home | home | ) |
|
|
inlineprotected |
◆ ThrowingBrancher() [2/2]
| Test::Fault::ThrowingBrancher::ThrowingBrancher |
( |
Space & | home, |
|
|
ThrowingBrancher & | b ) |
|
inlineprotected |
◆ post()
| void Test::Fault::ThrowingBrancher::post |
( |
Home | home | ) |
|
|
inlinestatic |
◆ status()
| virtual bool Test::Fault::ThrowingBrancher::status |
( |
const Space & | home | ) |
const |
|
inlinevirtual |
Check status of brancher, return true if alternatives left.
This method is called when Space::status is called, it determines whether to continue branching with this brancher or move on to the (possibly) next brancher.
Implements Gecode::Brancher.
Definition at line 168 of file fault.cpp.
◆ choice() [1/2]
| virtual const Choice * Test::Fault::ThrowingBrancher::choice |
( |
Space & | home | ) |
|
|
inlinevirtual |
Return choice.
Note that this method relies on the fact that it is called immediately after a previous call to status. Moreover, the member function can only be called once.
Implements Gecode::Brancher.
Definition at line 171 of file fault.cpp.
◆ choice() [2/2]
| virtual const Choice * Test::Fault::ThrowingBrancher::choice |
( |
const Space & | home, |
|
|
Archive & | e ) |
|
inlinevirtual |
◆ commit()
| virtual ExecStatus Test::Fault::ThrowingBrancher::commit |
( |
Space & | home, |
|
|
const Choice & | c, |
|
|
unsigned int | a ) |
|
inlinevirtual |
Commit for choice c and alternative a.
The current brancher in the space home performs a commit from the information provided by the choice c and the alternative a.
Implements Gecode::Brancher.
Definition at line 177 of file fault.cpp.
◆ print()
| virtual void Test::Fault::ThrowingBrancher::print |
( |
const Space & | home, |
|
|
const Choice & | c, |
|
|
unsigned int | a, |
|
|
std::ostream & | o ) const |
|
inlinevirtual |
Print branch for choice c and alternative a.
Prints an explanation of the alternative a of choice c on the stream o.
Reimplemented from Gecode::Brancher.
Definition at line 181 of file fault.cpp.
◆ copy()
| virtual Actor * Test::Fault::ThrowingBrancher::copy |
( |
Space & | home | ) |
|
|
inlinevirtual |
◆ dispose()
| virtual size_t Test::Fault::ThrowingBrancher::dispose |
( |
Space & | home | ) |
|
|
inlinevirtual |
◆ done
| bool Test::Fault::ThrowingBrancher::done |
|
protected |
The documentation for this class was generated from the following file: