Changeset ff48aa in git for Singular/dyn_modules/gfanlib/tropicalCurves.cc
- Timestamp:
- Jan 31, 2015, 11:44:20 AM (9 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- 5510099a60c7cd4cb8ef47b8e583ed11e4b4ffe3
- Parents:
- 08749da88db85345212e694597d458072913a9c5
- git-author:
- Yue Ren <ren@mathematik.uni-kl.de>2015-01-31 11:44:20+01:00
- git-committer:
- Yue Ren <ren@mathematik.uni-kl.de>2015-02-06 13:47:06+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/dyn_modules/gfanlib/tropicalCurves.cc
r08749da rff48aa 131 131 * If all initial ideals are monomial free, then we have our tropical curve */ 132 132 // gfan::ZFan* zf = toFanStar(C); 133 // std::cout << zf->toString( );133 // std::cout << zf->toString(2+4+8+128) << std::endl; 134 134 // delete zf; 135 135 for (std::set<gfan::ZCone>::iterator zc=C.begin(); zc!=C.end();) … … 137 137 gfan::ZVector w = zc->getRelativeInteriorPoint(); 138 138 gfan::ZMatrix W = zc->generatorsOfSpan(); 139 // std::cout << zc->extremeRays() << std::endl; 139 140 140 141 ring s = genericlyWeightedOrdering(r,u,w,W,currentStrategy); … … 148 149 149 150 poly mons = currentStrategy.checkInitialIdealForMonomial(ininIs,s,w); 150 // poly mons = checkForMonomialViaSuddenSaturation(ininIs,s);151 151 if (mons) 152 152 { 153 // std::cout << "computing witness in tropical star!" << std::endl; 153 154 poly gs = witness(mons,inIsSTD,ininIs,s); 154 155 C = intersect(C,tropicalVariety(gs,s,currentStrategy),d); … … 161 162 zc = C.begin(); 162 163 // gfan::ZFan* zf = toFanStar(C); 163 // std::cout << zf->toString( );164 // std::cout << zf->toString(2+4+8+128) << std::endl; 164 165 // delete zf; 165 166 id_Delete(&inIs,s); … … 170 171 else 171 172 { 172 gfan::ZVector wNeg = -w; 173 id_Delete(&inIs,s); 174 id_Delete(&inIsSTD,s); 175 id_Delete(&ininIs,s); 176 rDelete(s); 177 178 gfan::ZVector wNeg = currentStrategy.negateWeight(w); 173 179 if (zc->contains(wNeg)) 174 180 { … … 183 189 184 190 mons = currentStrategy.checkInitialIdealForMonomial(ininIs,s,wNeg); 185 // mons = checkForMonomialViaSuddenSaturation(ininIs,s);186 191 if (mons) 187 192 { … … 217 222 { 218 223 std::set<gfan::ZCone> C = tropicalStar(I,r,u,currentStrategy); 219 gfan::ZFan* zf = toFanStar(C);224 // gfan::ZFan* zf = toFanStar(C); 220 225 // std::cout << zf->toString(); 221 delete zf;226 // delete zf; 222 227 gfan::ZMatrix raysOfC(0,u.size()); 223 228 if (!currentStrategy.restrictToLowerHalfSpace())
Note: See TracChangeset
for help on using the changeset viewer.