graph::print
Create function to print a graph
This commit is contained in:
@@ -5,12 +5,19 @@ public:
|
||||
graph() {}
|
||||
graph(const int processes, const int resources);
|
||||
// Initializers:
|
||||
// Read a graph from a file
|
||||
void read(std::string filename);
|
||||
// TODO: generate a random graph
|
||||
void random(int processes, int resources);
|
||||
// check functions:
|
||||
// is the graph...
|
||||
bool reducible();// ?
|
||||
bool knotted();// ?
|
||||
|
||||
// miscellaneous functions:
|
||||
// print the graph
|
||||
void print ();
|
||||
|
||||
struct m{
|
||||
int x, y;
|
||||
std::vector<std::vector<int>> data;
|
||||
|
||||
Reference in New Issue
Block a user