salsa
0.4.0
|
HyperCube algorithm class. More...
#include <HyperCube.hh>
Public Member Functions | |
HyperCube (int power=3, int start=1) | |
Create HyperCube. | |
virtual | ~HyperCube () |
void | print () const |
Printing Hyper cube paths. | |
void | createAdjMatrix () |
create matrix adjacency | |
void | addNode (std::string nodeName) |
add new node in HC | |
void | removeNode (std::string nodeName) |
remove node from HC | |
void | createPaths () |
Creat outPut vectors. | |
Static Public Member Functions | |
static std::shared_ptr < spdlog::logger > | getConsoleOutput () |
Get console output. | |
static void | setConsoleLevel (spdlog::level::level_enum level) |
Sets console log level. | |
Public Attributes | |
std::map< int, std::string > | _nodeMap |
avalible nodes and their numbers | |
Private Attributes | |
int | mPower |
Power. | |
int | mStart |
Starting point. | |
std::vector< int > | mPassedNodes |
Passed nodes. | |
std::vector< std::vector< int > > | mAdjMatrix |
Matrix adjacency. | |
std::vector< std::vector< int > > | mPaths |
Output paths. | |
HyperCube algorithm class.
Definition at line 16 of file HyperCube.hh.
|
virtual |
Destructor
Definition at line 16 of file HyperCube.cc.