salsa  0.4.0
 All Classes Functions Variables Typedefs Enumerations Pages
Salsa::HyperCube Class Reference

HyperCube algorithm class. More...

#include <HyperCube.hh>

Inheritance diagram for Salsa::HyperCube:
Salsa::Object

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.
 

Detailed Description

HyperCube algorithm class.

Author
Andrey Bulatov andre.nosp@m.y.bu.nosp@m.latov.nosp@m.20@g.nosp@m.mail..nosp@m.com

Definition at line 16 of file HyperCube.hh.

Constructor & Destructor Documentation

Salsa::HyperCube::~HyperCube ( )
virtual

Destructor

Definition at line 16 of file HyperCube.cc.


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