Generated on Thu Mar 22 10:39:56 2012 for Gecode by doxygen 1.6.3

Gecode::Int::Exec::When Class Reference
[Integer propagators]

Conditional propagator. More...

#include <exec.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, BoolView x, void(*t)(Space &), void(*e)(Space &))
 Post propagator.

Protected Member Functions

 When (Space &home, bool share, When &p)
 Constructor for cloning p.
 When (Home home, BoolView x, void(*t0)(Space &), void(*e0)(Space &))
 Constructor for creation.

Protected Attributes

void(* t )(Space &)
 Then function pointer.
void(* e )(Space &)
 Else function pointer.

Detailed Description

Conditional propagator.


 #include <gecode/int/exec.hh> 

Definition at line 56 of file exec.hh.

Constructor & Destructor Documentation

Gecode::Int::Exec::When::When ( Space home,
bool  share,
When p 
) [inline, protected]

Constructor for cloning p.

Definition at line 45 of file when.hpp.

Gecode::Int::Exec::When::When ( Home  home,
BoolView  x,
void(*)(Space &)  t0,
void(*)(Space &)  e0 
) [inline, protected]

Constructor for creation.

Definition at line 41 of file when.hpp.

Member Function Documentation

Actor * Gecode::Int::Exec::When::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 56 of file when.cpp.

ExecStatus Gecode::Int::Exec::When::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 61 of file when.cpp.

ExecStatus Gecode::Int::Exec::When::post ( Home  home,
BoolView  x,
void(*)(Space &)  t,
void(*)(Space &)  e 
) [static]

Post propagator.

Definition at line 42 of file when.cpp.

Member Data Documentation

void(* Gecode::Int::Exec::When::t)(Space &) [protected]

Then function pointer.

Definition at line 60 of file exec.hh.

void(* Gecode::Int::Exec::When::e)(Space &) [protected]

Else function pointer.

Definition at line 62 of file exec.hh.

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