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

#include <ConnectivityChecker.hpp>

Classes

struct  Relation
 

Public Member Functions

 ConnectivityChecker (std::map< std::string, unsigned int > numObjectsPerPattern)
 
bool isConnected (std::vector< bool > bitvector, const std::string &patternName)
 

Private Member Functions

void checkNeighbour (const std::string &patternName, unsigned int from, unsigned int index, std::vector< bool > bitvector)
 
void visitNeighbours (const std::string &patternName, unsigned int from, std::vector< bool > bitvector)
 

Private Attributes

std::map< std::string, unsigned int > mNumObjectsPerPattern
 
std::map< std::string, std::vector< Relation > > mRelationsPerPattern
 
std::stack< unsigned int > mToVisit
 
std::set< unsigned int > mVisited
 

Detailed Description

Definition at line 28 of file ConnectivityChecker.hpp.

Constructor & Destructor Documentation

ISM::ConnectivityChecker::ConnectivityChecker ( std::map< std::string, unsigned int >  numObjectsPerPattern)

Definition at line 24 of file ConnectivityChecker.cpp.

Member Function Documentation

void ISM::ConnectivityChecker::checkNeighbour ( const std::string &  patternName,
unsigned int  from,
unsigned int  index,
std::vector< bool >  bitvector 
)
private

Definition at line 74 of file ConnectivityChecker.cpp.

bool ISM::ConnectivityChecker::isConnected ( std::vector< bool >  bitvector,
const std::string &  patternName 
)

Definition at line 45 of file ConnectivityChecker.cpp.

void ISM::ConnectivityChecker::visitNeighbours ( const std::string &  patternName,
unsigned int  from,
std::vector< bool >  bitvector 
)
private

Definition at line 86 of file ConnectivityChecker.cpp.

Member Data Documentation

std::map<std::string, unsigned int> ISM::ConnectivityChecker::mNumObjectsPerPattern
private

Definition at line 50 of file ConnectivityChecker.hpp.

std::map<std::string, std::vector<Relation> > ISM::ConnectivityChecker::mRelationsPerPattern
private

Definition at line 51 of file ConnectivityChecker.hpp.

std::stack<unsigned int> ISM::ConnectivityChecker::mToVisit
private

Definition at line 54 of file ConnectivityChecker.hpp.

std::set<unsigned int> ISM::ConnectivityChecker::mVisited
private

Definition at line 53 of file ConnectivityChecker.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