SmiDiscreteRV Class Reference

#include <SmiDiscreteDistribution.hpp>

List of all members.

Public Member Functions

void addEvent (CoinPackedMatrix &matrix, CoinPackedVector &dclo, CoinPackedVector &dcup, CoinPackedVector &dobj, CoinPackedVector &drlo, CoinPackedVector &drup, double prob)
void addEvent (OsiSolverInterface &osi, double prob)
const CoinPackedMatrixgetEventMatrix (int i)
const CoinPackedVectorgetEventColLower (int i)
const CoinPackedVectorgetEventColUpper (int i)
const CoinPackedVectorgetEventObjective (int i)
const CoinPackedVectorgetEventRowLower (int i)
const CoinPackedVectorgetEventRowUpper (int i)
double getEventProb (int i)
size_t getNumEvents ()
int getStage ()
void setStage (int p)
 SmiDiscreteRV ()
 SmiDiscreteRV (int p)
 ~SmiDiscreteRV ()

Private Attributes

vector< SmiDiscreteEvent * > events_
SmiStageIndex stg_
double prob_

Friends

void SmiDiscreteUnitTest ()


Detailed Description

Definition at line 87 of file SmiDiscreteDistribution.hpp.


Constructor & Destructor Documentation

SmiDiscreteRV::SmiDiscreteRV (  )  [inline]

Definition at line 122 of file SmiDiscreteDistribution.hpp.

References prob_, and stg_.

SmiDiscreteRV::SmiDiscreteRV ( int  p  )  [inline]

Definition at line 123 of file SmiDiscreteDistribution.hpp.

References prob_, and stg_.

SmiDiscreteRV::~SmiDiscreteRV (  )  [inline]

Definition at line 124 of file SmiDiscreteDistribution.hpp.


Member Function Documentation

void SmiDiscreteRV::addEvent ( CoinPackedMatrix matrix,
CoinPackedVector dclo,
CoinPackedVector dcup,
CoinPackedVector dobj,
CoinPackedVector drlo,
CoinPackedVector drup,
double  prob 
) [inline]

Definition at line 91 of file SmiDiscreteDistribution.hpp.

References events_, and prob_.

void SmiDiscreteRV::addEvent ( OsiSolverInterface osi,
double  prob 
) [inline]

Definition at line 101 of file SmiDiscreteDistribution.hpp.

References events_, and prob_.

const CoinPackedMatrix& SmiDiscreteRV::getEventMatrix ( int  i  )  [inline]

Definition at line 109 of file SmiDiscreteDistribution.hpp.

References events_.

const CoinPackedVector& SmiDiscreteRV::getEventColLower ( int  i  )  [inline]

Definition at line 110 of file SmiDiscreteDistribution.hpp.

References events_.

const CoinPackedVector& SmiDiscreteRV::getEventColUpper ( int  i  )  [inline]

Definition at line 111 of file SmiDiscreteDistribution.hpp.

References events_.

const CoinPackedVector& SmiDiscreteRV::getEventObjective ( int  i  )  [inline]

Definition at line 112 of file SmiDiscreteDistribution.hpp.

References events_.

const CoinPackedVector& SmiDiscreteRV::getEventRowLower ( int  i  )  [inline]

Definition at line 113 of file SmiDiscreteDistribution.hpp.

References events_.

const CoinPackedVector& SmiDiscreteRV::getEventRowUpper ( int  i  )  [inline]

Definition at line 114 of file SmiDiscreteDistribution.hpp.

References events_.

double SmiDiscreteRV::getEventProb ( int  i  )  [inline]

Definition at line 115 of file SmiDiscreteDistribution.hpp.

References events_.

size_t SmiDiscreteRV::getNumEvents (  )  [inline]

Definition at line 119 of file SmiDiscreteDistribution.hpp.

References events_.

int SmiDiscreteRV::getStage (  )  [inline]

Definition at line 120 of file SmiDiscreteDistribution.hpp.

References stg_.

void SmiDiscreteRV::setStage ( int  p  )  [inline]

Definition at line 121 of file SmiDiscreteDistribution.hpp.

References stg_.


Friends And Related Function Documentation

void SmiDiscreteUnitTest (  )  [friend]


Member Data Documentation

vector<SmiDiscreteEvent *> SmiDiscreteRV::events_ [private]

Definition at line 126 of file SmiDiscreteDistribution.hpp.

Referenced by addEvent(), getEventColLower(), getEventColUpper(), getEventMatrix(), getEventObjective(), getEventProb(), getEventRowLower(), getEventRowUpper(), and getNumEvents().

SmiStageIndex SmiDiscreteRV::stg_ [private]

Definition at line 127 of file SmiDiscreteDistribution.hpp.

Referenced by getStage(), setStage(), and SmiDiscreteRV().

double SmiDiscreteRV::prob_ [private]

Definition at line 128 of file SmiDiscreteDistribution.hpp.

Referenced by addEvent(), and SmiDiscreteRV().


The documentation for this class was generated from the following file:
Generated on Sun Nov 14 14:14:40 2010 for Coin-All by  doxygen 1.4.7