src/work/jacint/preflow_res.h
changeset 978 175cf8c3a994
parent 444 618c5d6f36b9
child 986 e997802b855c
equal deleted inserted replaced
3:fc7724dfc9d0 4:a6c616feb8cf
     1 // -*- C++ -*-
     1 // -*- C++ -*-
     2 //The same as preflow.h, using ResGraphWrapper
     2 //The same as preflow.h, using ResGraphWrapper
     3 #ifndef HUGO_PREFLOW_RES_H
     3 #ifndef LEMON_PREFLOW_RES_H
     4 #define HUGO_PREFLOW_RES_H
     4 #define LEMON_PREFLOW_RES_H
     5 
     5 
     6 #define H0 20
     6 #define H0 20
     7 #define H1 1
     7 #define H1 1
     8 
     8 
     9 #include <vector>
     9 #include <vector>
    10 #include <queue>
    10 #include <queue>
    11 #include <graph_wrapper.h>
    11 #include <graph_wrapper.h>
    12 
    12 
    13 #include<iostream>
    13 #include<iostream>
    14 
    14 
    15 namespace hugo {
    15 namespace lemon {
    16 
    16 
    17   template <typename Graph, typename T, 
    17   template <typename Graph, typename T, 
    18 	    typename CapMap=typename Graph::template EdgeMap<T>, 
    18 	    typename CapMap=typename Graph::template EdgeMap<T>, 
    19             typename FlowMap=typename Graph::template EdgeMap<T> >
    19             typename FlowMap=typename Graph::template EdgeMap<T> >
    20   class PreflowRes {
    20   class PreflowRes {
   484     }
   484     }
   485 
   485 
   486 
   486 
   487   };
   487   };
   488 
   488 
   489 } //namespace hugo
   489 } //namespace lemon
   490 
   490 
   491 #endif //HUGO_PREFLOW_RES_H
   491 #endif //LEMON_PREFLOW_RES_H
   492 
   492 
   493 
   493 
   494 
   494 
   495 
   495