4600-project-2/inc/graph.hpp

23 lines
493 B
C++
Raw Normal View History

2022-04-17 00:03:38 +00:00
2022-04-18 03:03:17 +00:00
class graph {
private:
int num_processes;
int num_resources;
int *resource_counts;
struct m{
int x, y;
int **data;
} matrix; // Tell me, Mr. Anderson, what good is a phone call if you are unable to speak?
2022-04-17 00:03:38 +00:00
2022-04-18 03:03:17 +00:00
public:
// Constructors
graph(const int processes, const int resources);
// Destructors
~graph();
// Initializers:
void init(const int **data);
// check functions:
// is the graph...
bool reducible();// ?
bool knotted();// ?
};