Changeset 389:770cc1f4861f in lemon0.x for src/work/jacint/preflow.h
 Timestamp:
 04/24/04 14:44:41 (20 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@520
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/work/jacint/preflow.h
r372 r389 53 53 54 54 template <typename Graph, typename T, 55 typename CapMap=typename Graph:: EdgeMap<T>,56 typename FlowMap=typename Graph:: EdgeMap<T> >55 typename CapMap=typename Graph::template EdgeMap<T>, 56 typename FlowMap=typename Graph::template EdgeMap<T> > 57 57 class Preflow { 58 58 … … 100 100 int b=k; //bound on the highest level under n of an active node 101 101 102 typename Graph:: NodeMap<int> level(G,n);103 typename Graph:: NodeMap<T> excess(G);102 typename Graph::template NodeMap<int> level(G,n); 103 typename Graph::template NodeMap<T> excess(G); 104 104 105 105 std::vector<Node> active(n1,INVALID); 106 typename Graph:: NodeMap<Node> next(G,INVALID);106 typename Graph::template NodeMap<Node> next(G,INVALID); 107 107 //Stack of the active nodes in level i < n. 108 108 //We use it in both phases. 109 109 110 typename Graph:: NodeMap<Node> left(G,INVALID);111 typename Graph:: NodeMap<Node> right(G,INVALID);110 typename Graph::template NodeMap<Node> left(G,INVALID); 111 typename Graph::template NodeMap<Node> right(G,INVALID); 112 112 std::vector<Node> level_list(n,INVALID); 113 113 /*
Note: See TracChangeset
for help on using the changeset viewer.