Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
Gecode::Int::MinDistance::Pair Class Reference
Forward-bound actor for one selected-position pair. More...
#include <gecode/int/min-distance.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home) |
| Copy propagator during cloning. | |
| virtual PropCost | cost (const Space &, const ModEventDelta &) const |
| Cost function. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &) |
| Perform propagation. | |
| virtual size_t | dispose (Space &home) |
| Cancel subscriptions and dispose shared data. | |
| Public Member Functions inherited from Gecode::MixTernaryPropagator< IntView, PC_INT_DOM, IntView, PC_INT_DOM, IntView, PC_INT_BND > | |
| virtual void | reschedule (Space &home) |
| Schedule function. | |
| ModEventDelta | modeventdelta (void) const |
| Return the modification event delta. | |
| virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
| Advise function. | |
| virtual void | advise (Space &home, Advisor &a) |
| Run advisor a to be run on failure in failed space. | |
| double | afc (void) const |
| Return the accumulated failure count. | |
| unsigned int | id (void) const |
| Return propagator id. | |
| PropagatorGroup | group (void) const |
| Return group propagator belongs to. | |
| void | group (PropagatorGroup g) |
| Add propagator to group g. | |
| bool | disabled (void) const |
| Whether propagator is currently disabled. | |
| virtual | ~Actor (void) |
| To avoid warnings. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, IntView x0, IntView x1, IntView x2, const IntDistance &d, int r) |
| Post propagator. | |
| static void * | operator new (size_t s, Space &home) |
| Allocate memory from space. | |
| static void | operator delete (void *p, Space &home) |
| No-op for exceptions. | |
| static void * | operator new (size_t s) |
| Not used. | |
| static void | operator delete (void *p) |
| Not used. | |
Protected Member Functions | |
| Pair (Home home, IntView x0, IntView y0, IntView z0, const IntDistance &d0, int r0) | |
| Constructor for posting. | |
| Pair (Space &home, Pair &p) | |
| Constructor for cloning. | |
| Protected Member Functions inherited from Gecode::MixTernaryPropagator< IntView, PC_INT_DOM, IntView, PC_INT_DOM, IntView, PC_INT_BND > | |
| MixTernaryPropagator (Space &home, MixTernaryPropagator &p) | |
| Constructor for cloning. | |
| Protected Member Functions inherited from Gecode::Propagator | |
| Propagator (Home home) | |
| Constructor for posting. | |
| Propagator (Space &home, Propagator &p) | |
| Constructor for cloning p. | |
| Propagator * | fwd (void) const |
| Return forwarding pointer during copying. | |
| Kernel::GPI::Info & | gpi (void) |
| Provide access to propagator information. | |
Protected Attributes | |
| IntDistance | d |
| Shared distances. | |
| int | r |
| Inclusive pair requirement. | |
| Protected Attributes inherited from Gecode::MixTernaryPropagator< IntView, PC_INT_DOM, IntView, PC_INT_DOM, IntView, PC_INT_BND > | |
| IntView | x0 |
| View of type View0. | |
| IntView | x1 |
| View of type View1. | |
| IntView | x2 |
| View of type View2. | |
Detailed Description
Forward-bound actor for one selected-position pair.
Requires
#include <gecode/int/min-distance.hh>
Definition at line 66 of file min-distance.hh.
Constructor & Destructor Documentation
◆ Pair() [1/2]
|
inlineprotected |
◆ Pair() [2/2]
|
inlineprotected |
Member Function Documentation
◆ post()
|
inlinestatic |
◆ copy()
◆ cost()
|
inlinevirtual |
Cost function.
Reimplemented from Gecode::MixTernaryPropagator< IntView, PC_INT_DOM, IntView, PC_INT_DOM, IntView, PC_INT_BND >.
◆ propagate()
|
inlinevirtual |
◆ dispose()
|
inlinevirtual |
Cancel subscriptions and dispose shared data.
Reimplemented from Gecode::MixTernaryPropagator< IntView, PC_INT_DOM, IntView, PC_INT_DOM, IntView, PC_INT_BND >.
Member Data Documentation
◆ d
|
protected |
Shared distances.
Definition at line 71 of file min-distance.hh.
◆ r
|
protected |
Inclusive pair requirement.
Definition at line 73 of file min-distance.hh.
The documentation for this class was generated from the following files:
- gecode/int/min-distance.hh
- gecode/int/min-distance/prop.hpp
