Download Polylib User`s Manual

Transcript
Matrix * Polyhedron2Constraints (Polyhedron *Pol) : given a polyhedron, extract its matrix of constraints.
Polyhedron * Rays2Polyhedron (Matrix *Ray,unsigned NbMaxConstrs)
: given a matrix of rays (i.e. vertices, rays ans lines) ’Ray’, create and
return a polyhedron using Chernikova’s algorithm.
Matrix * Polyhedron2Rays (Polyhedron *Pol) : given a polyhedron ’Pol’,
extract its matrix of rays (i.e. vertices, rays ans lines).
Polyhedron * AddConstraints (Value *Con, unsigned NbConstraints,
Polyhedron *Pol, unsigned NbMaxRays): add new constraints to a
polyhedron.
Polyhedron * DomainAddConstraints (Polyhedron *Pol, Matrix *Mat,
unsigned NbMaxRays): add constraints to each polyhedron in a polyhedral domain.
Polyhedron * AddRays (Value *AddedRays, unsigned NbAddedRays,
Polyhedron *Pol, unsigned NbMaxConstrs): add rays to a polyhedron.
Polyhedron * DomainAddRays (Polyhedron *Pol, Matrix *Ray, unsigned NbMaxConstrs): add rays to each polyhedron in a polyhedral
domain.
int PolyhedronIncludes (Polyhedron *Pol1, Polyhedron *Pol2): return 1 if ’Pol1’ contains ’Pol2’, 0 otherwise.
Polyhedron * AddPolyToDomain (Polyhedron *Pol, Polyhedron *PolDomain): add Polyhedron ’Pol’ to polyhedral domain ’PolDomain’.
Polyhedron * DomainIntersection (Polyhedron *Pol1, Polyhedron *Pol2,
unsigned NbMaxRays): return the intersection of two polyhedral domains ’Pol1’ an’Pol2’.
Polyhedron * Polyhedron Copy (Polyhedron *Pol): create a copy of a
polyhedron.
Polyhedron * Domain Copy (Polyhedron *Pol): create a copy of a polyhedral domain.
Polyhedron * DomainSimplify (Polyhedron *Pol1, Polyhedron *Pol2,
unsigned NbMaxRays): simplify ’Pol1’ in the context of ’Pol2’: find
the largest domain that, when intersected with polyhedral domain ’Pol2’,
equals ’Pol1’∩’Pol2’.
Polyhedron * DomainUnion (Polyhedron *Pol1, Polyhedron *Pol2, unsigned NbMaxRays): return the union of two polyhedral domains ’Pol1’
and ’Pol2’.
Polyhedron * DomainConvex (Polyhedron *Pol, unsigned NbMaxConstrs): concatenate the lists of rays and lines of the polyhedra of a domain
into one combined list. The result is the convex hull (a polyhedron) of a
domain.
20