[Lemon-commits] [lemon_svn] alpar: r1752 - in hugo/trunk/src: lemon test
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:47:21 CET 2006
Author: alpar
Date: Thu Apr 7 08:38:56 2005
New Revision: 1752
Added:
hugo/trunk/src/lemon/lp_skeleton.cc
- copied, changed from r1751, /hugo/trunk/src/lemon/lp_solver_skeleton.cc
hugo/trunk/src/lemon/lp_skeleton.h
- copied, changed from r1751, /hugo/trunk/src/lemon/lp_solver_skeleton.h
Removed:
hugo/trunk/src/lemon/lp_solver_skeleton.cc
hugo/trunk/src/lemon/lp_solver_skeleton.h
Modified:
hugo/trunk/src/lemon/Makefile.am
hugo/trunk/src/test/lp_test.cc
Log:
LpSolverSkeleton -> LpSkeleton
lp_solver_skeleton* -> lp_skeleton*
Modified: hugo/trunk/src/lemon/Makefile.am
==============================================================================
--- hugo/trunk/src/lemon/Makefile.am (original)
+++ hugo/trunk/src/lemon/Makefile.am Thu Apr 7 08:38:56 2005
@@ -7,7 +7,7 @@
libemon_la_SOURCES = \
lp_base.cc \
lp_glpk.cc \
- lp_solver_skeleton.cc
+ lp_skeleton.cc
pkginclude_HEADERS = \
bezier.h \
@@ -56,7 +56,7 @@
noinst_HEADERS = \
lp_base.h \
lp_glpk.h \
- lp_solver_skeleton.h \
+ lp_skeleton.h \
concept/graph.h \
concept/graph_component.h \
concept/undir_graph.h \
Copied: hugo/trunk/src/lemon/lp_skeleton.cc (from r1751, /hugo/trunk/src/lemon/lp_solver_skeleton.cc)
==============================================================================
--- /hugo/trunk/src/lemon/lp_solver_skeleton.cc (original)
+++ hugo/trunk/src/lemon/lp_skeleton.cc Thu Apr 7 08:38:56 2005
@@ -1,5 +1,5 @@
/* -*- C++ -*-
- * src/lemon/lp_solver_skeleton.cc
+ * src/lemon/lp_skeleton.cc
* - Part of LEMON, a generic C++ optimization library
*
* Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
@@ -15,79 +15,79 @@
*
*/
-#include <lemon/lp_solver_skeleton.h>
+#include <lemon/lp_skeleton.h>
///\file
///\brief A skeleton file to implement LP solver interfaces
namespace lemon {
- int LpSolverSkeleton::_addCol()
+ int LpSkeleton::_addCol()
{
return ++col_num;
}
- int LpSolverSkeleton::_addRow()
+ int LpSkeleton::_addRow()
{
return ++row_num;
}
- void LpSolverSkeleton::_setRowCoeffs(int i,
+ void LpSkeleton::_setRowCoeffs(int i,
int length,
int const * indices,
Value const * values )
{
}
- void LpSolverSkeleton::_setColCoeffs(int i,
+ void LpSkeleton::_setColCoeffs(int i,
int length,
int const * indices,
Value const * values)
{
}
- void LpSolverSkeleton::_setColLowerBound(int i, Value value)
+ void LpSkeleton::_setColLowerBound(int i, Value value)
{
}
- void LpSolverSkeleton::_setColUpperBound(int i, Value value)
+ void LpSkeleton::_setColUpperBound(int i, Value value)
{
}
- void LpSolverSkeleton::_setRowLowerBound(int i, Value value)
+ void LpSkeleton::_setRowLowerBound(int i, Value value)
{
}
- void LpSolverSkeleton::_setRowUpperBound(int i, Value value)
+ void LpSkeleton::_setRowUpperBound(int i, Value value)
{
}
- void LpSolverSkeleton::_setObjCoeff(int i, Value obj_coef)
+ void LpSkeleton::_setObjCoeff(int i, Value obj_coef)
{
}
- void LpSolverSkeleton::_setMax()
+ void LpSkeleton::_setMax()
{
}
- void LpSolverSkeleton::_setMin()
+ void LpSkeleton::_setMin()
{
}
- LpSolverSkeleton::SolveExitStatus LpSolverSkeleton::_solve()
+ LpSkeleton::SolveExitStatus LpSkeleton::_solve()
{
return SOLVED;
}
- LpSolverSkeleton::Value LpSolverSkeleton::_getPrimal(int i)
+ LpSkeleton::Value LpSkeleton::_getPrimal(int i)
{
return 0;
}
- LpSolverSkeleton::Value LpSolverSkeleton::_getPrimalValue()
+ LpSkeleton::Value LpSkeleton::_getPrimalValue()
{
return 0;
}
- LpSolverSkeleton::SolutionStatus LpSolverSkeleton::_getPrimalStatus()
+ LpSkeleton::SolutionStatus LpSkeleton::_getPrimalStatus()
{
return OPTIMAL;
}
Copied: hugo/trunk/src/lemon/lp_skeleton.h (from r1751, /hugo/trunk/src/lemon/lp_solver_skeleton.h)
==============================================================================
--- /hugo/trunk/src/lemon/lp_solver_skeleton.h (original)
+++ hugo/trunk/src/lemon/lp_skeleton.h Thu Apr 7 08:38:56 2005
@@ -1,5 +1,5 @@
/* -*- C++ -*-
- * src/lemon/lp_solver_skeleton.h
+ * src/lemon/lp_skeleton.h
* - Part of LEMON, a generic C++ optimization library
*
* Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
@@ -15,8 +15,8 @@
*
*/
-#ifndef LEMON_LP_SOLVER_SKELETON
-#define LEMON_LP_SOLVER_SKELETON
+#ifndef LEMON_LP_SKELETON
+#define LEMON_LP_SKELETON
#include"lp_base.h"
@@ -25,7 +25,7 @@
namespace lemon {
///A skeleton class to implement LP solver interfaces
- class LpSolverSkeleton :public LpSolverBase {
+ class LpSkeleton :public LpSolverBase {
int col_num,row_num;
protected:
@@ -107,9 +107,9 @@
public:
- LpSolverSkeleton() : LpSolverBase(), col_num(0), row_num(0) {}
+ LpSkeleton() : LpSolverBase(), col_num(0), row_num(0) {}
};
} //namespace lemon
-#endif // LEMON_LP_SOLVER_SKELETON
+#endif // LEMON_LP_SKELETON
Modified: hugo/trunk/src/test/lp_test.cc
==============================================================================
--- hugo/trunk/src/test/lp_test.cc (original)
+++ hugo/trunk/src/test/lp_test.cc Thu Apr 7 08:38:56 2005
@@ -1,4 +1,4 @@
-#include<lemon/lp_solver_skeleton.h>
+#include<lemon/lp_skeleton.h>
#include<lemon/lp_glpk.h>
using namespace lemon;
@@ -129,7 +129,7 @@
int main()
{
- LpSolverSkeleton lp_skel;
+ LpSkeleton lp_skel;
LpGlpk lp_glpk;
lpTest(lp_skel);
More information about the Lemon-commits
mailing list