Generated on Sat Feb 7 2015 02:01:49 for Gecode by doxygen 1.8.9.1
Gecode::Int::Sequence::Sequence< View, Val > Class Template Reference

Sequence propagator for array of integers More...

#include <sequence.hh>

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Perform copying during cloning. More...
 
ExecStatus advise (Space &home, Advisor &_a, const Delta &d)
 Advise function. More...
 
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function. More...
 
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation. More...
 
virtual size_t dispose (Space &home)
 Delete propagator and return its size. More...
 
- Public Member Functions inherited from Gecode::Propagator
ModEventDelta modeventdelta (void) const
 Return the modification event delta. More...
 
double afc (const Space &home) const
 Return the accumlated failure count. More...
 
- Public Member Functions inherited from Gecode::Actor

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< View > &x, Val s, int q, int l, int u)
 Post propagator for. More...
 
static ExecStatus check (Space &home, ViewArray< View > &x, Val s, int q, int l, int u)
 Check for consistency. More...
 
- Static Public Member Functions inherited from Gecode::Actor
static void * operator new (size_t s, Space &home)
 Allocate memory from space. More...
 
static void operator delete (void *p, Space &home)
 No-op for exceptions. More...
 

Protected Member Functions

 Sequence (Space &home, bool shared, Sequence &p)
 Constructor for cloning p. More...
 
 Sequence (Home home, ViewArray< View > &x, Val s, int q, int l, int u)
 Constructor for creation. More...
 
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting. More...
 
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p. More...
 
Propagatorfwd (void) const
 Return forwarding pointer during copying. More...
 

Detailed Description

template<class View, class Val>
class Gecode::Int::Sequence::Sequence< View, Val >

Sequence propagator for array of integers

Requires

Definition at line 105 of file sequence.hh.

Constructor & Destructor Documentation

template<class View , class Val >
Gecode::Int::Sequence::Sequence< View, Val >::Sequence ( Space home,
bool  shared,
Sequence< View, Val > &  p 
)
inlineprotected

Constructor for cloning p.

Definition at line 88 of file int.hpp.

template<class View , class Val >
Gecode::Int::Sequence::Sequence< View, Val >::Sequence ( Home  home,
ViewArray< View > &  x,
Val  s,
int  q,
int  l,
int  u 
)
inlineprotected

Constructor for creation.

Definition at line 46 of file int.hpp.

Member Function Documentation

template<class View , class Val >
Actor * Gecode::Int::Sequence::Sequence< View, Val >::copy ( Space home,
bool  share 
)
virtual

Perform copying during cloning.

Implements Gecode::Actor.

Definition at line 169 of file int.hpp.

template<class View , class Val >
ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::advise ( Space home,
Advisor _a,
const Delta d 
)
virtual

Advise function.

Reimplemented from Gecode::Propagator.

Definition at line 100 of file int.hpp.

template<class View , class Val >
PropCost Gecode::Int::Sequence::Sequence< View, Val >::cost ( const Space home,
const ModEventDelta med 
) const
virtual

Cost function.

Implements Gecode::Propagator.

Definition at line 175 of file int.hpp.

template<class View , class Val >
ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 181 of file int.hpp.

template<class View , class Val >
ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::post ( Home  home,
ViewArray< View > &  x,
Val  s,
int  q,
int  l,
int  u 
)
static

Post propagator for.

Definition at line 157 of file int.hpp.

template<class View , class Val >
ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::check ( Space home,
ViewArray< View > &  x,
Val  s,
int  q,
int  l,
int  u 
)
inlinestatic

Check for consistency.

Definition at line 133 of file int.hpp.

template<class View , class Val >
size_t Gecode::Int::Sequence::Sequence< View, Val >::dispose ( Space home)
inlinevirtual

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 123 of file int.hpp.


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