[╯°□°]╯︵┻━┻
Goldberg Simulator 20000
|
00001 00002 #include "Vect.h" 00003 #include <vector> 00004 #include <functionnal> 00005 #include <tuple> 00006 00007 class Constrain{ 00008 protected: 00009 double Jacobien(int i, int j, Obj* obj1, Obj* obj2, double lambda); 00010 public: 00011 virtual void constrain(); 00012 }; 00013 00014 00015 class ConstrainDist: public Constrain{ 00016 protected: 00017 vector<tuple<Obj*,Obj*,Vect,Vect,double > > tabConstrain; 00018 set<Obj*> setObj; 00019 public: 00020 void constrain(); 00021 }; 00022 00023 class ConstrainPoint: public Constrain{ 00024 protected: 00025 vector < tuple < function<double(Obj , Obj) , Obj*, Obj* ,function<Vect(Obj* , Obj*),function<Vect(Obj* , Obj*)> > tabSigma; 00026 public: 00027 void constrain(); 00028 }; 00029