#include <rmol/bom/Demand.hpp>
Public Member Functions | |
| const FldDistributionParameters & | getDistributionParameters () const |
| const FldYieldRange & | getYieldRange () const |
| double | getUpperYield () const |
| double | getAverageYield () const |
| double | getLowerYield () |
| double | getMean () const |
| double | getStandardDeviation () const |
| double | getVariance () const |
| void | setMean (const double) |
| void | setSD (const double) |
| void | toStream (std::ostream &) const |
| void | fromStream (std::istream &) |
| std::string | toString () const |
| const std::string | describeKey () const |
| const std::string | describeShortKey () const |
| const std::string | display () const |
| const std::string | shortDisplay () const |
Friends | |
| class | FacDemand |
Class modelling the demand. It holds:
Definition at line 17 of file Demand.hpp.
| const FldDistributionParameters& RMOL::Demand::getDistributionParameters | ( | ) | const [inline] |
Getter for the demand distribution parmaters (i.e., mean and standard deviation).
Definition at line 27 of file Demand.hpp.
| const FldYieldRange& RMOL::Demand::getYieldRange | ( | ) | const [inline] |
Getter for the average yield per unit of demand.
Definition at line 31 of file Demand.hpp.
| double RMOL::Demand::getUpperYield | ( | ) | const |
Getter for the upper yield of the range.
Definition at line 77 of file Demand.cpp.
| double RMOL::Demand::getAverageYield | ( | ) | const |
Getter for the average yield of the range.
Definition at line 82 of file Demand.cpp.
| double RMOL::Demand::getLowerYield | ( | ) |
Getter for the lower yield of the range.
Definition at line 87 of file Demand.cpp.
| double RMOL::Demand::getMean | ( | ) | const |
Getter for the mean value.
Definition at line 92 of file Demand.cpp.
| double RMOL::Demand::getStandardDeviation | ( | ) | const |
Getter for the standard deviation value.
Definition at line 97 of file Demand.cpp.
| double RMOL::Demand::getVariance | ( | ) | const |
Getter for the variance value.
Definition at line 102 of file Demand.cpp.
| void RMOL::Demand::setMean | ( | const double | iMean | ) |
Set the mean value.
Definition at line 107 of file Demand.cpp.
Referenced by RMOL::Bucket::setDemandParameters().
| void RMOL::Demand::setSD | ( | const double | iSD | ) |
set the standard deviation.
Definition at line 112 of file Demand.cpp.
| void RMOL::Demand::toStream | ( | std::ostream & | ioOut | ) | const [virtual] |
Dump a Business Object into an output stream.
| ostream& | the output stream. |
Implements RMOL::BomAbstract.
Definition at line 52 of file Demand.cpp.
| void RMOL::Demand::fromStream | ( | std::istream & | ioIn | ) | [virtual] |
Read a Business Object from an input stream.
| istream& | the input stream. |
Implements RMOL::BomAbstract.
Definition at line 57 of file Demand.cpp.
| std::string RMOL::Demand::toString | ( | ) | const [virtual] |
Get the serialised version of the Place object.
Implements RMOL::BomAbstract.
Definition at line 44 of file Demand.cpp.
| const std::string RMOL::Demand::describeKey | ( | ) | const [virtual] |
Get a string describing the whole key (differentiating two objects at any level).
Implements RMOL::BomAbstract.
Definition at line 39 of file Demand.cpp.
| const std::string RMOL::Demand::describeShortKey | ( | ) | const [virtual] |
Get a string describing the short key (differentiating two objects at the same level).
Implements RMOL::BomAbstract.
Definition at line 32 of file Demand.cpp.
| const std::string RMOL::Demand::display | ( | ) | const |
Display the full Place context.
Definition at line 70 of file Demand.cpp.
| const std::string RMOL::Demand::shortDisplay | ( | ) | const |
Display a short Place context.
Definition at line 61 of file Demand.cpp.
friend class FacDemand [friend] |
Friend Classes
Those classes need to access the internal attributes of this object in order to construct and initialise it.
Definition at line 21 of file Demand.hpp.