Class Graph
#include <Graph.h >
This is a simple graph class for general application.
Each node has a label, adjacency list, visited flag, and app-specific data.
const string& graph |
Default value: "" |
const string& nodelabel |
|
const string& nodedata |
Default value: "" |
const string& nodelabel |
|
long nodedata |
const string& nodelabel1 |
|
const string& nodelabel2 |
|
bool bidirectional |
Default value: true |
int n1 |
|
int n2 |
|
bool bidirectional |
Default value: true |
const string& nodelabel |
const string& nodelabel |
const string& nodelabel |
int nodeid |
const string& nodelabel |
|
bool visited |
Default value: true |
const string& nodelabel |
const string& nodelabel1 |
|
const string& nodelabel2 |
const string& nodelabel1 |
|
const string& nodelabel2 |
const string& nodelabel |
const string& nodelabel |
int nodeid |
int nodeid |
const string& nodelabel |
|
const string& data |
const string& nodelabel |
|
long data |
const string& startNode |
|
bool shortest |
Default value: true |
int startNode |
|
bool shortest |
Default value: true |
const string& startNode |
int startNode |
const string& startNode |
int startNode |
const string& nodelabel |
int nodeid |
int nodeid |
int nodeid |
const string& graph |
Default value: "" |
const IntList& path |
|
bool includeData |
Default value: false |
vector <GraphNode > node |
int nodeid |
|
const IntList& prepath |
|
bool shortest |