
CVSROOT: /cvs/ppl Module name: ppl Changes by: zaffanella@cs.unipr.it 2004-12-29 21:59:24
Modified files: src : Polyhedra_Powerset.defs.hh Polyhedra_Powerset.inlines.hh Powerset.defs.hh Powerset.inlines.hh algorithms.hh
Log message: Added support for the consident use of bidirectional iterators (iterator, const_iterator, reverse_iterator, const_reverse_iterator) for the class Powerset. The new iterators replace the low-level ones on the sequence of disjuncts, which are now protected and were not enforcing the consistency of the reduced flag. All the new iterators only provide read-only access to the disjuncts in a Powerset element. It is possible to drop elements form the sequence (but not to directly modify them) by using `iterator' in conjunction with Powerset<CS> methods drop_disjunct(), drop_disjuncts() and clear().
Patches: http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/src/Polyhedra_Powerset.defs.hh... http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/src/Polyhedra_Powerset.inlines... http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/src/Powerset.defs.hh.diff?cvsr... http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/src/Powerset.inlines.hh.diff?c... http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/src/algorithms.hh.diff?cvsroot...