Generated on Tue Apr 18 10:24:05 2017 for Gecode by doxygen 1.6.3

Gecode::Search::Meta::NoGoodsProp Class Reference

No-good propagator. More...

#include <nogoods.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Perform copying during cloning.
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Const function (defined as low unary).
virtual void reschedule (Space &home)
 Schedule function.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
virtual size_t dispose (Space &home)
 Delete propagator and return its size.

Static Public Member Functions

template<class Path >
static ExecStatus post (Space &home, const Path &p)
 Post propagator for path p.

Protected Member Functions

 NoGoodsProp (Space &home, NGL *root)
 Constructor for creation.
 NoGoodsProp (Space &home, bool shared, NoGoodsProp &p)
 Constructor for cloning p.

Protected Attributes

NGLroot
 Root of no-good literal tree.
unsigned int n
 Number of no-good literals with subscriptions.

Detailed Description

No-good propagator.

Definition at line 69 of file nogoods.hh.


Constructor & Destructor Documentation

Gecode::Search::Meta::NoGoodsProp::NoGoodsProp ( Space home,
NGL root 
) [inline, protected]

Constructor for creation.

Definition at line 109 of file nogoods.hh.

Gecode::Search::Meta::NoGoodsProp::NoGoodsProp ( Space home,
bool  shared,
NoGoodsProp p 
) [inline, protected]

Constructor for cloning p.

Definition at line 132 of file nogoods.hh.


Member Function Documentation

Actor * Gecode::Search::Meta::NoGoodsProp::copy ( Space home,
bool  share 
) [virtual]

Perform copying during cloning.

Implements Gecode::Actor.

Definition at line 81 of file nogoods.cpp.

PropCost Gecode::Search::Meta::NoGoodsProp::cost ( const Space home,
const ModEventDelta med 
) const [virtual]

Const function (defined as low unary).

Implements Gecode::Propagator.

Definition at line 86 of file nogoods.cpp.

void Gecode::Search::Meta::NoGoodsProp::reschedule ( Space home  )  [virtual]

Schedule function.

Implements Gecode::Propagator.

Definition at line 91 of file nogoods.cpp.

ExecStatus Gecode::Search::Meta::NoGoodsProp::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 104 of file nogoods.cpp.

template<class Path >
ExecStatus Gecode::Search::Meta::NoGoodsProp::post ( Space home,
const Path &  p 
) [inline, static]

Post propagator for path p.

Definition at line 149 of file nogoods.hh.

size_t Gecode::Search::Meta::NoGoodsProp::dispose ( Space home  )  [virtual]

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 200 of file nogoods.cpp.


Member Data Documentation

Root of no-good literal tree.

Definition at line 72 of file nogoods.hh.

unsigned int Gecode::Search::Meta::NoGoodsProp::n [protected]

Number of no-good literals with subscriptions.

Definition at line 74 of file nogoods.hh.


The documentation for this class was generated from the following files: