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

max.h

00001 #ifndef MAX_H
00002 #define MAX_H
00003 
00004 #include<scil/scil.h>
00005 
00006 namespace SCIL {
00007 
00012 class MAX : public sym_constraint {
00013 
00014    //FIXME private:
00015    public:
00016       var v;
00017       var_map<int>& VM;
00018       std::map<var, double>& CF;
00019       int n;
00020       bool geq;
00021       double mc;
00022 
00023    public:
00031 
00032       MAX(var v_, var_map<int>& VM_, std::map<var, double>& CF_, int n_, bool geq_ = false);
00033 
00035       void init(subproblem& S);
00036 
00039       status standard_separation(subproblem& S);
00040 
00043       status feasible(solution& S);
00044 
00047       void info();
00048 };
00049 
00050 }
00051 #endif
Generated on Mon Mar 28 22:03:48 2011 for SCIL by  doxygen 1.6.3