Definition at line 58 of file fault.cpp.
◆ ThrowingPropagator() [1/2]
| Test::Fault::ThrowingPropagator::ThrowingPropagator |
( |
Home | home | ) |
|
|
inlineprotected |
◆ ThrowingPropagator() [2/2]
| Test::Fault::ThrowingPropagator::ThrowingPropagator |
( |
Space & | home, |
|
|
ThrowingPropagator & | p ) |
|
inlineprotected |
◆ post()
| void Test::Fault::ThrowingPropagator::post |
( |
Home | home | ) |
|
|
inlinestatic |
◆ copy()
| virtual Actor * Test::Fault::ThrowingPropagator::copy |
( |
Space & | home | ) |
|
|
inlinevirtual |
◆ cost()
◆ reschedule()
| virtual void Test::Fault::ThrowingPropagator::reschedule |
( |
Space & | home | ) |
|
|
inlinevirtual |
Schedule function.
The function is executed when a propagator is enabled again. Note that a propagator should be scheduled with the right modification event delta and should only be scheduled if it is legal to execute the propagator.
Implements Gecode::Propagator.
Definition at line 75 of file fault.cpp.
◆ propagate()
Propagation function.
The propagation function must return an execution status as follows:
- ES_FAILED: the propagator has detected failure
- ES_NOFIX: the propagator has done propagation
- ES_FIX: the propagator has done propagation and has computed a fixpoint. That is, running the propagator immediately again will do nothing.
Apart from the above values, a propagator can return the result from calling one of the functions defined by a space:
- ES_SUBSUMED: the propagator is subsumed and has been already deleted.
- ES_NOFIX_PARTIAL: the propagator has consumed some of its propagation events.
- ES_FIX_PARTIAL: the propagator has consumed some of its propagation events and with respect to these events is at fixpoint For more details, see the individual functions.
Implements Gecode::Propagator.
Definition at line 76 of file fault.cpp.
◆ dispose()
| virtual size_t Test::Fault::ThrowingPropagator::dispose |
( |
Space & | home | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: