Changeset 64b824 in git for factory/facFqFactorize.cc


Ignore:
Timestamp:
Feb 10, 2012, 12:10:28 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e016ba74132ef655a25823cf0f343ce4b9069f7d
Parents:
c0851051c3f2502093559a89e463f364c0816aa0
git-author:
Martin Lee <martinlee84@web.de>2012-02-10 12:10:28+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-04-04 14:42:25+02:00
Message:
chg: threshold for use of LucksWangHeuristic
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqFactorize.cc

    rc08510 r64b824  
    16281628
    16291629    bool success= false;
    1630     if (LucksWangSparseHeuristic (oldSqrfPartF*power (LC1, factors.length()-1),
     1630    CanonicalForm oldSqrfPartFPowLC= oldSqrfPartF*power(LC1,factors.length()-1);
     1631    if (size (oldSqrfPartFPowLC)/getNumVars (oldSqrfPartFPowLC) < 500 &&
     1632        LucksWangSparseHeuristic (oldSqrfPartFPowLC,
    16311633                                  oldFactors, 1, leadingCoeffs, factors))
    16321634    {
     
    26072609  A /= hh;
    26082610
    2609   if (LucksWangSparseHeuristic (A, biFactors, 2, leadingCoeffs2 [A.level() - 3],
    2610       factors))
     2611  if (size (A)/getNumVars (A) < 500 &&
     2612      LucksWangSparseHeuristic (A, biFactors, 2, leadingCoeffs2 [A.level() - 3],
     2613                                factors))
    26112614  {
    26122615    int check= factors.length();
Note: See TracChangeset for help on using the changeset viewer.