Read@CVL
|
#include <GCGraph.hpp>
Public Member Functions | |
GCGraph () | |
GCGraph (unsigned int vtxCount, unsigned int edgeCount) | |
~GCGraph () | |
void | create (unsigned int vtxCount, unsigned int edgeCount) |
int | addVtx () |
void | addEdges (int i, int j, TWeight w, TWeight revw) |
void | addTermWeights (int i, TWeight sourceW, TWeight sinkW) |
TWeight | maxFlow () |
bool | inSourceSegment (int i) |
uchar | vtxT (int i) const |
rd3::GCGraph< TWeight >::GCGraph | ( | ) |
rd3::GCGraph< TWeight >::GCGraph | ( | unsigned int | vtxCount, |
unsigned int | edgeCount | ||
) |
rd3::GCGraph< TWeight >::~GCGraph | ( | ) |
void rd3::GCGraph< TWeight >::addEdges | ( | int | i, |
int | j, | ||
TWeight | w, | ||
TWeight | revw | ||
) |
void rd3::GCGraph< TWeight >::addTermWeights | ( | int | i, |
TWeight | sourceW, | ||
TWeight | sinkW | ||
) |
int rd3::GCGraph< TWeight >::addVtx | ( | ) |
void rd3::GCGraph< TWeight >::create | ( | unsigned int | vtxCount, |
unsigned int | edgeCount | ||
) |
bool rd3::GCGraph< TWeight >::inSourceSegment | ( | int | i | ) |
TWeight rd3::GCGraph< TWeight >::maxFlow | ( | ) |
uchar rd3::GCGraph< TWeight >::vtxT | ( | int | i | ) | const |