4600-project-2/inc/graph.hpp

23 lines
493 B
C++

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?
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();// ?
};