numvar.h

Go to the documentation of this file.
00001 
00033 #ifndef ABA_NUMVAR_H
00034 #define ABA_NUMVAR_H
00035 
00036 #include "abacus/variable.h"
00037 
00038   class  ABA_NUMVAR :  public ABA_VARIABLE  { 
00039     public: 
00040 
00079       ABA_NUMVAR(ABA_MASTER *master, 
00080                  const ABA_SUB *sub, 
00081                  int number, 
00082                  bool dynamic, 
00083                  bool local,
00084                  double obj, 
00085                  double lBound, 
00086                  double uBound, 
00087                  ABA_VARTYPE::TYPE type);
00088 
00090       virtual ~ABA_NUMVAR();
00091 #ifdef ABACUS_PARALLEL
00092 
00097       ABA_NUMVAR(const ABA_MASTER *master, ABA_MESSAGE &msg);
00098 
00103       virtual void pack(ABA_MESSAGE &msg) const;
00104 
00109       virtual int classId() const;
00110 #endif
00111 
00119       friend ostream &operator<<(ostream &out, const ABA_NUMVAR &rhs);
00120 
00123       int number() const;
00124     protected: 
00125 
00126 
00129       int number_;
00130   };
00131 
00132 
00133 inline int ABA_NUMVAR::number () const
00134   {
00135     return number_;
00136   }
00137 
00138 
00139 #endif  // ABA_NUMVAR_H
00140 

Generated on Tue Aug 14 18:09:54 2007 for ABACUS by  doxygen 1.5.1