RapidNet
Fast Stochastic MPC for Drinking Water Networks
 All Classes Files Functions Variables Typedefs Macros Pages
Public Member Functions | List of all members
ScenarioTree Class Reference

Public Member Functions

 ScenarioTree (string pathToFileName)
 
uint_t getPredHorizon ()
 
uint_t getNumScenarios ()
 
uint_t getNumNodes ()
 
uint_t getNumChildrenTot ()
 
uint_t getNumNonleafNodes ()
 
uint_tgetStageNodes ()
 
uint_tgetNodesPerStage ()
 
uint_tgetNodesPerStageCumul ()
 
uint_tgetLeaveArray ()
 
uint_tgetChildArray ()
 
uint_tgetAncestorArray ()
 
uint_tgetNumChildren ()
 
uint_tgetNumChildrenCumul ()
 
real_tgetProbArray ()
 
real_tgetErrorDemandArray ()
 
real_tgetErrorPriceArray ()
 
 ~ScenarioTree ()
 

Constructor & Destructor Documentation

ScenarioTree::ScenarioTree ( string  pathToFileName)

Constructor for the Scenario tree generated from the given JSON file.

Parameters
pathToFilefilename of a JSON file containing a representation of the scenario tree structure.
ScenarioTree::~ScenarioTree ( )

Member Function Documentation

uint_t * ScenarioTree::getAncestorArray ( )
uint_t * ScenarioTree::getChildArray ( )
real_t * ScenarioTree::getErrorDemandArray ( )

Here is the caller graph for this function:

real_t * ScenarioTree::getErrorPriceArray ( )

Here is the caller graph for this function:

uint_t * ScenarioTree::getLeaveArray ( )
uint_t * ScenarioTree::getNodesPerStage ( )

Here is the caller graph for this function:

uint_t * ScenarioTree::getNodesPerStageCumul ( )

Here is the caller graph for this function:

uint_t * ScenarioTree::getNumChildren ( )
uint_t * ScenarioTree::getNumChildrenCumul ( )
uint_t ScenarioTree::getNumChildrenTot ( )
uint_t ScenarioTree::getNumNodes ( )

Here is the caller graph for this function:

uint_t ScenarioTree::getNumNonleafNodes ( )

Here is the caller graph for this function:

uint_t ScenarioTree::getNumScenarios ( )

Here is the caller graph for this function:

uint_t ScenarioTree::getPredHorizon ( )

Here is the caller graph for this function:

real_t * ScenarioTree::getProbArray ( )

Here is the caller graph for this function:

uint_t * ScenarioTree::getStageNodes ( )

Here is the caller graph for this function:


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