Changeset 0179d5 in git for kernel/f5data.h


Ignore:
Timestamp:
Jul 16, 2009, 9:47:51 AM (15 years ago)
Author:
Christian Eder
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
4feee0a979cff0b1422136e2611e127a8267eb8d
Parents:
d4f44f4f228fbb8258ce8e9927141d37d4470719
Message:
options for switching between F5, F5R and F5C: "0" = F5, "1" = F5R, "2" = F5C, ""(no option set at all) = F5C
this version only produces top reductions


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

Legend:

Unmodified
Added
Removed
  • kernel/f5data.h

    rd4f44f r0179d5  
    33*  Computer Algebra System SINGULAR     *
    44****************************************/
    5 /* $Id: f5data.h,v 1.12 2009-06-23 10:08:15 ederc Exp $ */
     5/* $Id: f5data.h,v 1.13 2009-07-16 07:47:51 ederc Exp $ */
    66/*
    77* ABSTRACT: labeled polynomial interface
     
    1818*/
    1919class LPoly;
    20 class CPair;
     20class CPairOld;
    2121class Rule;
    2222
     
    116116===================================
    117117*/
    118 class CPair {
     118class CPairOld {
    119119    private:
    120120        long    deg;            // total degree of the critical pair
     
    125125        Rule*   testedRule;     // already tested by rules up to lastRuleTested
    126126    public:
    127         inline          CPair(long degree, poly term1, LPoly* lpoly1, poly term2, LPoly* lpoly2, Rule* r = NULL);
     127        inline          CPairOld(long degree, poly term1, LPoly* lpoly1, poly term2, LPoly* lpoly2, Rule* r = NULL);
    128128        inline  long    getDeg();
    129129        inline  poly    getT1();
     
    143143};
    144144
    145 CPair::CPair(long degree, poly term1, LPoly* lpoly1, poly term2, LPoly* lpoly2, Rule* r) {
     145CPairOld::CPairOld(long degree, poly term1, LPoly* lpoly1, poly term2, LPoly* lpoly2, Rule* r) {
    146146   deg              =   degree;
    147147   t1               =   term1;
     
    152152}
    153153
    154 long CPair::getDeg() {
     154long CPairOld::getDeg() {
    155155    return deg;
    156156}
    157157
    158 poly CPair::getT1() {
     158poly CPairOld::getT1() {
    159159    return t1;
    160160}
    161161
    162 poly* CPair::getAdT1() {
     162poly* CPairOld::getAdT1() {
    163163    return &t1;
    164164}
    165165
    166 poly* CPair::getAdT2() {
     166poly* CPairOld::getAdT2() {
    167167    return &t2;
    168168}
    169169
    170 poly CPair::getT2() {
     170poly CPairOld::getT2() {
    171171    return t2;
    172172}
    173173
    174 LPoly* CPair::getAdLp1() {
     174LPoly* CPairOld::getAdLp1() {
    175175    return lp1;
    176176}
    177177
    178 LPoly* CPair::getAdLp2() {
     178LPoly* CPairOld::getAdLp2() {
    179179    return lp2;
    180180}
    181181
    182 poly CPair::getLp1Poly() {
     182poly CPairOld::getLp1Poly() {
    183183    return lp1->getPoly();
    184184}
    185185
    186 poly CPair::getLp2Poly() {
     186poly CPairOld::getLp2Poly() {
    187187    return lp2->getPoly();
    188188}
    189189
    190 poly CPair::getLp1Term() {
     190poly CPairOld::getLp1Term() {
    191191    return lp1->getTerm();
    192192}
    193193
    194 poly CPair::getLp2Term() {
     194poly CPairOld::getLp2Term() {
    195195    return lp2->getTerm();
    196196}
    197197
    198 int CPair::getLp1Index() {
     198int CPairOld::getLp1Index() {
    199199    return lp1->getIndex();
    200200}
    201201
    202 int CPair::getLp2Index() {
     202int CPairOld::getLp2Index() {
    203203    return lp2->getIndex();
    204204}
    205205
    206 Rule* CPair::getTestedRule() {
     206Rule* CPairOld::getTestedRule() {
    207207    return testedRule;
    208208}
    209209
    210 void CPair::setTestedRule(Rule* r) {
     210void CPairOld::setTestedRule(Rule* r) {
    211211    testedRule      =   r;
    212212}
Note: See TracChangeset for help on using the changeset viewer.