From: <Ba...@us...> - 2011-10-12 02:21:07
|
Revision: 416 http://ggnfs.svn.sourceforge.net/ggnfs/?rev=416&view=rev Author: Batalov Date: 2011-10-12 02:21:00 +0000 (Wed, 12 Oct 2011) Log Message: ----------- better estimates for min. number of relations Modified Paths: -------------- trunk/tests/factMsieve.pl Modified: trunk/tests/factMsieve.pl =================================================================== --- trunk/tests/factMsieve.pl 2011-10-11 15:04:42 UTC (rev 415) +++ trunk/tests/factMsieve.pl 2011-10-12 02:21:00 UTC (rev 416) @@ -1349,8 +1349,14 @@ # The below is approx. 0.2*(pi(LPBA) + pi(LPBR)). # It's so small because, for small LPBA, it really overestimates. - $MINRELS=int(0.2*1.442695*( (2**$LPBA)/$LPBA + (2**$LPBR)/$LPBR)); - + $MINRELS=int(0.35*1.442695*( (2**$LPBA)/$LPBA + (2**$LPBR)/$LPBR)); + if($LPBA==$LPBR) { # some simple heuristics, fudge=0.35 above + $MINRELS= 4000000 if($LPBA==26); # fudge = 0.54 + $MINRELS= 9000000 if($LPBA==27); # fudge = 0.63 + $MINRELS=19000000 if($LPBA==28); # fudge = 0.69 + $MINRELS=46000000 if($LPBA==29); # fudge = 0.84 + $MINRELS=92000000 if($LPBA==30); # fudge = 0.89 + } ############################################ # Setup the parameters for sieving ranges. # ############################################ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |