Changeset f16226 in git
- Timestamp:
- Feb 2, 2015, 11:22:31 AM (9 years ago)
- 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
- Location:
- Singular/dyn_modules/gfanlib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/dyn_modules/gfanlib/tropicalTraversal.cc
r44d34b6 rf16226 48 48 workingList.insert(startingCone); 49 49 const tropicalStrategy* currentStrategy=startingCone.getTropicalStrategy(); 50 std::cout << "starting traversal" << std::endl;50 // std::cout << "starting traversal" << std::endl; 51 51 while(!workingList.empty()) 52 52 { … … 54 54 * Pick an element the working list and compute interior points on its facets 55 55 */ 56 std::cout << "picking cone and computing interior facet points..." << std::endl;56 // std::cout << "picking cone and computing interior facet points..." << std::endl; 57 57 groebnerCone sigma=*(workingList.begin()); 58 58 gfan::ZMatrix interiorPoints = interiorPointsOfFacets(sigma.getPolyhedralCone()); … … 67 67 { 68 68 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; 70 70 gfan::ZMatrix normalVectors = raysOfTropicalStar(inI, 71 71 sigma.getPolynomialRing(), … … 74 74 id_Delete(&inI,sigma.getPolynomialRing()); 75 75 76 std::cout << "checking for th neccessity to flip..." << std::endl;76 // std::cout << "checking for th neccessity to flip..." << std::endl; 77 77 std::vector<bool> needToFlip = checkNecessaryFlips(tropicalVariety,workingList,interiorPoint,normalVectors); 78 78 for (int j=0; j<normalVectors.getHeight(); j++) … … 80 80 if (needToFlip[j]) 81 81 { 82 std::cout << "flipping cone..." << std::endl;82 // std::cout << "flipping cone..." << std::endl; 83 83 groebnerCone neighbour = sigma.flipCone(interiorPoint,normalVectors[j]); 84 84 workingList.insert(neighbour); -
Singular/dyn_modules/gfanlib/tropicalVarietyOfPolynomials.h
r44d34b6 rf16226 22 22 return zc<zd; 23 23 else 24 return n <m;24 return n>m; 25 25 } 26 26 };
Note: See TracChangeset
for help on using the changeset viewer.