Changeset 979:b5fb023cdb7b in lemon-0.x
- Timestamp:
- 11/10/04 22:59:59 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1367
- Location:
- src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/benchmark/bench_tools.h
r921 r979 29 29 30 30 ///\bug 2 is not a prime according to this function! 31 bool isPrim(int n) 31 /// 32 ///\bug This function should go out of header file. I'm making it 33 /// inline for now. 34 inline bool isPrim(int n) 32 35 { 33 36 if(n%2) { … … 40 43 41 44 ///Finds the smallest prime not less then \c n. 42 int nextPrim(int n) 45 46 ///\bug This function should go out of header file. I'm making it 47 /// inline for now. 48 inline int nextPrim(int n) 43 49 { 44 50 for(n+=!(n%2);!isPrim(n);n+=2) ; -
src/lemon/array_map.h
r978 r979 365 365 typedef ArrayMap<Graph, Node, NodeIt, NodeIdMap, _Value> Parent; 366 366 367 typedef typename Parent::Graph Graph;367 //typedef typename Parent::Graph Graph; 368 368 typedef typename Parent::Value Value; 369 369 … … 386 386 typedef ArrayMap<Graph, Edge, EdgeIt, EdgeIdMap, _Value> Parent; 387 387 388 typedef typename Parent::Graph Graph;388 //typedef typename Parent::Graph Graph; 389 389 typedef typename Parent::Value Value; 390 390 -
src/lemon/default_map.h
r946 r979 188 188 typedef DefaultMap<Graph, Node, NodeIt, NodeIdMap, _Value> Parent; 189 189 190 typedef typename Parent::Graph Graph;190 //typedef typename Parent::Graph Graph; 191 191 typedef typename Parent::ValueType ValueType; 192 192 … … 209 209 typedef DefaultMap<Graph, Edge, EdgeIt, EdgeIdMap, _Value> Parent; 210 210 211 typedef typename Parent::Graph Graph;211 //typedef typename Parent::Graph Graph; 212 212 typedef typename Parent::ValueType ValueType; 213 213 -
src/lemon/vector_map.h
r978 r979 249 249 typedef VectorMap<Graph, Node, NodeIdMap, _Value> Parent; 250 250 251 typedef typename Parent::Graph Graph;251 //typedef typename Parent::Graph Graph; 252 252 typedef typename Parent::Value Value; 253 253 … … 269 269 typedef VectorMap<Graph, Edge, EdgeIdMap, _Value> Parent; 270 270 271 typedef typename Parent::Graph Graph;271 //typedef typename Parent::Graph Graph; 272 272 typedef typename Parent::Value Value; 273 273
Note: See TracChangeset
for help on using the changeset viewer.