FlopSmiEx::CoreNodeBase::SP_constraint Class Reference

class for a stochastic (node-based) constraint More...

#include <corenode_base.hpp>

Inheritance diagram for FlopSmiEx::CoreNodeBase::SP_constraint:
Inheritance graph
[legend]
Collaboration diagram for FlopSmiEx::CoreNodeBase::SP_constraint:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SP_constraint (MP_set const &s1=MP_set::getEmpty())

Private Attributes

CoreNodeBasep2node
 pointer to the node the constr. belongs to
int constrIndx

Detailed Description

class for a stochastic (node-based) constraint

Basically, this is identical to the MP_constraint, but it registers itself with the scenario-tree node and adds a new value() method.

So far, we implement only variables indexed on simple one-dimensional sets.

Note that constraints are different from variables, since we cannot get a pointer to one constraint in the set (one row). This is because if we have an MP_constraint C, then

Definition at line 170 of file corenode_base.hpp.


Constructor & Destructor Documentation

FlopSmiEx::CoreNodeBase::SP_constraint::SP_constraint ( MP_set const &  s1 = MP_set::getEmpty()  )  [inline]

Definition at line 175 of file corenode_base.hpp.


Member Data Documentation

pointer to the node the constr. belongs to

Definition at line 172 of file corenode_base.hpp.

Definition at line 173 of file corenode_base.hpp.


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

Generated on 3 Jun 2015 by  doxygen 1.6.1