# HG changeset patch
# User deba
# Date 1113327442 0
# Node ID 71e0777b65e0c5c6868496028a82e17c0bdd49e8
# Parent 9146f77f6d671f40eeac4f75c213bebaa0e289de
Minor changes.
diff -r 9146f77f6d67 -r 71e0777b65e0 src/lemon/dijkstra.h
--- a/src/lemon/dijkstra.h Tue Apr 12 17:35:36 2005 +0000
+++ b/src/lemon/dijkstra.h Tue Apr 12 17:37:22 2005 +0000
@@ -599,8 +599,8 @@
///
///\param nm must be a bool (or convertible) node map. The algorithm
///will stop when it reaches a node \c v with nm[v]==true.
- template
- void start(const NM &nm)
+ template
+ void start(const NodeBoolMap &nm)
{
while ( !_heap.empty() && !nm[_heap.top()] ) processNextNode();
if ( !_heap.empty() ) finalizeNodeData(_heap.top(),_heap.prio());
@@ -954,11 +954,11 @@
{
if(Base::_source==INVALID) throw UninitializedParameter();
Dijkstra
- Dij(*(Graph*)Base::_g,*(LengthMap*)Base::_length);
- if(Base::_pred) Dij.predMap(*(PredMap*)Base::_pred);
+ dij(*(Graph*)Base::_g,*(LengthMap*)Base::_length);
+ if(Base::_pred) dij.predMap(*(PredMap*)Base::_pred);
// if(Base::_predNode) Dij.predNodeMap(*(PredNodeMap*)Base::_predNode);
- if(Base::_dist) Dij.distMap(*(DistMap*)Base::_dist);
- Dij.run(Base::_source);
+ if(Base::_dist) dij.distMap(*(DistMap*)Base::_dist);
+ dij.run(Base::_source);
}
///Runs Dijkstra algorithm from the given node.