# HG changeset patch # User athos # Date 1111574136 0 # Node ID 925002e098e7b13a61d0a66dfc342e1d30030f01 # Parent e04370dd4ed454ee75469a98f8521964d34159f4 Csak a te kedvedert. diff -r e04370dd4ed4 -r 925002e098e7 src/work/athos/lp/lp_base.cc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/work/athos/lp/lp_base.cc Wed Mar 23 10:35:36 2005 +0000 @@ -0,0 +1,13 @@ +// -*- c++ -*- +#ifndef LEMON_LP_BASE_CC +#define LEMON_LP_BASE_CC + +///\file +///\brief The implementation of the LP solver interface. + +#include "lp_base.h" +namespace lemon { + +} //namespace lemon + +#endif //LEMON_LP_BASE_CC diff -r e04370dd4ed4 -r 925002e098e7 src/work/athos/lp/lp_base.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/work/athos/lp/lp_base.h Wed Mar 23 10:35:36 2005 +0000 @@ -0,0 +1,32 @@ +// -*- c++ -*- +#ifndef LEMON_LP_BASE_H +#define LEMON_LP_BASE_H + +///\file +///\brief The interface of the LP solver interface. +namespace lemon { + class LpSolverBase { + protected: + + //MATRIX MANIPULATING FUNCTIONS + + /// \e + virtual int _addCol() = 0; + /// \e + virtual int _addRow() = 0; + /// \e + /// \warning Arrays are indexed from 1 (datum at index 0 is ignored) + virtual void _setRowCoeffs(int i, + int * &indices, + double * &doubles ) = 0; + /// \e + /// \warning Arrays are indexed from 1 (datum at index 0 is ignored) + virtual void _setColCoeffs(int i, + int * &indices, + double * &doubles ) = 0; + + } + +} //namespace lemon + +#endif //LEMON_LP_BASE_H