src/test/preflow_test.cc
changeset 850 54d3c1599d08
parent 842 a4bb28813570
child 855 8c44b64dd436
equal deleted inserted replaced
1:3633b1c6f309 2:5ff93f5cc515
    64   typedef Graph::EdgeMap<int> FlowMap;
    64   typedef Graph::EdgeMap<int> FlowMap;
    65   typedef Graph::NodeMap<bool> CutMap;
    65   typedef Graph::NodeMap<bool> CutMap;
    66 
    66 
    67   typedef Preflow<Graph, int> PType;
    67   typedef Preflow<Graph, int> PType;
    68 
    68 
    69   std::ifstream file("preflow_graph");
    69   std::ifstream file("preflow_graph.out");
    70   
    70   
    71   Graph G;
    71   Graph G;
    72   Node s, t;
    72   Node s, t;
    73   CapMap cap(G);
    73   CapMap cap(G);
    74   readDimacs(file, G, cap, s, t);
    74   readDimacs(file, G, cap, s, t);