Changeset 1181:1e5da3fc4fbc in lemon-main
- Timestamp:
- 05/15/18 14:16:35 (7 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/planarity.h
r1092 r1181 2384 2384 if (!pe.run()) return false; 2385 2385 2386 run(pe );2386 run(pe.embeddingMap()); 2387 2387 return true; 2388 2388 } -
test/planarity_test.cc
r798 r1181 246 246 checkEmbedding(graph, pe); 247 247 248 PlanarDrawing<Graph> pd(graph); 249 pd.run(pe.embeddingMap()); 250 checkDrawing(graph, pd); 251 252 PlanarColoring<Graph> pc(graph); 253 pc.runFiveColoring(pe.embeddingMap()); 254 checkColoring(graph, pc, 5); 248 { 249 PlanarDrawing<Graph> pd(graph); 250 pd.run(pe.embeddingMap()); 251 checkDrawing(graph, pd); 252 } 253 254 { 255 PlanarDrawing<Graph> pd(graph); 256 pd.run(); 257 checkDrawing(graph, pd); 258 } 259 260 { 261 PlanarColoring<Graph> pc(graph); 262 pc.runFiveColoring(pe.embeddingMap()); 263 checkColoring(graph, pc, 5); 264 } 265 266 { 267 PlanarColoring<Graph> pc(graph); 268 pc.runFiveColoring(); 269 checkColoring(graph, pc, 5); 270 } 255 271 256 272 } else {
Note: See TracChangeset
for help on using the changeset viewer.