Generated on Fri Mar 20 15:56:45 2015 for Gecode by doxygen 1.6.3

Gecode::Activity::Recorder< View > Class Template Reference

Propagator for recording activity information. More...

#include <activity.hpp>

List of all members.

Classes

class  Idx
 Advisor with index and change information. More...

Public Member Functions

 Recorder (Home home, ViewArray< View > &x, Activity &a)
 Constructor for creation.
virtual Propagatorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (crazy so that propagator is likely to run last).
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Give advice to propagator.
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

static ExecStatus post (Home home, ViewArray< View > &x, Activity &a)
 Post activity recorder propagator.

Protected Member Functions

 Recorder (Space &home, bool share, Recorder< View > &p)
 Constructor for cloning p.

Protected Attributes

Activity a
 Access to activity information.
Council< Idxc
 The advisor council.

Detailed Description

template<class View>
class Gecode::Activity::Recorder< View >

Propagator for recording activity information.

Definition at line 148 of file activity.hpp.


Constructor & Destructor Documentation

template<class View >
Gecode::Activity::Recorder< View >::Recorder ( Space home,
bool  share,
Recorder< View > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 382 of file activity.hpp.

template<class View >
Gecode::Activity::Recorder< View >::Recorder ( Home  home,
ViewArray< View > &  x,
Activity a 
) [inline]

Constructor for creation.

Definition at line 246 of file activity.hpp.


Member Function Documentation

template<class View >
Propagator * Gecode::Activity::Recorder< View >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 391 of file activity.hpp.

template<class View >
PropCost Gecode::Activity::Recorder< View >::cost ( const Space home,
const ModEventDelta med 
) const [inline, virtual]

Cost function (crazy so that propagator is likely to run last).

Reimplemented from Gecode::NaryPropagator< View, PC_GEN_NONE >.

Definition at line 411 of file activity.hpp.

template<class View >
ExecStatus Gecode::Activity::Recorder< View >::advise ( Space home,
Advisor a,
const Delta d 
) [inline, virtual]

Give advice to propagator.

Reimplemented from Gecode::Propagator.

Definition at line 417 of file activity.hpp.

template<class View >
ExecStatus Gecode::Activity::Recorder< View >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 424 of file activity.hpp.

template<class View >
size_t Gecode::Activity::Recorder< View >::dispose ( Space home  )  [inline, virtual]

Delete propagator and return its size.

Reimplemented from Gecode::NaryPropagator< View, PC_GEN_NONE >.

Definition at line 397 of file activity.hpp.

template<class View >
ExecStatus Gecode::Activity::Recorder< View >::post ( Home  home,
ViewArray< View > &  x,
Activity a 
) [inline, static]

Post activity recorder propagator.

Definition at line 257 of file activity.hpp.


Member Data Documentation

template<class View>
Activity Gecode::Activity::Recorder< View >::a [protected]

Access to activity information.

Definition at line 171 of file activity.hpp.

template<class View>
Council<Idx> Gecode::Activity::Recorder< View >::c [protected]

The advisor council.

Definition at line 173 of file activity.hpp.


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