forked from kmrodgers/GraphTheoryProgram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHypercubeGraphLogical.h
44 lines (37 loc) · 900 Bytes
/
HypercubeGraphLogical.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//HypercubeGraphLogical.h
#ifndef GUARD_HypercubeGraphLogical_h
#define GUARD_HypercubeGraphLogical_h
#include <list>
#include <vector>
#include <string>
//#include <boolean>
class Node;
class HypercubeGraphLogical {
public:
HypercubeGraphLogical(int, int, bool, int, int);
virtual ~HypercubeGraphLogical();
void createInitialEdges();
void createInitialNodes(int);
void removeEdge();
void printVersion();
void print();
void game();
//std::vector<std::string> player1;
//std::vector<std::string> player2;
//void analysis(int);
int getRandomNumber(int);
int getRandomEdge(int);
int gameNumber;
int getnumberOfNodes();
private:
int nodeNameCount; //Keeps track of what the name of the next Node will be
int edgeWeight;
int totalGames;
int numberOfNodes;
int dimension;
bool watch;
void rotateBar();
int barCount;
std::list<Node*> nodeList;
};
#endif