1 template<
typename mon,
typename typB>
6 current_mon.push_back(m);
8 for(
int i=0;
i<index-1;
i++)
11 for(
typename list<mon>::iterator iter=current_mon.begin();
12 iter!=current_mon.end();iter++)
19 tmp.push_back(tmpmon);
21 current_mon.swap(tmp);
25 for(
typename list<mon>::iterator iter=current_mon.begin();
26 iter!=current_mon.end();iter++)
31 tmp.push_back(tmpmon);
33 current_mon.swap(tmp);
36 for(
typename list<mon>::iterator iter=current_mon.begin();
37 iter!=current_mon.end();iter++)
48 template<
typename typB>
57 list<typename typB::mon> listppcm;
58 for(
int i=0;
i<iter->taille2;
i++)
59 listppcm.push_back(iter->refuse[
i]);
60 for(;!listppcm.empty();comp_index++)
63 for(
typename list<mon>::iterator iter1=listppcm.begin();
64 iter1!=listppcm.end();
66 for(
typename list<mon>::iterator iter2=(++iter1)--;
67 iter2!=listppcm.end();
70 mon tmpmon=
lcm(*iter1,*iter2);
72 tmp.push_back(tmpmon);
74 listppcm.erase(listppcm.begin(),listppcm.end());
75 for(
typename list<mon>::iterator iter=tmp.begin();
81 listppcm.push_back(*iter);
82 if(max_deg<iter->GetDegree()-comp_index+2)
83 max_deg=iter->GetDegree()-comp_index+2;
int has_b_index(const mon m, int index, const typB b)
Definition: dimpos.hpp:2
int member(const typMk &tmpMk, const typename typMk::value_type mon)
Definition: corealgo.hpp:1391
list< predicat >::const_iterator const_iterator
Definition: types.hpp:21
MSKconetypee MSKrealt MSKint32t MSKint32t j
Definition: mosek.h:2421
MSKCONST char MSKint32t MSKint32t * index
Definition: mosek.h:2860
iterator end()
Definition: types.hpp:30
int IsinB(const mon &m, const Base &b)
Definition: IsinB3.hpp:68
Mon mon
Definition: solver_bb_floating.cpp:136
int nbvars
Definition: types.hpp:17
Mon my_divmon(const Mon &mon, int i, const Base &b)
Definition: corealgo.hpp:1262
MSKint32t MSKint32t MSKint32t i
Definition: mosek.h:2278
mon lcm(const mon &m1, const mon &m2)
Definition: corealgo.hpp:43
iterator begin()
Definition: types.hpp:25
int stop_degree(const typB &b)
Definition: dimpos.hpp:49
predicat::monom_t mon
Definition: types.hpp:19
Multivariate monomials.
Definition: Monom.hpp:21