FSMSADF::GraphBindingConstraints Class Reference
#include <constraint.h>
Public Member Functions | |
GraphBindingConstraints () | |
~GraphBindingConstraints () | |
GraphBindingConstraints * | clone (Graph *ag) |
void | constructFromXML (Scenario *s, const CNodePtr constraintsNode) |
void | convertToXML (Scenario *s, const CNodePtr constraintsNode) |
ScenarioBindingConstraints * | getConstraintsOfScenario (const Scenario *s) |
void | setConstraintsOfScenario (const Scenario *s, ScenarioBindingConstraints *bc) |
bool | hasScenarioBindingConstraints (const Scenario *s) |
Private Attributes | |
map< const Scenario *, ScenarioBindingConstraints * > | scenarioBindingConstraints |
Detailed Description
GraphBindingConstraints Container for graph binding constraints.
Constructor & Destructor Documentation
FSMSADF::GraphBindingConstraints::GraphBindingConstraints | ( | ) |
GraphBindingConstraints() Constructor.
FSMSADF::GraphBindingConstraints::~GraphBindingConstraints | ( | ) |
~GraphBindingConstraints() Destructor.
References scenarioBindingConstraints.
Member Function Documentation
GraphBindingConstraints * FSMSADF::GraphBindingConstraints::clone | ( | Graph * | ag | ) |
clone() Create a cloned copy of this graph binding object. The scenario relations are updated to the corresponding scenario in the graph ag.
References FSMSADF::Scenario::clone(), g, FSMSADF::Graph::getScenario(), scenarioBindingConstraints, and setConstraintsOfScenario().
Referenced by FSMSADF::BindingAwareGraph::extractGraphBindingConstraints().
void FSMSADF::GraphBindingConstraints::constructFromXML | ( | Scenario * | s, | |
const CNodePtr | constraintsNode | |||
) |
constructFromXML() Construct graph binding constraints for scenario s from XML data.
References FSMSADF::ScenarioBindingConstraints::constructFromXML(), and getConstraintsOfScenario().
Referenced by FSMSADF::PlatformBinding::constructFromXML().
void FSMSADF::GraphBindingConstraints::convertToXML | ( | Scenario * | s, | |
const CNodePtr | constraintsNode | |||
) |
convertToXML() Convert the graph binding constraints of scenario s to XML data.
References FSMSADF::ScenarioBindingConstraints::convertToXML(), and getConstraintsOfScenario().
Referenced by FSMSADF::PlatformBinding::convertToXML().
ScenarioBindingConstraints * FSMSADF::GraphBindingConstraints::getConstraintsOfScenario | ( | const Scenario * | s | ) |
getConstraintsOfScenario() The function returns the scenario binding constraints of scenario s.
References hasScenarioBindingConstraints(), scenarioBindingConstraints, and setConstraintsOfScenario().
Referenced by constructFromXML(), convertToXML(), FSMSADF::MemoryDimAlgo::estimateStorageDist(), FSMSADF::NetworkInterfaceBinding::getAllocatedBandwidthInConnections(), FSMSADF::NetworkInterfaceBinding::getAllocatedBandwidthOutConnections(), FSMSADF::MemoryBinding::getAllocatedMemorySize(), FSMSADF::MemoryBinding::hasResourcesChannelBinding(), FSMSADF::NetworkInterfaceBinding::hasResourcesInChannelBinding(), FSMSADF::NetworkInterfaceBinding::hasResourcesOutChannelBinding(), and FSMSADF::BindingAwareGraph::modelBindingInNSoCFlow().
bool FSMSADF::GraphBindingConstraints::hasScenarioBindingConstraints | ( | const Scenario * | s | ) |
hasScenarioBindingConstraints() The function returns true when scenario s has scenario binding constraints. Otherwise the function returns false.
References scenarioBindingConstraints.
Referenced by getConstraintsOfScenario().
void FSMSADF::GraphBindingConstraints::setConstraintsOfScenario | ( | const Scenario * | s, | |
ScenarioBindingConstraints * | bc | |||
) |
setConstraintsOfScenario() The function sets the scenario binding constraints of scenario s.
References scenarioBindingConstraints.
Referenced by clone(), and getConstraintsOfScenario().
Member Data Documentation
map<const Scenario*, ScenarioBindingConstraints*> FSMSADF::GraphBindingConstraints::scenarioBindingConstraints [private] |
The documentation for this class was generated from the following files: