´

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.de

this page was automatically generated on So Jan 4 10:35:49 CET 2009 on the machine btn6xf

University of Bayreuth -