src/work/marci/graph_concept.h
changeset 986 e997802b855c
parent 921 818510fa3d99
child 987 87f7c54892df
     1.1 --- a/src/work/marci/graph_concept.h	Sat Nov 13 12:24:01 2004 +0000
     1.2 +++ b/src/work/marci/graph_concept.h	Sat Nov 13 12:53:28 2004 +0000
     1.3 @@ -103,10 +103,10 @@
     1.4      //SymEdgeIt &next(SymEdgeIt &) const {}
     1.5  
     1.6  
     1.7 -    /// Gives back the head node of an edge.
     1.8 -    Node head(const Edge&) const { return INVALID; }
     1.9 -    /// Gives back the tail node of an edge.
    1.10 -    Node tail(const Edge&) const { return INVALID; }
    1.11 +    /// Gives back the target node of an edge.
    1.12 +    Node target(const Edge&) const { return INVALID; }
    1.13 +    /// Gives back the source node of an edge.
    1.14 +    Node source(const Edge&) const { return INVALID; }
    1.15    
    1.16      //   Node aNode(SymEdgeIt) const {}
    1.17      //   Node bNode(SymEdgeIt) const {}
    1.18 @@ -142,10 +142,10 @@
    1.19      Node addNode() { return INVALID; }
    1.20      /// \brief Add a new edge to the graph.
    1.21      ///
    1.22 -    /// Add a new edge to the graph with tail node \c tail
    1.23 -    /// and head node \c head.
    1.24 +    /// Add a new edge to the graph with source node \c source
    1.25 +    /// and target node \c target.
    1.26      /// \return the new edge.
    1.27 -    Edge addEdge(const Node& tail, const Node& head) { return INVALID; }
    1.28 +    Edge addEdge(const Node& source, const Node& target) { return INVALID; }
    1.29      
    1.30      /// \brief Resets the graph.
    1.31      ///