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_t * getStageNodes ()
 
uint_t * getNodesPerStage ()
 
uint_t * getNodesPerStageCumul ()
 
uint_t * getLeaveArray ()
 
uint_t * getChildArray ()
 
uint_t * getAncestorArray ()
 
uint_t * getNumChildren ()
 
uint_t * getNumChildrenCumul ()
 
real_t * getProbArray ()
 
real_t * getErrorDemandArray ()
 
real_t * getErrorPriceArray ()
 
 ~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: