COIN-OR::LEMON - Graph Library

Changeset 1125:377e240b050f in lemon-0.x for src/work/alpar/dijkstra.h


Ignore:
Timestamp:
02/05/05 21:05:01 (18 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1524
Message:

A new exception class called UninitializedParameter?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/alpar/dijkstra.h

    r1124 r1125  
    3131
    3232
    33   class UninitializedData : public LogicError {};
    34 
    35 
    3633/// \addtogroup flowalgs
    3734/// @{
     
    9188    typedef typename Graph::template NodeMap<typename GR::Node> PredNodeMap;
    9289    ///Instantiates a PredNodeMap.
    93  
     90    
    9491    ///This function instantiates a \ref PredNodeMap.
    9592    ///\param G is the graph, to which we would like to define the \ref PredNodeMap
     
    132129 
    133130  ///%Dijkstra algorithm class.
    134 
     131 
    135132  ///This class provides an efficient implementation of %Dijkstra algorithm.
    136133  ///The edge lengths are passed to the algorithm using a
     
    175172  class Dijkstra {
    176173  public:
    177     ///Exception thrown by dijkstra.
    178     class UninitializedData : public lemon::UninitializedData {};
     174    /**
     175     * \brief \ref Exception for uninitialized parameters.
     176     *
     177     * This error represents problems in the initialization
     178     * of the parameters of the algorithms.
     179     */
     180    class UninitializedParameter : public lemon::UninitializedParameter {
     181    public:
     182      virtual const char* exceptionName() const {
     183        return "lemon::Dijsktra::UninitializedParameter";
     184      }
     185    };
    179186
    180187    typedef TR Traits;
Note: See TracChangeset for help on using the changeset viewer.