dom_comp_part

synopsis: INT dom_comp_part(OP parta, partb)

description:

compares two partitions according to the dominance order. At the moment only for VECTOR representation.

return:

0 if equal, 1 if parta bigger then partb, -1 if parta is smaller then partb, the constant NONCOMPARABLE means that parta and partb are not comparable.

example:

 #include "def.h"
 #include "macro.h"

 main()
 {
 OP a,b,c;
 INT i,j;
 anfang();

 a=callocobject(); b=callocobject(); c=callocobject();
 scan(INTEGER,a);
 makevectorofpart(a,b); println(b);
 m_ilih_m(S_V_LI(b),S_V_LI(b),c);
 for (i=0L;i


Send comments or suggestions to:
symmetrica (at) symmetrica

this page was automatically generated on So Aug 10 12:23:24 CEST 2008 on the machine btn6xa