lemon/preflow.h
changeset 2550 f26368148b9c
parent 2525 10715b6bcd86
child 2553 bfced05fa852
equal deleted inserted replaced
26:3b835540ea0f 27:1971b7b3649f
   166 
   166 
   167     Tolerance _tolerance;
   167     Tolerance _tolerance;
   168 
   168 
   169     bool _phase;
   169     bool _phase;
   170 
   170 
       
   171 
   171     void createStructures() {
   172     void createStructures() {
   172       _node_num = countNodes(_graph);
   173       _node_num = countNodes(_graph);
   173 
   174 
   174       if (!_flow) {
   175       if (!_flow) {
   175 	_flow = Traits::createFlowMap(_graph);
   176 	_flow = Traits::createFlowMap(_graph);
   263       typedef Preflow<Graph, CapacityMap, 
   264       typedef Preflow<Graph, CapacityMap, 
   264 		      DefStandardElevatorTraits<_Elevator> > Create;
   265 		      DefStandardElevatorTraits<_Elevator> > Create;
   265     };    
   266     };    
   266 
   267 
   267     /// @}
   268     /// @}
       
   269 
       
   270   protected:
       
   271     
       
   272     Preflow() {}
       
   273 
       
   274   public:
       
   275 
   268 
   276 
   269     /// \brief The constructor of the class.
   277     /// \brief The constructor of the class.
   270     ///
   278     ///
   271     /// The constructor of the class. 
   279     /// The constructor of the class. 
   272     /// \param graph The directed graph the algorithm runs on. 
   280     /// \param graph The directed graph the algorithm runs on.