bug fix
authordeba
Wed, 28 Nov 2007 18:01:38 +0000
changeset 252710f3b3286e63
parent 2526 b7727edd44f2
child 2528 e6bc5c0032e9
bug fix
class without constructor error
lemon/circulation.h
lemon/dinitz_sleator_tarjan.h
lemon/edmonds_karp.h
lemon/goldberg_tarjan.h
lemon/preflow.h
     1.1 --- a/lemon/circulation.h	Wed Nov 28 17:51:02 2007 +0000
     1.2 +++ b/lemon/circulation.h	Wed Nov 28 18:01:38 2007 +0000
     1.3 @@ -231,6 +231,12 @@
     1.4  
     1.5      /// @}
     1.6  
     1.7 +  protected:
     1.8 +
     1.9 +    Circulation() {}
    1.10 +  
    1.11 +  public:
    1.12 +
    1.13      /// The constructor of the class.
    1.14  
    1.15      /// The constructor of the class. 
     2.1 --- a/lemon/dinitz_sleator_tarjan.h	Wed Nov 28 17:51:02 2007 +0000
     2.2 +++ b/lemon/dinitz_sleator_tarjan.h	Wed Nov 28 18:01:38 2007 +0000
     2.3 @@ -213,6 +213,12 @@
     2.4        }
     2.5      };
     2.6  
     2.7 +  protected:
     2.8 +    
     2.9 +    DinitzSleatorTarjan() {}
    2.10 +
    2.11 +  public:
    2.12 +
    2.13      /// \brief The constructor of the class.
    2.14      ///
    2.15      /// The constructor of the class. 
     3.1 --- a/lemon/edmonds_karp.h	Wed Nov 28 17:51:02 2007 +0000
     3.2 +++ b/lemon/edmonds_karp.h	Wed Nov 28 18:01:38 2007 +0000
     3.3 @@ -192,6 +192,12 @@
     3.4  
     3.5      /// @}
     3.6  
     3.7 +  protected:
     3.8 +    
     3.9 +    EdmondsKarp() {}
    3.10 +
    3.11 +  public:
    3.12 +
    3.13      /// \brief The constructor of the class.
    3.14      ///
    3.15      /// The constructor of the class. 
     4.1 --- a/lemon/goldberg_tarjan.h	Wed Nov 28 17:51:02 2007 +0000
     4.2 +++ b/lemon/goldberg_tarjan.h	Wed Nov 28 18:01:38 2007 +0000
     4.3 @@ -272,7 +272,11 @@
     4.4        }
     4.5      };
     4.6  
     4.7 -  public: 
     4.8 +  protected:
     4.9 +    
    4.10 +    GoldbergTarjan() {}
    4.11 +
    4.12 +  public:
    4.13  
    4.14      /// \brief The constructor of the class.
    4.15      ///
     5.1 --- a/lemon/preflow.h	Wed Nov 28 17:51:02 2007 +0000
     5.2 +++ b/lemon/preflow.h	Wed Nov 28 18:01:38 2007 +0000
     5.3 @@ -168,6 +168,7 @@
     5.4  
     5.5      bool _phase;
     5.6  
     5.7 +
     5.8      void createStructures() {
     5.9        _node_num = countNodes(_graph);
    5.10  
    5.11 @@ -266,6 +267,13 @@
    5.12  
    5.13      /// @}
    5.14  
    5.15 +  protected:
    5.16 +    
    5.17 +    Preflow() {}
    5.18 +
    5.19 +  public:
    5.20 +
    5.21 +
    5.22      /// \brief The constructor of the class.
    5.23      ///
    5.24      /// The constructor of the class.