~ubuntu-branches/ubuntu/saucy/gfan/saucy-proposed

« back to all changes in this revision

Viewing changes to app_walk.cpp

  • Committer: Package Import Robot
  • Author(s): Cédric Boutillier
  • Date: 2013-07-09 10:44:01 UTC
  • mfrom: (2.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130709104401-5q66ozz5j5af0dak
Tags: 0.5+dfsg-3
* Upload to unstable.
* modify remove_failing_tests_on_32bits.patch to replace command of
  0009RenderStairCase test with an empty one instead of deleting it.
* remove lintian override about spelling error

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
  WalkApplication()
25
25
  {
26
26
    registerOptions();
27
 
  }    
 
27
  }
28
28
 
29
 
  char *name()
 
29
  const char *name()
30
30
  {
31
31
    return "_walk";
32
32
  }
46
46
    assert(g.checkMarkings(t1));
47
47
      //    g.mark(t1);
48
48
      // AsciiPrinter(Stdout).printPolynomialSet(g);
49
 
    
 
49
 
50
50
    t1.printMatrix(P,6);
51
51
    LexicographicTermOrder t2;
52
52
    //    LexicographicTermOrder t1(1);
56
56
 
57
57
    autoReduce(&g,t1);
58
58
    //    buchberger(&g,t1);
59
 
    
 
59
 
60
60
    AsciiPrinter(Stdout).printPolynomialSet(g);
61
61
 
62
62
    fprintf(Stderr,"Walking with perturbation\n");
63
 
    
 
63
 
64
64
 
65
65
    //    int n=g.numberOfVariablesInRing();
66
66
    //    for(int i=n;i>=0;i--)
67
67
    //    for(int i=n-4;i>=0;i--)
68
68
    {
69
69
      PolynomialSet g2(g.getRing());
70
 
      
 
70
 
71
71
      //      g2=genericWalkPerturbation(g,t1,t2,i,i);
72
72
      g2=genericWalkPerturbation(g,t1,t2,6,6);
73
 
      
 
73
 
74
74
      AsciiPrinter(Stdout).printPolynomialSet(g2);
75
 
    } 
 
75
    }
76
76
 
77
77
    return 0;
78
78
  }