Public Member Functions | Private Member Functions | Private Attributes | List of all members
ISM::TopologyManager Class Reference

#include <TopologyManager.hpp>

Inheritance diagram for ISM::TopologyManager:
Inheritance graph
[legend]

Public Member Functions

void addStartTopologiesToHistory (std::vector< TopologyPtr > startTopologies)
 
TreePtr evaluateTopology (TopologyPtr &topology, const std::string filename="")
 
TopologyPtr getFullyMeshedTopology (bool storeFullyMeshedISM=false)
 
std::vector< std::vector< std::pair< TopologyPtr, unsigned int > > > getHistory ()
 
TopologyPtr getNextNeighbour ()
 
TopologyPtr getRandomTopology ()
 
std::vector< TopologyPtrgetStarTopologies ()
 
bool hasNextNeighbour ()
 
std::vector< TopologyPtrprepareStartTopologies (std::vector< TopologyPtr > &startTopologies)
 
void setReferenceInstance (TopologyPtr instance)
 
void setUp (const std::string &patternName)
 
 TopologyManager (EvaluatorPtr evaluator, TreeValidatorPtr treeValidator, TopologyGeneratorPtr topologyGenerator, DocumentationHelperPtr documentationHelper)
 

Private Member Functions

void calculateNeighbours (TopologyPtr topology)
 
void logAlreadyAnalysed (TopologyPtr topology)
 
void logSelectedTopology (TopologyPtr selectedTopology)
 
void markSelectedTopology (TopologyPtr selectedTopology)
 
void prepareTopology (TopologyPtr &topology)
 

Private Attributes

std::string mCurrentPatternName
 
DocumentationHelperPtr mDocumentationHelper
 
EvaluatorPtr mEvaluator
 
bool mHasNextInstance
 
std::vector< std::vector< std::pair< TopologyPtr, unsigned int > > > mHistory
 
int mHistoryIndex = 0
 
unsigned mNeighbourIndex
 
std::vector< TopologyPtrmNeighbourTopologies
 
unsigned int mNumTopology = 0
 
std::map< std::string, std::map< std::string, TopologyPtr > > mPatternToTopologyIdToTopolgy
 
std::map< std::string, unsigned int > mPatternToTopologyIndexCounter
 
TopologyGeneratorPtr mTopologyGenerator
 
TreeValidatorPtr mTreeValidator
 

Detailed Description

Definition at line 38 of file TopologyManager.hpp.

Constructor & Destructor Documentation

ISM::TopologyManager::TopologyManager ( EvaluatorPtr  evaluator,
TreeValidatorPtr  treeValidator,
TopologyGeneratorPtr  topologyGenerator,
DocumentationHelperPtr  documentationHelper 
)
inline

Definition at line 41 of file TopologyManager.hpp.

Member Function Documentation

void ISM::TopologyManager::addStartTopologiesToHistory ( std::vector< TopologyPtr startTopologies)

Definition at line 143 of file TopologyManager.cpp.

void ISM::TopologyManager::calculateNeighbours ( TopologyPtr  topology)
private
TreePtr ISM::TopologyManager::evaluateTopology ( TopologyPtr topology,
const std::string  filename = "" 
)

Definition at line 187 of file TopologyManager.cpp.

TopologyPtr ISM::TopologyManager::getFullyMeshedTopology ( bool  storeFullyMeshedISM = false)

Definition at line 125 of file TopologyManager.cpp.

std::vector< std::vector< std::pair< TopologyPtr, unsigned int > > > ISM::TopologyManager::getHistory ( )

Definition at line 120 of file TopologyManager.cpp.

TopologyPtr ISM::TopologyManager::getNextNeighbour ( )
virtual

Implements ISM::NeighbourhoodFunction< TopologyPtr >.

Definition at line 22 of file TopologyManager.cpp.

TopologyPtr ISM::TopologyManager::getRandomTopology ( )

Definition at line 27 of file TopologyManager.cpp.

std::vector< TopologyPtr > ISM::TopologyManager::getStarTopologies ( )

Definition at line 153 of file TopologyManager.cpp.

bool ISM::TopologyManager::hasNextNeighbour ( )
virtual

Implements ISM::NeighbourhoodFunction< TopologyPtr >.

Definition at line 61 of file TopologyManager.cpp.

void ISM::TopologyManager::logAlreadyAnalysed ( TopologyPtr  topology)
private

Definition at line 247 of file TopologyManager.cpp.

void ISM::TopologyManager::logSelectedTopology ( TopologyPtr  selectedTopology)
private

Definition at line 264 of file TopologyManager.cpp.

void ISM::TopologyManager::markSelectedTopology ( TopologyPtr  selectedTopology)
private

Definition at line 175 of file TopologyManager.cpp.

std::vector< TopologyPtr > ISM::TopologyManager::prepareStartTopologies ( std::vector< TopologyPtr > &  startTopologies)

Definition at line 90 of file TopologyManager.cpp.

void ISM::TopologyManager::prepareTopology ( TopologyPtr topology)
private

Definition at line 213 of file TopologyManager.cpp.

void ISM::TopologyManager::setReferenceInstance ( TopologyPtr  instance)
virtual

Implements ISM::NeighbourhoodFunction< TopologyPtr >.

Definition at line 78 of file TopologyManager.cpp.

void ISM::TopologyManager::setUp ( const std::string &  patternName)

Definition at line 105 of file TopologyManager.cpp.

Member Data Documentation

std::string ISM::TopologyManager::mCurrentPatternName
private

Definition at line 75 of file TopologyManager.hpp.

DocumentationHelperPtr ISM::TopologyManager::mDocumentationHelper
private

Definition at line 70 of file TopologyManager.hpp.

EvaluatorPtr ISM::TopologyManager::mEvaluator
private

Definition at line 67 of file TopologyManager.hpp.

bool ISM::TopologyManager::mHasNextInstance
private

Definition at line 72 of file TopologyManager.hpp.

std::vector<std::vector<std::pair<TopologyPtr, unsigned int> > > ISM::TopologyManager::mHistory
private

Definition at line 83 of file TopologyManager.hpp.

int ISM::TopologyManager::mHistoryIndex = 0
private

Definition at line 82 of file TopologyManager.hpp.

unsigned ISM::TopologyManager::mNeighbourIndex
private

Definition at line 78 of file TopologyManager.hpp.

std::vector<TopologyPtr> ISM::TopologyManager::mNeighbourTopologies
private

Definition at line 77 of file TopologyManager.hpp.

unsigned int ISM::TopologyManager::mNumTopology = 0
private

Definition at line 84 of file TopologyManager.hpp.

std::map<std::string, std::map<std::string, TopologyPtr> > ISM::TopologyManager::mPatternToTopologyIdToTopolgy
private

Definition at line 74 of file TopologyManager.hpp.

std::map<std::string, unsigned int> ISM::TopologyManager::mPatternToTopologyIndexCounter
private

Definition at line 80 of file TopologyManager.hpp.

TopologyGeneratorPtr ISM::TopologyManager::mTopologyGenerator
private

Definition at line 69 of file TopologyManager.hpp.

TreeValidatorPtr ISM::TopologyManager::mTreeValidator
private

Definition at line 68 of file TopologyManager.hpp.


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


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41