Changeset 750e70 in git for kernel/syz.cc


Ignore:
Timestamp:
May 5, 2011, 7:20:56 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
Children:
eb72ba1a1a50ca741a3113bf9b8bc34d414a678a
Parents:
1f9a84fc8a205c643ce861d9e20c25dc687aa193
Message:
ADD: new option(notSyzMinim) should switch off all resolution minimizations (lres/nres/mres)

From: Oleksandr Motsak <motsak@mathematik.uni-kl.de>

git-svn-id: file:///usr/local/Singular/svn/trunk@14204 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/syz.cc

    r1f9a84 r750e70  
    463463#ifdef HAVE_PLURAL
    464464  if (rIsPluralRing(currRing) && !rIsSCA(currRing) )
    465   { 
     465  {
    466466// quick solution; need theory to apply homog GB stuff for G-Algebras
    467467    hom = isNotHomog;
     
    516516      rSetSyzComp(rkI);
    517517    }
     518    if(! TEST_OPT_NO_SYZ_MINIM )
    518519    if (minim || (syzIndex!=0))
    519520    {
     
    537538    syzIndex++;
    538539    if (TEST_OPT_PROT) Print("[%d]\n",syzIndex);
    539     if ((minim)||(syzIndex>1))
    540       syMinStep(res[syzIndex-1],res[syzIndex],!completeMinim,NULL,hom);
    541     if (!completeMinim)
    542     /*minim is TRUE, we are in the module: maxlength, maxlength <>0*/
    543     {
    544       idDelete(&res[syzIndex]);
     540
     541    if(! TEST_OPT_NO_SYZ_MINIM )
     542    {
     543      if ((minim)||(syzIndex>1))
     544        syMinStep(res[syzIndex-1],res[syzIndex],!completeMinim,NULL,hom);
     545      if (!completeMinim)
     546      /*minim is TRUE, we are in the module: maxlength, maxlength <>0*/
     547      {
     548        idDelete(&res[syzIndex]);
     549      }
    545550    }
    546551/*---creating the iterated weights for module components ---------*/
     
    634639    const unsigned int m_iFirstAltVar = scaFirstAltVar(currRing);
    635640    const unsigned int m_iLastAltVar  = scaLastAltVar(currRing);
    636    
     641
    637642    arg = id_KillSquares(arg, m_iFirstAltVar, m_iLastAltVar, currRing, false); // kill suares in input!
    638643  }
    639644#endif
    640  
     645
    641646  int typ0;
    642647  syStrategy result=(syStrategy)omAlloc0(sizeof(ssyStrategy));
     
    681686    if( ncExtensions(TESTSYZSCAMASK) )
    682687    {
    683       currQuotient     = idSaveCurrQuotient; 
     688      currQuotient     = idSaveCurrQuotient;
    684689      currRing->qideal = idSaveCurrRingQuotient;
    685690    }
Note: See TracChangeset for help on using the changeset viewer.