Changeset 1157:761fe0846f49 in lemon for lemon
- Timestamp:
- 09/13/12 11:45:36 (12 years ago)
- Branch:
- default
- Children:
- 1158:8d2e55fac752, 1159:7fdaa05a69a1, 1167:c5990f454032
- Phase:
- public
- Location:
- lemon
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/adaptors.h
r703 r1157 1365 1365 /// and edge filter maps. 1366 1366 SubGraph(GR& graph, NF& node_filter, EF& edge_filter) { 1367 initialize(graph, node_filter, edge_filter);1367 this->initialize(graph, node_filter, edge_filter); 1368 1368 } 1369 1369 … … 2262 2262 /// Creates an undirected graph from the given digraph. 2263 2263 Undirector(DGR& digraph) { 2264 initialize(digraph);2264 this->initialize(digraph); 2265 2265 } 2266 2266 -
lemon/bits/bezier.h
r463 r1157 160 160 const Point d=(a+b)/2; 161 161 const Point e=(b+c)/2; 162 const Point f=(d+e)/2;162 // const Point f=(d+e)/2; 163 163 R f1=_f(Bezier3(p1,a,d,e),_d); 164 164 R f2=_f(Bezier3(e,d,c,p4),_d); -
lemon/bits/edge_set_extender.h
r967 r1157 524 524 // Returns the base node of the iterator 525 525 Node baseNode(const IncEdgeIt &e) const { 526 return e.direction ? u(e) :v(e);526 return e.direction ? this->u(e) : this->v(e); 527 527 } 528 528 // Running node of the iterator … … 530 530 // Returns the running node of the iterator 531 531 Node runningNode(const IncEdgeIt &e) const { 532 return e.direction ? v(e) :u(e);532 return e.direction ? this->v(e) : this->u(e); 533 533 } 534 534 -
lemon/bits/graph_extender.h
r732 r1157 588 588 // Returns the base node of the iterator 589 589 Node baseNode(const IncEdgeIt &edge) const { 590 return edge._direction ? u(edge) :v(edge);590 return edge._direction ? this->u(edge) : this->v(edge); 591 591 } 592 592 // Running node of the iterator … … 594 594 // Returns the running node of the iterator 595 595 Node runningNode(const IncEdgeIt &edge) const { 596 return edge._direction ? v(edge) :u(edge);596 return edge._direction ? this->v(edge) : this->u(edge); 597 597 } 598 598 -
lemon/circulation.h
r735 r1157 559 559 560 560 Node act; 561 Node bact=INVALID;562 Node last_activated=INVALID;563 561 while((act=_level->highestActive())!=INVALID) { 564 562 int actlevel=(*_level)[act]; -
lemon/concept_check.h
r463 r1157 36 36 37 37 template <class T> inline void ignore_unused_variable_warning(const T&) { } 38 template <class T1, class T2> 39 inline void ignore_unused_variable_warning(const T1&, const T2&) { } 40 template <class T1, class T2, class T3> 41 inline void ignore_unused_variable_warning(const T1&, const T2&, 42 const T3&) { } 43 template <class T1, class T2, class T3, class T4> 44 inline void ignore_unused_variable_warning(const T1&, const T2&, 45 const T3&, const T4&) { } 46 template <class T1, class T2, class T3, class T4, class T5> 47 inline void ignore_unused_variable_warning(const T1&, const T2&, 48 const T3&, const T4&, 49 const T5&) { } 50 template <class T1, class T2, class T3, class T4, class T5, class T6> 51 inline void ignore_unused_variable_warning(const T1&, const T2&, 52 const T3&, const T4&, 53 const T5&, const T6&) { } 38 54 39 55 ///\e -
lemon/concepts/graph_components.h
r1125 r1157 495 495 _GraphItemIt it3 = it1; 496 496 _GraphItemIt it4 = INVALID; 497 ignore_unused_variable_warning(it3); 498 ignore_unused_variable_warning(it4); 497 499 498 500 it2 = ++it1; … … 584 586 _GraphIncIt it3 = it1; 585 587 _GraphIncIt it4 = INVALID; 588 ignore_unused_variable_warning(it3); 589 ignore_unused_variable_warning(it4); 586 590 587 591 it2 = ++it1; -
lemon/concepts/maps.h
r1125 r1157 50 50 /// Returns the value associated with the given key. 51 51 Value operator[](const Key &) const { 52 return * static_cast<Value *>(0);52 return *(static_cast<Value *>(0)+1); 53 53 } 54 54 -
lemon/graph_to_eps.h
r908 r1157 223 223 using T::_copyright; 224 224 225 using T::NodeTextColorType;225 using typename T::NodeTextColorType; 226 226 using T::CUST_COL; 227 227 using T::DIST_COL;
Note: See TracChangeset
for help on using the changeset viewer.