$search
#include <gcgraph.hpp>
Classes | |
class | Edge |
class | Vtx |
Public Member Functions | |
void | addEdges (int i, int j, TWeight w, TWeight revw) |
void | addTermWeights (int i, TWeight sourceW, TWeight sinkW) |
int | addVtx () |
void | create (unsigned int vtxCount, unsigned int edgeCount) |
GCGraph (unsigned int vtxCount, unsigned int edgeCount) | |
GCGraph () | |
bool | inSourceSegment (int i) |
TWeight | maxFlow () |
~GCGraph () | |
Private Attributes | |
vector< Edge > | edges |
TWeight | flow |
vector< Vtx > | vtcs |
Definition at line 47 of file gcgraph.hpp.
Definition at line 85 of file gcgraph.hpp.
GCGraph< TWeight >::GCGraph | ( | unsigned int | vtxCount, | |
unsigned int | edgeCount | |||
) | [inline] |
Definition at line 90 of file gcgraph.hpp.
Definition at line 95 of file gcgraph.hpp.
void GCGraph< TWeight >::addEdges | ( | int | i, | |
int | j, | |||
TWeight | w, | |||
TWeight | revw | |||
) | [inline] |
Definition at line 116 of file gcgraph.hpp.
void GCGraph< TWeight >::addTermWeights | ( | int | i, | |
TWeight | sourceW, | |||
TWeight | sinkW | |||
) | [inline] |
Definition at line 138 of file gcgraph.hpp.
int GCGraph< TWeight >::addVtx | ( | ) | [inline] |
Definition at line 107 of file gcgraph.hpp.
void GCGraph< TWeight >::create | ( | unsigned int | vtxCount, | |
unsigned int | edgeCount | |||
) | [inline] |
Definition at line 99 of file gcgraph.hpp.
bool GCGraph< TWeight >::inSourceSegment | ( | int | i | ) | [inline] |
Definition at line 378 of file gcgraph.hpp.
TWeight GCGraph< TWeight >::maxFlow | ( | ) | [inline] |
Definition at line 152 of file gcgraph.hpp.
Definition at line 80 of file gcgraph.hpp.
Definition at line 81 of file gcgraph.hpp.
Definition at line 79 of file gcgraph.hpp.