Public Member Functions |
| | LqBin (Space &home, bool share, Propagator &p, A x0, B x1, Val c) |
| | Constructor for rewriting p during cloning.
|
| virtual Actor * | copy (Space &home, bool share) |
| | Create copy during cloning.
|
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| | Perform propagation.
|
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| | Cost function (defined as low binary)
|
| virtual size_t | dispose (Space &home) |
| | Delete propagator and return its size.
|
| ModEventDelta | modeventdelta (void) const |
| | Return the modification event delta.
|
| virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
| | Advise function.
|
| double | afc (void) const |
| | Return the accumlated failure count.
|
Protected Member Functions |
| | LqBin (Space &home, bool share, LqBin &p) |
| | Constructor for cloning p.
|
| | LqBin (Home home, A x0, B x1, Val c) |
| | Constructor for creation.
|
| | LinBin (Space &home, bool share, LinBin &p) |
| | Constructor for cloning p.
|
| | LinBin (Space &home, bool share, Propagator &p, A x0, B x1, Val c) |
| | Constructor for rewriting p during cloning.
|
| | LinBin (Home home, A x0, B x1, Val c) |
| | Constructor for creation.
|
| | Propagator (Home home) |
| | Constructor for posting.
|
| | Propagator (Space &home, bool share, Propagator &p) |
| | Constructor for cloning p.
|
template<class Val, class A, class B>
class Gecode::Int::Linear::LqBin< Val, A, B >
Propagator for bounds consistent binary linear less or equal
The type Val can be either double or int, defining the numerical precision during propagation. The types A and B give the types of the views.
The propagation condition pc refers to both views.
Requires
Definition at line 237 of file linear.hh.