#include <TopologyManager.hpp>
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< TopologyPtr > | getStarTopologies () |
bool | hasNextNeighbour () |
std::vector< TopologyPtr > | prepareStartTopologies (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< TopologyPtr > | mNeighbourTopologies |
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 |
Definition at line 38 of file TopologyManager.hpp.
|
inline |
Definition at line 41 of file TopologyManager.hpp.
void ISM::TopologyManager::addStartTopologiesToHistory | ( | std::vector< TopologyPtr > | startTopologies | ) |
Definition at line 143 of file TopologyManager.cpp.
|
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.
|
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.
|
virtual |
Implements ISM::NeighbourhoodFunction< TopologyPtr >.
Definition at line 61 of file TopologyManager.cpp.
|
private |
Definition at line 247 of file TopologyManager.cpp.
|
private |
Definition at line 264 of file TopologyManager.cpp.
|
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.
|
private |
Definition at line 213 of file TopologyManager.cpp.
|
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.
|
private |
Definition at line 75 of file TopologyManager.hpp.
|
private |
Definition at line 70 of file TopologyManager.hpp.
|
private |
Definition at line 67 of file TopologyManager.hpp.
|
private |
Definition at line 72 of file TopologyManager.hpp.
|
private |
Definition at line 83 of file TopologyManager.hpp.
|
private |
Definition at line 82 of file TopologyManager.hpp.
|
private |
Definition at line 78 of file TopologyManager.hpp.
|
private |
Definition at line 77 of file TopologyManager.hpp.
|
private |
Definition at line 84 of file TopologyManager.hpp.
|
private |
Definition at line 74 of file TopologyManager.hpp.
|
private |
Definition at line 80 of file TopologyManager.hpp.
|
private |
Definition at line 69 of file TopologyManager.hpp.
|
private |
Definition at line 68 of file TopologyManager.hpp.