equal
deleted
inserted
replaced
1 /* -*- C++ -*- |
1 /* -*- C++ -*- |
2 * |
2 * |
3 * This file is a part of LEMON, a generic C++ optimization library |
3 * This file is a part of LEMON, a generic C++ optimization library |
4 * |
4 * |
5 * Copyright (C) 2003-2006 |
5 * Copyright (C) 2003-2007 |
6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport |
6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport |
7 * (Egervary Research Group on Combinatorial Optimization, EGRES). |
7 * (Egervary Research Group on Combinatorial Optimization, EGRES). |
8 * |
8 * |
9 * Permission to use, modify and distribute this software is granted |
9 * Permission to use, modify and distribute this software is granted |
10 * provided that this copyright notice appears in all copies. For |
10 * provided that this copyright notice appears in all copies. For |
85 path[bfs.predEdge(node)] = true; |
85 path[bfs.predEdge(node)] = true; |
86 } |
86 } |
87 |
87 |
88 graphToEps(filtered, "grid_ugraph_demo.eps").scaleToA4(). |
88 graphToEps(filtered, "grid_ugraph_demo.eps").scaleToA4(). |
89 title("Grid ugraph"). |
89 title("Grid ugraph"). |
90 copyright("(C) 2006 LEMON Project"). |
90 copyright("(C) 2003-2007 LEMON Project"). |
91 coords(scaleMap(indexMap(ugraph), 10)). |
91 coords(scaleMap(indexMap(ugraph), 10)). |
92 enableParallel(). |
92 enableParallel(). |
93 nodeScale(0.5). |
93 nodeScale(0.5). |
94 drawArrows(). |
94 drawArrows(). |
95 edgeColors(composeMap(Palette(), path)). |
95 edgeColors(composeMap(Palette(), path)). |