Generated on Wed Jan 4 17:49:18 2006 for Gecode by doxygen 1.4.6

Gecode::Actor Class Reference
[Programming actors]

Inherits Gecode::ActorDeleteLink.

Inherited by Gecode::Branching, and Gecode::Propagator.

List of all members.


Detailed Description

Base-class for both propagators and branchings.

Definition at line 400 of file core.icc.

Memory management

virtual void flush (void)
 Flush cache datastructures.
virtual size_t cached (void) const
 Report size occupied by cached datastructures.
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 delete (void *p, size_t s)
 Used for reclaiming memory.

Public Member Functions

virtual Actorcopy (Space *, bool)=0
 Create copy.
virtual ~Actor (void)
 Delete actor.


Constructor & Destructor Documentation

Gecode::Actor::~Actor void   )  [inline, virtual]
 

Delete actor.

Definition at line 1015 of file core.icc.


Member Function Documentation

virtual Actor* Gecode::Actor::copy Space ,
bool 
[pure virtual]
 

Create copy.

Implemented in Gecode::Int::Arithmetic::Abs< View >, Gecode::Int::Arithmetic::Max< View >, Gecode::Int::Arithmetic::NaryMax< View >, Gecode::Int::Arithmetic::SquarePlus< VA, VB >, Gecode::Int::Arithmetic::Square< View >, Gecode::Int::Arithmetic::MultPlus< VA, VB, VC >, Gecode::Int::Arithmetic::Mult< View >, Gecode::Int::Bool::Eq< BVA, BVB >, Gecode::Int::Bool::And< BVA, BVB, BVC >, Gecode::Int::Bool::NaryAnd< View >, Gecode::Int::Bool::Eqv< BVA, BVB, BVC >, Gecode::Int::Branch::AssignMin, Gecode::Int::Branch::AssignMed, Gecode::Int::Branch::AssignMax, Gecode::Int::Count::Eq< VX, VY, VZ, Rel, shr >, Gecode::Int::Count::Nq< VX, VY, VZ, Rel, shr >, Gecode::Int::Count::Lq< VX, VY, VZ, Rel, shr >, Gecode::Int::Count::Gq< VX, VY, VZ, Rel, shr >, Gecode::Int::Cumulatives::Val< ViewM, ViewD, ViewH, View >, Gecode::Int::Distinct::Val< View >, Gecode::Int::Distinct::BndImp< View, shared >, Gecode::Int::Distinct::Dom< View >, Gecode::Int::Dom::ReRange< View >, Gecode::Int::Dom::ReIntSet< View >, Gecode::Int::Element::Int< ViewA, ViewB >, Gecode::Int::Element::ViewBnd< ViewA, ViewB >, Gecode::Int::Element::ViewDom< ViewA, ViewB >, Gecode::Int::GCC::BndImp< View, Card, isView, shared >, Gecode::Int::GCC::Dom< View, Card, isView >, Gecode::Int::GCC::Val< View, Card, isView >, Gecode::Int::Linear::EqBin< Val, A, B >, Gecode::Int::Linear::ReEqBin< Val, A, B, Ctrl >, Gecode::Int::Linear::NqBin< Val, A, B >, Gecode::Int::Linear::LqBin< Val, A, B >, Gecode::Int::Linear::GqBin< Val, A, B >, Gecode::Int::Linear::ReLqBin< Val, A, B >, Gecode::Int::Linear::EqTer< Val, A, B, C >, Gecode::Int::Linear::NqTer< Val, A, B, C >, Gecode::Int::Linear::LqTer< Val, A, B, C >, Gecode::Int::Linear::Eq< Val, P, N >, Gecode::Int::Linear::ReEq< Val, P, N, Ctrl >, Gecode::Int::Linear::Nq< Val, P, N >, Gecode::Int::Linear::Lq< Val, P, N >, Gecode::Int::Linear::ReLq< Val, P, N >, Gecode::Int::Linear::EqBool< View >, Gecode::Int::Linear::NqBool< View >, Gecode::Int::Linear::LqBool< View >, Gecode::Int::Linear::GqBool< View >, Gecode::Int::Regular::Dom< View >, Gecode::Int::Rel::EqDom< View >, Gecode::Int::Rel::EqBnd< View >, Gecode::Int::Rel::NaryEqDom< View >, Gecode::Int::Rel::NaryEqBnd< View >, Gecode::Int::Rel::ReEqDom< View, CtrlView >, Gecode::Int::Rel::ReEqBnd< View, CtrlView >, Gecode::Int::Rel::ReEqDomInt< View, CtrlView >, Gecode::Int::Rel::ReEqBndInt< View, CtrlView >, Gecode::Int::Rel::Nq< View >, Gecode::Int::Rel::Lq< View >, Gecode::Int::Rel::Le< View >, Gecode::Int::Rel::ReLq< View, CtrlView >, Gecode::Int::Rel::ReLqInt< View, CtrlView >, Gecode::Int::Rel::Lex< View >, Gecode::Int::Sortedness::Sortedness< View, Tuple, Perm, shared >, Gecode::ViewValBranching< View, Val, ViewSel, ValSel >, Gecode::Set::Convex::Convex, Gecode::Set::Convex::ConvexHull, Gecode::Set::Distinct::AtmostOne, Gecode::Set::Distinct::Distinct, Gecode::Set::Int::MinElement, Gecode::Set::Int::MaxElement, Gecode::Set::Int::Card, Gecode::Set::Int::Match, Gecode::Set::Int::ChannelVarVal, Gecode::Set::Int::Weights, Gecode::Set::RelOp::SuperOfInter< View0, View1, View2 >, Gecode::Set::RelOp::SubOfUnion< View0, View1, View2 >, Gecode::Set::RelOp::Intersection< View0, View1, View2 >, Gecode::Set::RelOp::Union< View0, View1, View2 >, Gecode::Set::RelOp::IntersectionN< View0, View1 >, Gecode::Set::RelOp::UnionN< View0, View1 >, Gecode::Set::RelOp::PartitionN< View0, View1 >, Gecode::Set::Rel::SubSet< View0, View1 >, Gecode::Set::Rel::NoSubSet< View0, View1 >, Gecode::Set::Rel::ReSubset< View0, View1 >, Gecode::Set::Rel::Eq< View0, View1 >, Gecode::Set::Rel::ReEq< View0, View1 >, Gecode::Set::Rel::Distinct< View0, View1 >, Gecode::Set::Rel::DistinctDoit< View0, View1 >, Gecode::Set::Select::SelectIntersection< SView, RView >, Gecode::Set::Select::SelectDisjoint, Gecode::Set::Sequence::Seq, and Gecode::Set::Sequence::SeqU.

void Gecode::Actor::flush void   )  [virtual]
 

Flush cache datastructures.

Reimplemented in Gecode::Int::Distinct::Dom< View >, Gecode::Int::Element::Int< ViewA, ViewB >, Gecode::Int::GCC::BndImp< View, Card, isView, shared >, Gecode::Int::GCC::Dom< View, Card, isView >, and Gecode::Int::Regular::Dom< View >.

Definition at line 59 of file core.cc.

size_t Gecode::Actor::cached void   )  const [virtual]
 

Report size occupied by cached datastructures.

Definition at line 62 of file core.cc.

void * Gecode::Actor::operator new size_t  s,
Space home
[inline, static]
 

Allocate memory from space.

Definition at line 919 of file core.icc.

void Gecode::Actor::operator delete void *  p,
Space home
[inline, static]
 

No-op for exceptions.

Definition at line 917 of file core.icc.

void Gecode::Actor::operator delete void *  p,
size_t  s
[inline, static]
 

Used for reclaiming memory.

Definition at line 913 of file core.icc.


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