src/lemon/dimacs.h
changeset 1063 d53a12d49262
parent 986 e997802b855c
child 1164 80bb73097736
equal deleted inserted replaced
2:a67f32a7ccb5 3:54d1185179dc
    48   template<typename Graph, typename CapacityMap, typename CostMap>
    48   template<typename Graph, typename CapacityMap, typename CostMap>
    49   void readDimacs(std::istream& is, Graph &g, CapacityMap& capacity, 
    49   void readDimacs(std::istream& is, Graph &g, CapacityMap& capacity, 
    50 		  typename Graph::Node &s, typename Graph::Node &t, 
    50 		  typename Graph::Node &s, typename Graph::Node &t, 
    51 		  CostMap& cost) {
    51 		  CostMap& cost) {
    52     g.clear();
    52     g.clear();
    53     typename CapacityMap::ValueType _cap;
    53     typename CapacityMap::Value _cap;
    54     typename CostMap::ValueType _cost;
    54     typename CostMap::Value _cost;
    55     char d;
    55     char d;
    56     std::string problem;
    56     std::string problem;
    57     char c;
    57     char c;
    58     int i, j;
    58     int i, j;
    59     std::string str;
    59     std::string str;