[PPL-devel] ppl/src Polyhedron.cc
Elisa Ricci
ericci at spartacus.cs.unipr.it
Mon Oct 15 15:20:21 CEST 2001
CVSROOT: /cvs/ppl
Module name: ppl
Changes by: ericci at cs.unipr.it 2001-10-15 15:20:21
Modified files:
src : Polyhedron.cc
Log message:
In the constructors of a polyhedron that use a system of constraints
or a set of generators these matrices must be at least two columns.
In the function remove_dimensions(..) if the matrix of generators
does not have at least two columns (i.e num_columns() <= 1) the polyhedron
becomes zero-dimensional and so we clear the `con_sys' and `gen_sys'.
In function insert(const Constraint& c) if the polyhedron is
zero-dimensional we add also the positivity constraint.
In functions insert(...) it is no longer necessary clear `con_sys'
and `gen_sys' before adding a row if the polyhedron is zero-dimensional.
In function OK(), we verify if in a zero-dimensional polyhedron `con_sys'
and `gen_sys' have no rows.
Patches:
http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/src/Polyhedron.cc.diff?cvsroot=ppl&r1=1.4&r2=1.5
More information about the PPL-devel
mailing list