Main Page   Class Hierarchy   Compound List   File List   Contact   Download   Symbolic Constraints   Examples  

row_constraint.h

00001 #ifndef SCIL_ROW_CONSTRAINT_H
00002 #define SCIL_ROW_CONSTRAINT_H
00003 
00004 #include<LEDA/array.h>
00005 #include<scil/cons_obj.h>
00006 #include<scil/variable.h>
00007 
00008 namespace SCIL {
00009 
00010 class var_obj;
00011 class row;
00012 
00013 class row_constraint : public cons_obj {
00014   
00015  private:
00016   LEDA::array<var> NZV;
00017   LEDA::array<double> NZC;
00018   
00019  public:
00020   row_constraint(row& r, cons_sense s);
00021   double rhs();
00022   double coeff(var_obj* v);
00023   void non_zero_entries(row& r);
00024 };
00025 };
00026 
00027 #endif

Generated on Tue Nov 16 15:18:19 2004 for SCIL by doxygen1.2.16