00001 #ifndef SCIL_ABA_VARIABLE_H
00002 #define SCIL_ABA_VARIABLE_H
00003
00004 #include <abacus/variable.h>
00005 #include <LEDA/memory.h>
00006
00007 namespace SCIL {
00008
00009 class var_obj;
00010
00011 class ABA_Variable : public ABA_VARIABLE {
00012
00013 friend class ILP_Problem;
00014 friend class subproblem;
00015
00016 private:
00017 var_obj* Ref_Var;
00018
00019 public:
00020
00021 LEDA_MEMORY(ABA_Variable)
00022
00023 ABA_Variable(subproblem& S_, var_obj*, Activation, Validity,
00024 double obj, double lBound, double uBound, Vartype);
00025
00026 ABA_Variable(ILP_Problem& IP_, var_obj*, Activation,
00027 Validity, double obj, double lBound, double uBound,
00028 Vartype);
00029
00030 virtual int genColumn(Active_Inequalities* ai, Column& col);
00031
00032 virtual double coeff(ABA_CONSTRAINT* c);
00033
00034 var_obj* SVar();
00035
00036 virtual ~ABA_Variable();
00037 };
00038
00039 };
00040
00041 #endif