4.13 The class PEL_SuspFDIntVar

PEL_SuspFDVar

PEL_SuspFDVar(void);

Constructs an uninitialized library finite set variable.

PEL_SuspFDVar

PEL_SuspFDIntVar(PEL_FDProfile &fdp,  
                 OZ_FiniteDomain &fdv,
                 PEL_FDEventLists &fdel,  
                 PEL_PropQueue &pd,
                 PEL_PropFnctTable &pft,  
                 int first = 1);

Constructs an initialized library finite domain variable which is directly connected with the corresponding variable in the constraint store.

PEL_SuspFDVar

PEL_SuspFDIntVar(OZ_FiniteDomain &fdl,  
                 PEL_FDEventLists &fdel,
                 PEL_PropQueue &pd,  
                 PEL_PropFnctTable &pft);

Constructs an initialized library finite domain variable which is not directly connected with the corresponding variable in the constraint store. This constructor is used if the library variable is subordinated to the store variable, e.g. when implementing a clause of a disjunction.

init

PEL_SuspFDIntVar * init(PEL_FDProfile &fdp,  
                        OZ_FiniteDomain &fd,
                        PEL_FDEventLists &fdel,  
                        PEL_PropQueue &pq,
                        PEL_PropFnctTable &pft,  
                        int first = 1);

This initialization function is associated with the constructor for the directly connected library variable and returns a pointer the library variable.

init

PEL_SuspFDIntVar * init(OZ_FiniteDomain &fdl,  
                        PEL_FDEventLists &fdel,  
                        PEL_PropQueue &pq,  
                        PEL_PropFnctTable &pft);

This initialization function is associated with the constructor for the not directly connected library variable and returns a pointer the library variable.

propagate_to

int propagate_to(OZ_FiniteDomain &fdint first = 0);

The constraint fd is propagated to the library variable and wakeup is called if necessary. The function returns 0 in case propagation fails. Otherwise it returns 1.

wakeup

virtual int wakeup(int first = 0);

Causes propagation functions to be scheduled for rerun according to the constraints imposed on this variable since the last invocation of this function. This function returns 1 if variable denotes a single value and else 0.

operator *

OZ_FiniteDomain &operator * (void);

Returns the finite domain constraint associated with this variable.

operator -> 

OZ_FiniteDomain * operator -> (void);

Returns the pointer to the finite domain constraint associated with this variable.


Tobias Müller
Version 1.4.0 (20080702)