Changeset 15b211 in git
- Timestamp:
- Nov 21, 2013, 6:42:17 PM (9 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
- Children:
- f59aaade492b9527e048de83ffcb97228e48208b
- Parents:
- f1babfbabc0fc2906b36df32051eaaf09673dc6f
- git-author:
- Christian Eder <ederc@mathematik.uni-kl.de>2013-11-21 18:42:17+01:00
- git-committer:
- Christian Eder <ederc@mathematik.uni-kl.de>2013-12-12 13:51:25+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kstd2.cc
rf1babf r15b211 48 48 #endif 49 49 50 #define F5C 050 #define F5C 1 51 51 #if F5C 52 52 #define F5CTAILRED 1 … … 56 56 #define SBA_PRINT_ZERO_REDUCTIONS 1 57 57 #define SBA_PRINT_REDUCTION_STEPS 1 58 #define SBA_PRINT_OPERATIONS 1 58 59 #define SBA_PRINT_SIZE_G 1 59 60 #define SBA_PRINT_SIZE_SYZ 1 … … 61 62 62 63 long sba_reduction_steps; 64 long sba_operations; 63 65 /*********************************************** 64 66 * SBA stuff -- done … … 623 625 sigSafe = ksReducePolySig(h, &(strat->T[ii]), strat->S_2_R[ii], NULL, NULL, strat); 624 626 #if SBA_PRINT_REDUCTION_STEPS 625 sba_reduction_steps++; 627 if (sigSafe != 3) 628 sba_reduction_steps++; 629 #endif 630 #if SBA_PRINT_OPERATIONS 631 if (sigSafe != 3) 632 sba_operations += pLength(strat->T[ii].p); 626 633 #endif 627 634 // if reduction has taken place, i.e. the reduction was sig-safe … … 1514 1521 // global variable 1515 1522 sba_reduction_steps = 0; 1523 sba_operations = 0; 1516 1524 1517 1525 ideal F = F0; … … 1540 1548 int hilbeledeg=1,hilbcount=0,minimcnt=0; 1541 1549 LObject L; 1542 //BOOLEAN withT = FALSE;1550 BOOLEAN withT = FALSE; 1543 1551 strat->max_lower_index = 0; 1544 1552 … … 2066 2074 printf("TOP S-REDUCTIONS: %ld\n",sba_reduction_steps); 2067 2075 #endif 2076 #if SBA_OPERATIONS 2077 printf("OPERATIONS: %ld\n",sba_operations); 2078 #endif 2068 2079 #if SBA_PRINT_SIZE_G 2069 2080 printf("SIZE OF G: %ld\n",size_g); … … 2080 2091 product_criterion = 0; 2081 2092 sba_reduction_steps = 0; 2093 sba_operations = 0; 2082 2094 return (strat->Shdl); 2083 2095 } … … 2402 2414 // therefore we call pContent instead of pNorm 2403 2415 #if F5CTAILRED 2416 BOOLEAN withT = TRUE; 2404 2417 if ((TEST_OPT_INTSTRATEGY) || (rField_is_Ring(currRing))) 2405 2418 {
Note: See TracChangeset
for help on using the changeset viewer.