Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
Gecode::Int::MinDistance::Matching Class Reference
Independent matching-based objective upper bound. 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::MixNaryOnePropagator< 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, ViewArray< IntView > &x, IntView z, const IntDistance &d) |
| 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 | |
| Matching (Home home, ViewArray< IntView > &x, IntView z, const IntDistance &d0) | |
| Constructor for posting. | |
| Matching (Space &home, Matching &p) | |
| Constructor for cloning. | |
| bool | refuted (int *sites, int n, bool *matched, int threshold) const |
| Whether a greedy conflict matching refutes the threshold. | |
| Protected Member Functions inherited from Gecode::MixNaryOnePropagator< IntView, PC_INT_DOM, IntView, PC_INT_BND > | |
| MixNaryOnePropagator (Space &home, MixNaryOnePropagator &p) | |
| Constructor for cloning p. | |
| 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. | |
| Protected Attributes inherited from Gecode::MixNaryOnePropagator< IntView, PC_INT_DOM, IntView, PC_INT_BND > | |
| ViewArray< IntView > | x |
| Array of views. | |
| IntView | y |
| Single view. | |
Detailed Description
Independent matching-based objective upper bound.
Requires
#include <gecode/int/min-distance.hh>
Definition at line 190 of file min-distance.hh.
Constructor & Destructor Documentation
◆ Matching() [1/2]
|
inlineprotected |
◆ Matching() [2/2]
|
inlineprotected |
Member Function Documentation
◆ refuted()
|
inlineprotected |
◆ post()
|
inlinestatic |
◆ copy()
◆ cost()
|
inlinevirtual |
Cost function.
Reimplemented from Gecode::MixNaryOnePropagator< IntView, PC_INT_DOM, IntView, PC_INT_BND >.
◆ propagate()
|
inlinevirtual |
◆ dispose()
|
inlinevirtual |
Cancel subscriptions and dispose shared data.
Reimplemented from Gecode::MixNaryOnePropagator< IntView, PC_INT_DOM, IntView, PC_INT_BND >.
Member Data Documentation
◆ d
|
protected |
Shared distances.
Definition at line 194 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
