Changeset 66a5f8 in git for kernel/f5gb.cc


Ignore:
Timestamp:
Mar 25, 2009, 3:24:00 PM (15 years ago)
Author:
Christian Eder
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
9f9b142893198e383bb306d720e6dcb4e2da44ce
Parents:
16ed2f5aab6d00da628b5f73458c7045c9adaaf6
Message:
trying some stuff with exponent vectors, still not working with most of the example ideals from f5ex2.lib


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

Legend:

Unmodified
Added
Removed
  • kernel/f5gb.cc

    r16ed2f r66a5f8  
    7171*/
    7272LList* F5inc(int i, poly f_i, LList* gPrev, ideal gbPrev, poly ONE, LTagList* lTag, RList* rules, RTagList* rTag) {
    73     //Print("in f5inc\n");           
     73    Print("in f5inc\n");           
    7474    //pWrite(rules->getFirst()->getRuleTerm());
    7575    int j;
     
    9191    // computation of critical pairs with checking of criterion 1 and criterion 2 and saving them
    9292    // in the list critPairs
     93    Print("END F5INC\n");
    9394    criticalPair(gPrev, critPairs, lTag, rTag, rules);
    9495    static LList* sPolyList        =   new LList();
     
    899900    //Print("LTAG BEGINNING: %p\n",lTag);
    900901   
     902    //DEBUGGING STUFF START
     903    //Print("NUMBER: %d\n",r->N);
     904    int* ev = new int[r->N];
     905    for(i=0;i<IDELEMS(id);i++) {
     906        pGetExpV(id->m[i],ev);
     907        pWrite(id->m[i]);
     908        Print("EXP1: %d\n",ev[1]);
     909        Print("EXP2: %d\n",ev[2]);
     910        Print("EXP3: %d\n\n",ev[3]);
     911    }
     912    //delete ev;
     913    //DEBUGGING STUFF END
     914   
    901915    // first element in rTag is first element of rules which is NULL RNode,
    902916    // this must be done due to possible later improvements
     
    906920    RTagList* rTag  =   new RTagList(rules->getFirst());
    907921    i = 1;
    908     for(j=0; j<IDELEMS(id); j++) {
     922    /*for(j=0; j<IDELEMS(id); j++) {
    909923        if(NULL != id->m[j]) {
    910924            if(pComparePolys(id->m[j],ONE)) {
     
    915929            }   
    916930        }
    917     }
     931    }*/
    918932    ideal idNew     =   kInterRed(id);
    919933    id              =   idNew;
     
    937951    //idShow(gbPrev);
    938952    //idShow(currQuotient);
    939 
    940953    for(i=2; i<=IDELEMS(id); i++) {
    941954        LNode* gPrevTag =   gPrev->getLast();
Note: See TracChangeset for help on using the changeset viewer.