Changeset f16226 in git


Ignore:
Timestamp:
Feb 2, 2015, 11:22:31 AM (9 years ago)
Author:
Yue Ren <ren@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
7723d00a58aba67b90f5f607a5018d386f4f8465
Parents:
44d34b600fd8727833693222ffbd36ce803e3e60
git-author:
Yue Ren <ren@mathematik.uni-kl.de>2015-02-02 11:22:31+01:00
git-committer:
Yue Ren <ren@mathematik.uni-kl.de>2015-02-06 13:47:06+01:00
Message:
chg: small fixes
Location:
Singular/dyn_modules/gfanlib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/dyn_modules/gfanlib/tropicalTraversal.cc

    r44d34b6 rf16226  
    4848  workingList.insert(startingCone);
    4949  const tropicalStrategy* currentStrategy=startingCone.getTropicalStrategy();
    50   std::cout << "starting traversal" << std::endl;
     50  // std::cout << "starting traversal" << std::endl;
    5151  while(!workingList.empty())
    5252  {
     
    5454     * Pick an element the working list and compute interior points on its facets
    5555     */
    56     std::cout << "picking cone and computing interior facet points..." << std::endl;
     56    // std::cout << "picking cone and computing interior facet points..." << std::endl;
    5757    groebnerCone sigma=*(workingList.begin());
    5858    gfan::ZMatrix interiorPoints = interiorPointsOfFacets(sigma.getPolyhedralCone());
     
    6767      {
    6868        ideal inI = initial(sigma.getPolynomialIdeal(),sigma.getPolynomialRing(),interiorPoint);
    69         std::cout << "picking interiorPoint and computing rays of tropical star..." << std::endl;
     69        // std::cout << "picking interiorPoint and computing rays of tropical star..." << std::endl;
    7070        gfan::ZMatrix normalVectors = raysOfTropicalStar(inI,
    7171                                                         sigma.getPolynomialRing(),
     
    7474        id_Delete(&inI,sigma.getPolynomialRing());
    7575
    76         std::cout << "checking for th neccessity to flip..." << std::endl;
     76        // std::cout << "checking for th neccessity to flip..." << std::endl;
    7777        std::vector<bool> needToFlip = checkNecessaryFlips(tropicalVariety,workingList,interiorPoint,normalVectors);
    7878        for (int j=0; j<normalVectors.getHeight(); j++)
     
    8080          if (needToFlip[j])
    8181          {
    82             std::cout << "flipping cone..." << std::endl;
     82            // std::cout << "flipping cone..." << std::endl;
    8383            groebnerCone neighbour = sigma.flipCone(interiorPoint,normalVectors[j]);
    8484            workingList.insert(neighbour);
  • Singular/dyn_modules/gfanlib/tropicalVarietyOfPolynomials.h

    r44d34b6 rf16226  
    2222        return zc<zd;
    2323      else
    24         return n<m;
     24        return n>m;
    2525    }
    2626};
Note: See TracChangeset for help on using the changeset viewer.