Single forward-bound actor with domain advisors and pair witnesses. More...
#include <gecode/int/min-distance.hh>
Classes | |
| class | XAdvisor |
| Domain advisor for a selected position. More... | |
Public Member Functions | |
| virtual Actor * | copy (Space &home) |
| Copy propagator during cloning. | |
| virtual PropCost | cost (const Space &, const ModEventDelta &) const |
| Cost function. | |
| virtual void | reschedule (Space &home) |
| Reschedule propagation. | |
| virtual ExecStatus | advise (Space &, Advisor &a, const Delta &) |
| Record a changed selected-site domain. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &) |
| Perform propagation. | |
| virtual size_t | dispose (Space &home) |
| Cancel subscriptions and dispose stored data. | |
| ModEventDelta | modeventdelta (void) const |
| Return the modification event delta. | |
| 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, ViewArray< IntView > &x, IntView z, const IntDistance &d, const IntSharedArray &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 | |
| AdvisorForward (Home home, ViewArray< IntView > &x0, IntView z0, const IntDistance &d0, const IntSharedArray &r0) | |
| Constructor for posting. | |
| AdvisorForward (Space &home, AdvisorForward &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 | |
| ViewArray< IntView > | x |
| Selected sites. | |
| IntView | z |
| Minimum distance. | |
| IntDistance | d |
| Shared distances. | |
| IntSharedArray | r |
| Shared pair requirements. | |
| Council< XAdvisor > | council |
| Domain advisors. | |
| PairCache * | cache |
| Pair maxima and witnesses. | |
| Support::BitSetBase | dirty |
| Positions changed since the last fixpoint. | |
| int | last_min |
| Objective lower bound at the last fixpoint. | |
| bool | z_shared |
| Whether the objective shares a selected-site variable. | |
Detailed Description
Single forward-bound actor with domain advisors and pair witnesses.
Requires
Definition at line 131 of file min-distance.hh.
Constructor & Destructor Documentation
◆ AdvisorForward() [1/2]
|
inlineprotected |
◆ AdvisorForward() [2/2]
|
inlineprotected |
Member Function Documentation
◆ post()
|
inlinestatic |
◆ copy()
◆ cost()
|
inlinevirtual |
◆ reschedule()
|
inlinevirtual |
◆ advise()
|
inlinevirtual |
Record a changed selected-site domain.
Reimplemented from Gecode::Propagator.
◆ propagate()
|
inlinevirtual |
◆ dispose()
|
inlinevirtual |
Cancel subscriptions and dispose stored data.
Reimplemented from Gecode::Actor.
Member Data Documentation
◆ x
Selected sites.
Definition at line 144 of file min-distance.hh.
◆ z
|
protected |
Minimum distance.
Definition at line 146 of file min-distance.hh.
◆ d
|
protected |
Shared distances.
Definition at line 148 of file min-distance.hh.
◆ r
|
protected |
Shared pair requirements.
Definition at line 150 of file min-distance.hh.
◆ council
Domain advisors.
Definition at line 152 of file min-distance.hh.
◆ cache
|
protected |
Pair maxima and witnesses.
Definition at line 154 of file min-distance.hh.
◆ dirty
|
protected |
Positions changed since the last fixpoint.
Definition at line 156 of file min-distance.hh.
◆ last_min
|
protected |
Objective lower bound at the last fixpoint.
Definition at line 158 of file min-distance.hh.
◆ z_shared
|
protected |
Whether the objective shares a selected-site variable.
Definition at line 160 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
