src/lemon/lp_skeleton.h
changeset 1324 eca073533990
parent 1312 48f9299b390d
child 1356 10d84041141c
equal deleted inserted replaced
1:f03ee0bd6959 0:ace84404e858
     1 /* -*- C++ -*-
     1 /* -*- C++ -*-
     2  * src/lemon/lp_solver_skeleton.h
     2  * src/lemon/lp_skeleton.h
     3  * - Part of LEMON, a generic C++ optimization library
     3  * - Part of LEMON, a generic C++ optimization library
     4  *
     4  *
     5  * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     5  * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     6  * (Egervary Combinatorial Optimization Research Group, EGRES).
     6  * (Egervary Combinatorial Optimization Research Group, EGRES).
     7  *
     7  *
    13  * express or implied, and with no claim as to its suitability for any
    13  * express or implied, and with no claim as to its suitability for any
    14  * purpose.
    14  * purpose.
    15  *
    15  *
    16  */
    16  */
    17 
    17 
    18 #ifndef LEMON_LP_SOLVER_SKELETON
    18 #ifndef LEMON_LP_SKELETON
    19 #define LEMON_LP_SOLVER_SKELETON
    19 #define LEMON_LP_SKELETON
    20 
    20 
    21 #include"lp_base.h"
    21 #include"lp_base.h"
    22 
    22 
    23 ///\file
    23 ///\file
    24 ///\brief A skeleton file to implement LP solver interfaces
    24 ///\brief A skeleton file to implement LP solver interfaces
    25 namespace lemon {
    25 namespace lemon {
    26   
    26   
    27   ///A skeleton class to implement LP solver interfaces
    27   ///A skeleton class to implement LP solver interfaces
    28   class LpSolverSkeleton :public LpSolverBase {
    28   class LpSkeleton :public LpSolverBase {
    29     int col_num,row_num;
    29     int col_num,row_num;
    30     
    30     
    31   protected:
    31   protected:
    32     /// \e
    32     /// \e
    33     virtual int _addCol();
    33     virtual int _addCol();
   105     ///\e
   105     ///\e
   106     virtual void _setMin();
   106     virtual void _setMin();
   107     
   107     
   108 
   108 
   109   public:
   109   public:
   110     LpSolverSkeleton() : LpSolverBase(), col_num(0), row_num(0) {}
   110     LpSkeleton() : LpSolverBase(), col_num(0), row_num(0) {}
   111   };  
   111   };  
   112 
   112 
   113 } //namespace lemon
   113 } //namespace lemon
   114 
   114 
   115 #endif // LEMON_LP_SOLVER_SKELETON
   115 #endif // LEMON_LP_SKELETON