#include <SmiDiscreteDistribution.hpp>
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 CoinPackedMatrix & | getEventMatrix (int i) |
const CoinPackedVector & | getEventColLower (int i) |
const CoinPackedVector & | getEventColUpper (int i) |
const CoinPackedVector & | getEventObjective (int i) |
const CoinPackedVector & | getEventRowLower (int i) |
const CoinPackedVector & | getEventRowUpper (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 () |
Definition at line 87 of file SmiDiscreteDistribution.hpp.
SmiDiscreteRV::SmiDiscreteRV | ( | ) | [inline] |
Definition at line 122 of file SmiDiscreteDistribution.hpp.
SmiDiscreteRV::SmiDiscreteRV | ( | int | p | ) | [inline] |
Definition at line 123 of file SmiDiscreteDistribution.hpp.
SmiDiscreteRV::~SmiDiscreteRV | ( | ) | [inline] |
Definition at line 124 of file SmiDiscreteDistribution.hpp.
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.
void SmiDiscreteRV::addEvent | ( | OsiSolverInterface & | osi, | |
double | prob | |||
) | [inline] |
Definition at line 101 of file SmiDiscreteDistribution.hpp.
const CoinPackedMatrix& SmiDiscreteRV::getEventMatrix | ( | int | i | ) | [inline] |
Definition at line 109 of file SmiDiscreteDistribution.hpp.
const CoinPackedVector& SmiDiscreteRV::getEventColLower | ( | int | i | ) | [inline] |
Definition at line 110 of file SmiDiscreteDistribution.hpp.
const CoinPackedVector& SmiDiscreteRV::getEventColUpper | ( | int | i | ) | [inline] |
Definition at line 111 of file SmiDiscreteDistribution.hpp.
const CoinPackedVector& SmiDiscreteRV::getEventObjective | ( | int | i | ) | [inline] |
Definition at line 112 of file SmiDiscreteDistribution.hpp.
const CoinPackedVector& SmiDiscreteRV::getEventRowLower | ( | int | i | ) | [inline] |
Definition at line 113 of file SmiDiscreteDistribution.hpp.
const CoinPackedVector& SmiDiscreteRV::getEventRowUpper | ( | int | i | ) | [inline] |
Definition at line 114 of file SmiDiscreteDistribution.hpp.
double SmiDiscreteRV::getEventProb | ( | int | i | ) | [inline] |
Definition at line 115 of file SmiDiscreteDistribution.hpp.
size_t SmiDiscreteRV::getNumEvents | ( | ) | [inline] |
Definition at line 119 of file SmiDiscreteDistribution.hpp.
int SmiDiscreteRV::getStage | ( | ) | [inline] |
Definition at line 120 of file SmiDiscreteDistribution.hpp.
void SmiDiscreteRV::setStage | ( | int | p | ) | [inline] |
Definition at line 121 of file SmiDiscreteDistribution.hpp.
void SmiDiscreteUnitTest | ( | ) | [friend] |
vector<SmiDiscreteEvent *> SmiDiscreteRV::events_ [private] |
Definition at line 126 of file SmiDiscreteDistribution.hpp.
SmiStageIndex SmiDiscreteRV::stg_ [private] |
Definition at line 127 of file SmiDiscreteDistribution.hpp.
double SmiDiscreteRV::prob_ [private] |
Definition at line 128 of file SmiDiscreteDistribution.hpp.