Lines Matching refs:TWeight
45 template <class TWeight> class GCGraph
53 void addEdges( int i, int j, TWeight w, TWeight revw );
54 void addTermWeights( int i, TWeight sourceW, TWeight sinkW );
55 TWeight maxFlow();
66 TWeight weight;
74 TWeight weight;
79 TWeight flow;
82 template <class TWeight>
83 GCGraph<TWeight>::GCGraph() in GCGraph()
87 template <class TWeight>
88 GCGraph<TWeight>::GCGraph( unsigned int vtxCount, unsigned int edgeCount ) in GCGraph()
92 template <class TWeight>
93 GCGraph<TWeight>::~GCGraph() in ~GCGraph()
96 template <class TWeight>
97 void GCGraph<TWeight>::create( unsigned int vtxCount, unsigned int edgeCount ) in create()
104 template <class TWeight>
105 int GCGraph<TWeight>::addVtx() in addVtx()
113 template <class TWeight>
114 void GCGraph<TWeight>::addEdges( int i, int j, TWeight w, TWeight revw ) in addEdges()
138 template <class TWeight>
139 void GCGraph<TWeight>::addTermWeights( int i, TWeight sourceW, TWeight sinkW ) in addTermWeights()
143 TWeight dw = vtcs[i].weight; in addTermWeights()
152 template <class TWeight>
153 TWeight GCGraph<TWeight>::maxFlow() in maxFlow()
188 TWeight minWeight, weight; in maxFlow()
378 template <class TWeight>
379 bool GCGraph<TWeight>::inSourceSegment( int i ) in inSourceSegment()