[PPL-devel] ppl/src Octagonal_Shape.templates.hh

Enea Zaffanella zaffanella at cs.unipr.it
Thu May 4 10:12:28 CEST 2006


CVSROOT:	/cvs/ppl
Module name:	ppl
Branch: 	octagons
Changes by:	zaffanella at cs.unipr.it	2006-05-04 10:12:27

Modified files:
	src            : Octagonal_Shape.templates.hh 

Log message:
	Another pass through the code of affine_image(), to improve readability
	and thus maintainability.
	- last_var_id renamed as w_id;
	- in the case t==1, coeff renamed as w_coeff;
	- variable indices should be called *_id; the indices used to access the
	matrix should be named n_*, e.g., var and n_w;
	- the references inside the matrix are named m_*, e.g., m_i, m_ci, m_v, etc.
	Avoid repeated testing of known conditionals; avoid almost useless uses
	of row_iterator (prefer the direct matrix accessors' operators if a single
	access to the row has to be done).

Patches:
http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/src/Octagonal_Shape.templates.hh.diff?cvsroot=ppl&only_with_tag=octagons&r1=1.1.2.12&r2=1.1.2.13




More information about the PPL-devel mailing list