00001 #ifndef SCIL_ROW_ENTRY_H
00002 #define SCIL_ROW_ENTRY_H
00003
00004 #include <iostream.h>
00005 #include <scil/variable.h>
00006 #include <LEDA/memory.h>
00007
00008 namespace SCIL {
00009
00010 class row_entry
00011 {
00012 public:
00013 LEDA_MEMORY(row_entry)
00014
00015 double coeff;
00016 var Var;
00017
00018 row_entry(var v, double c);
00019
00020
00021 row_entry() { };
00022 friend ostream& operator<<(ostream& o,const row_entry&);
00023 friend istream& operator>>(istream& i,const row_entry&);
00024
00025 };
00026
00027 int compare(const SCIL::row_entry& t1, const SCIL::row_entry& t2);
00028
00029 };
00030 #endif