COIN-OR::LEMON - Graph Library

Changeset 818:2b687ca1a08b in lemon-0.x


Ignore:
Timestamp:
09/08/04 13:48:24 (15 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1114
Message:

Getting compilable with path_test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/skeletons/path.h

    r807 r818  
     1#define SKELETON
    12// -*- c++ -*- //
    23
     
    2930     
    3031      /// Type of the underlying graph.
    31       typedef typename GR Graph;
     32      typedef /*typename*/ GR Graph;
    3233      /// Edge type of the underlying graph.
    3334      typedef typename Graph::Edge GraphEdge;
    3435      /// Node type of the underlying graph.
    35       typedef typename Graph::Node GraphNode;
     36     typedef typename Graph::Node GraphNode;
    3637      class NodeIt;
    3738      class EdgeIt;
     
    4243     
    4344      /// Length of the path.
    44       size_t length() const {}
     45      size_t length() const {return 0;}
    4546      /// Returns whether the path is empty.
    4647      bool empty() const {}
     
    5354      /// Starting point of the path.
    5455      /// Returns INVALID if the path is empty.
    55       NodeIt head() const {}
     56      GraphNode/*It*/ head() const {return INVALID;}
    5657      /// \brief End point of the path.
    5758      ///
    5859      /// End point of the path.
    5960      /// Returns INVALID if the path is empty.
    60       NodeIt tail() const {}
     61      GraphNode/*It*/ tail() const {return INVALID;}
    6162
    6263      /// \brief First NodeIt/EdgeIt.
     
    166167      class Builder {
    167168      public:
     169
     170        Path &P;
     171
    168172        ///\param _P the path you want to fill in.
    169173        ///
Note: See TracChangeset for help on using the changeset viewer.