Changeset 79d3879 in git
- Timestamp:
- Feb 10, 2009, 7:53:04 PM (14 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- e21b396f6745381f496dbabf91502758f132efe0
- Parents:
- 198a3392c9c3fdba4fd627b0d5f123a0bde019f3
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kstd2.cc
r198a33 r79d3879 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd2.cc,v 1. 79 2008-12-26 18:15:40 levandovExp $ */4 /* $Id: kstd2.cc,v 1.80 2009-02-10 18:53:04 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: alg. of Buchberger … … 912 912 static int bba_count = 0; 913 913 #endif 914 void kDebugPrint(kStrategy strat); 914 915 915 916 ideal bba (ideal F, ideal Q,intvec *w,intvec *hilb,kStrategy strat) … … 950 951 kStratInitChangeTailRing(strat); 951 952 #endif 953 //kDebugPrint(strat); 952 954 953 955 /* compute------------------------------------------------------- */ -
kernel/kutil.cc
r198a33 r79d3879 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kutil.cc,v 1.11 6 2009-01-06 16:53:54 Singular Exp $ */4 /* $Id: kutil.cc,v 1.117 2009-02-10 18:53:04 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: kernel: utils for kStd … … 6424 6424 #endif 6425 6425 6426 // kstd1.cc: 6427 int redFirst (LObject* h,kStrategy strat); 6428 int redEcart (LObject* h,kStrategy strat); 6429 void enterSMora (LObject p,int atS,kStrategy strat, int atR=-1); 6430 void enterSMoraNF (LObject p,int atS,kStrategy strat, int atR=-1); 6431 // ../Singular/misc.cc: 6432 char * showOption(); 6433 6434 void kDebugPrint(kStrategy strat) 6435 { 6436 PrintS("red: "); 6437 if (strat->red==redFirst) PrintS("redFirst\n"); 6438 else if (strat->red==redHoney) PrintS("redHoney\n"); 6439 else if (strat->red==redEcart) PrintS("redEcart\n"); 6440 else if (strat->red==redHomog) PrintS("redHomog\n"); 6441 else Print("%x\n",strat->red); 6442 PrintS("posInT: "); 6443 if (strat->posInT==posInT0) PrintS("posInT0\n"); 6444 else if (strat->posInT==posInT0) PrintS("posInT0\n"); 6445 else if (strat->posInT==posInT1) PrintS("posInT1\n"); 6446 else if (strat->posInT==posInT11) PrintS("posInT11\n"); 6447 else if (strat->posInT==posInT110) PrintS("posInT110\n"); 6448 else if (strat->posInT==posInT13) PrintS("posInT13\n"); 6449 else if (strat->posInT==posInT15) PrintS("posInT15\n"); 6450 else if (strat->posInT==posInT17) PrintS("posInT17\n"); 6451 else if (strat->posInT==posInT17_c) PrintS("posInT17_c\n"); 6452 else if (strat->posInT==posInT19) PrintS("posInT19\n"); 6453 else if (strat->posInT==posInT2) PrintS("posInT2\n"); 6454 #ifdef HAVE_MORE_POS_IN_T 6455 else if (strat->posInT==posInT_EcartFDegpLength) PrintS("posInT_EcartFDegpLength\n"); 6456 else if (strat->posInT==posInT_FDegpLength) PrintS("posInT_FDegpLength\n"); 6457 else if (strat->posInT==posInT_pLength) PrintS("posInT_pLength\n"); 6458 #endif 6459 else if (strat->posInT==posInT_EcartpLength) PrintS("posInT_EcartpLength\n"); 6460 else if (strat->posInT==posInTrg0) PrintS("posInTrg0\n"); 6461 else Print("%x\n",strat->posInT); 6462 PrintS("posInL: "); 6463 if (strat->posInL==posInL0) PrintS("posInL0\n"); 6464 else if (strat->posInL==posInL10) PrintS("posInL10\n"); 6465 else if (strat->posInL==posInL11) PrintS("posInL11\n"); 6466 else if (strat->posInL==posInL110) PrintS("posInL110\n"); 6467 else if (strat->posInL==posInL13) PrintS("posInL13\n"); 6468 else if (strat->posInL==posInL15) PrintS("posInL15\n"); 6469 else if (strat->posInL==posInL17) PrintS("posInL17\n"); 6470 else if (strat->posInL==posInL17_c) PrintS("posInL17\n"); 6471 else if (strat->posInL==posInLSpecial) PrintS("posInLSpecial\n"); 6472 else if (strat->posInL==posInLrg0) PrintS("posInLrg0\n"); 6473 else Print("%x\n",strat->posInL); 6474 PrintS("enterS: "); 6475 if (strat->enterS==enterSBba) PrintS("enterSBba\n"); 6476 else if (strat->enterS==enterSMora) PrintS("enterSMora\n"); 6477 else if (strat->enterS==enterSMoraNF) PrintS("enterSMoraNF\n"); 6478 else Print("%x\n",strat->enterS); 6479 PrintS("initEcart: "); 6480 if (strat->initEcart==initEcartBBA) PrintS("initEcartBBA\n"); 6481 else if (strat->initEcart==initEcartNormal) PrintS("initEcartNormal\n"); 6482 else Print("%x\n",strat->initEcart); 6483 PrintS("initEcartPair: "); 6484 if (strat->initEcartPair==initEcartPairBba) PrintS("initEcartPairBba\n"); 6485 else if (strat->initEcartPair==initEcartPairMora) PrintS("initEcartPairMora\n"); 6486 else Print("%x\n",strat->initEcartPair); 6487 Print("homog=%d, LazyDegree=%d, LazyPass=%d, ak=%d,\n", 6488 strat->homog, strat->LazyDegree,strat->LazyPass, strat->ak); 6489 Print("honey=%d, sugarCrit=%d, Gebauer=%d, noTailReduction=%d\n", 6490 strat->honey,strat->sugarCrit,strat->Gebauer,strat->noTailReduction,strat->use_buckets); 6491 Print("posInLDependsOnLength=%d, use_buckets=%d\n", 6492 strat->posInLDependsOnLength,strat->use_buckets); 6493 PrintS(showOption());PrintLn(); 6494 } 6495 6496 6426 6497 #ifdef HAVE_SHIFTBBA 6427 6498 poly pMove2CurrTail(poly p, kStrategy strat)
Note: See TracChangeset
for help on using the changeset viewer.