Changeset 4ecc6fa in git for kernel/GBEngine/kutil.h


Ignore:
Timestamp:
Apr 7, 2021, 6:09:07 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
e596bb3ff97e8946fdc0b593d1972a8e219125ca
Parents:
0941e691a2fa61260a13f8455d1e5ae84290b65e
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2021-04-07 18:09:07+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2021-04-07 21:21:06+02:00
Message:
GB stuff: removed strat->R, S_2_R, etc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kutil.h

    r0941e6 r4ecc6fa  
    7474  int ecart,
    7575    length,     // as of pLDeg
    76     pLength,    // either == 0, or == pLength(p)
    77     i_r;        // index of TObject in R set, or -1 if not in T
     76    pLength;    // either == 0, or == pLength(p)
    7877
    7978#ifdef HAVE_SHIFTBBA
     
    187186  poly  lcm;   /*- the lcm of p1,p2 -*/
    188187  kBucket_pt bucket;
    189   int   i_r1, i_r2;
    190188  unsigned checked; // this is the index of S up to which
    191189                      // the corresponding LObject was already checked in
     
    281279  int (*posInL)(const LSet set, const int length,
    282280                LObject* L,const kStrategy strat);
    283   void (*enterS)(LObject &h, int pos,kStrategy strat, int atR/* =-1*/ );
     281  void (*enterS)(LObject &h, int pos,kStrategy strat);
    284282  void (*initEcartPair)(LObject * h, poly f, poly g, int ecartF, int ecartG);
    285283  int (*posInLOld)(const LSet Ls,const int Ll,
    286284                   LObject* Lo,const kStrategy strat);
    287   void (*enterOnePair) (int i,poly p,int ecart, int isFromQ,kStrategy strat, int atR /*= -1*/);
     285  void (*enterOnePair) (int i,poly p,int ecart, int isFromQ,kStrategy strat);
    288286  void (*chainCrit) (poly p,int ecart,kStrategy strat);
    289287  BOOLEAN (*syzCrit) (poly sig, unsigned long not_sevSig, kStrategy strat);
     
    336334  // procedure for ShalloCopy from tailRing  to currRing
    337335  pShallowCopyDeleteProc p_shallow_copy_delete;
    338   // pointers to Tobjects R[i] is ith Tobject which is generated
    339   TObject**  R;
    340   // S_2_R[i] yields Tobject which corresponds to S[i]
    341   int*      S_2_R;
    342336  ring tailRing;
    343337  omBin lmBin;
     
    423417void deleteInL(LSet set, int *length, int j,kStrategy strat);
    424418void enterL (LSet *set,int *length, int *LSetmax, LObject p,int at);
    425 void enterSBba (LObject &p,int atS,kStrategy strat, int atR = -1);
    426 void enterSBbaShift (LObject &p,int atS,kStrategy strat, int atR = -1);
    427 void enterSSba (LObject &p,int atS,kStrategy strat, int atR = -1);
     419void enterSBba (LObject &p,int atS,kStrategy strat);
     420void enterSBbaShift (LObject &p,int atS,kStrategy strat);
     421void enterSSba (LObject &p,int atS,kStrategy strat);
    428422void initEcartPairBba (LObject* Lp,poly f,poly g,int ecartF,int ecartG);
    429423void initEcartPairMora (LObject* Lp,poly f,poly g,int ecartF,int ecartG);
     
    515509void enterExtendedSpoly(poly h,kStrategy strat);
    516510void enterExtendedSpolySig(poly h,poly hSig,kStrategy strat);
    517 void superenterpairs (poly h,int k,int ecart,int pos,kStrategy strat, int atR = -1);
    518 void superenterpairsSig (poly h,poly hSig,int hFrom,int k,int ecart,int pos,kStrategy strat, int atR = -1);
     511void superenterpairs (poly h,int k,int ecart,int pos,kStrategy strat);
     512void superenterpairsSig (poly h,poly hSig,int hFrom,int k,int ecart,int pos,kStrategy strat);
    519513poly kCreateZeroPoly(long exp[], long cabsind, poly* t_p, ring leadRing, ring tailRing);
    520514long ind2(long arg);
     
    529523int redSigRing (LObject* h,kStrategy strat);
    530524//adds hSig to be able to check with F5's criteria when entering pairs!
    531 void enterpairsSig (poly h, poly hSig, int from, int k, int ec, int pos,kStrategy strat, int atR = -1);
    532 void enterpairs (poly h, int k, int ec, int pos,kStrategy strat, int atR = -1);
     525void enterpairsSig (poly h, poly hSig, int from, int k, int ec, int pos,kStrategy strat);
     526void enterpairs (poly h, int k, int ec, int pos,kStrategy strat);
    533527void entersets (LObject h);
    534528void pairs ();
     
    580574void completeReduce (kStrategy strat, BOOLEAN withT=FALSE);
    581575void kFreeStrat(kStrategy strat);
    582 void enterOnePairNormal (int i,poly p,int ecart, int isFromQ,kStrategy strat, int atR);
     576void enterOnePairNormal (int i,poly p,int ecart, int isFromQ,kStrategy strat);
    583577void chainCritNormal (poly p,int ecart,kStrategy strat);
    584578void chainCritOpt_1 (poly,int,kStrategy strat);
     
    785779void ksCreateSpoly(LObject* Pair, poly spNoether = NULL,
    786780                   int use_buckets=0, ring tailRing=currRing,
    787                    poly m1 = NULL, poly m2 = NULL, TObject** R = NULL);
     781                   poly m1 = NULL, poly m2 = NULL);
    788782
    789783/*2
     
    814808BOOLEAN kCheckSpolyCreation(LObject* L, kStrategy strat, poly &m1, poly &m2);
    815809#ifdef HAVE_RINGS
    816 // return TRUE if gcdpoly creation of R[atR] and S[atS] does not violate
    817 //             exponent bound of strat->tailRing
    818 //      FALSE, otherwise
    819 BOOLEAN kCheckStrongCreation(int atR, poly m1, int atS, poly m2, kStrategy strat);
    820810poly preIntegerCheck(ideal F, ideal Q);
    821811void postReduceByMon(LObject* h, kStrategy strat);
     
    858848void enterTShift(LObject p, kStrategy strat, int atT = -1);
    859849
    860 void enterOnePairShift (poly q, poly p, int ecart, int isFromQ, kStrategy strat, int atR, int ecartq, int qisFromQ, int shiftcount, int ifromS);
    861 
    862 void enterpairsShift (poly h,int k,int ecart,int pos,kStrategy strat, int atR);
    863 
    864 void superenterpairsShift (poly h,int k,int ecart,int pos,kStrategy strat, int atR);
     850void enterOnePairShift (poly q, poly p, int ecart, int isFromQ, kStrategy strat, int ecartq, int qisFromQ, int shiftcount, int ifromS);
     851
     852void enterpairsShift (poly h,int k,int ecart,int pos,kStrategy strat);
     853
     854void superenterpairsShift (poly h,int k,int ecart,int pos,kStrategy strat);
    865855
    866856poly redtailBbaShift (LObject* L, int pos, kStrategy strat, BOOLEAN withT, BOOLEAN normalize);
     
    888878}
    889879
    890 void initenterpairs (poly h,int k,int ecart,int isFromQ,kStrategy strat, int atR = -1);
    891 #endif
     880void initenterpairs (poly h,int k,int ecart,int isFromQ,kStrategy strat);
     881#endif
Note: See TracChangeset for help on using the changeset viewer.