alliance-programmers '01
ALC : CVS loginfo, ocp/src


Christophe Alexandre (Christophe.Alexandre@asim.lip6.fr)
Fri, 26 Oct 2001 18:45:06 +0200

=================================================================== Modification le : Fri Oct 26 18:44:51 CEST 2001 Par : xtof =================================================================== Update of /users/outil/alliance/cvsroot/alliance/sources/ocp/src In directory bip.lip6.fr:/users/cao/xtof/alliance/sources/ocp/src Modified Files: PCommon.cpp PCommon.h PPlacement.cpp PPlacement.h PRow.cpp PRow.h PSubRow.cpp PSubRow.h Log Message: decrassage la suite .... calcul des bins plus performant dans le cas sans preplacement meilleur respect de la marge. =================================================================== Index: PCommon.cpp =================================================================== RCS file: /users/outil/alliance/cvsroot/alliance/sources/ocp/src/PCommon.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -r1.1 -r1.2 11,12c11,12 < void SquareShape(const double margin, const double SumWidth, double &binswidth, < int &NRows, int &NBins) --- > const double SquareShape(const double margin, > const double sumwidth, const double minwidth, int& nrows) 14,21c14,19 < if (!NRows) < NRows = (int)(sqrt((1.0 + margin) * SumWidth / ROWHEIGHT) + 0.5); < double RowWidth = ((1.0 + margin) * SumWidth / (double)NRows) + 1.0; < NBins = (int)(RowWidth / binswidth + 0.5); < double BinAdd = (double)(int)(RowWidth - binswidth * (double)NBins + 0.5); < if (BinAdd > 0.0) < binswidth += (double)(int)(BinAdd / NBins + 0.5); < RowWidth = NBins * binswidth; --- > if (!nrows) > nrows = (int)(sqrt((1.0 + margin) * sumwidth / ROWHEIGHT) + 0.5); > double RowWidth = (1.0 + margin) * sumwidth / (double)nrows; > if (RowWidth < minwidth) > return minwidth; > return RowWidth; Index: PCommon.h =================================================================== RCS file: /users/outil/alliance/cvsroot/alliance/sources/ocp/src/PCommon.h,v retrieving revision 1.1 retrieving revision 1.2 diff -r1.1 -r1.2 8,9c8,9 < void SquareShape(const double margin, const double sumwidth, < double &binswidth, int &NRows, int &NBins); --- > const double SquareShape(const double margin, const double sumwidth, > const double minwidth, int& nrows); Index: PPlacement.cpp =================================================================== RCS file: /users/outil/alliance/cvsroot/alliance/sources/ocp/src/PPlacement.cpp,v retrieving revision 1.40 retrieving revision 1.41 diff -r1.40 -r1.41 331a332,347 > // getting NetList Caracteristics > > _sumToPlaceInssWidth = 0.0; =================================================================== Ce message est envoyé au personnes abonnées à alliance-programmers Pour plus d'information sur cette mailling-list, visitez : http://www-asim.lip6.fr/alliance/mailing-lists/

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 October 2001.