COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
02/20/05 02:02:07 (19 years ago)
Author:
Mihaly Barasz
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1559
Message:

Graph and UndirGraph? concept modifications.

  • For incidence iterators ({In,Out,Inc}EdgeIt?) there is now baseNode and runningNode functions in graph interface
  • For Edge in undir graphs: Edge(UndirGraph? const &, UndirEdge?, Node) constructor. Same for IncEdgeIt?
  • Edge(UndirEdge?, bool) constructor is no more in the public interface. (But we need it in the developpers interface).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/concept/graph_component.h

    r1136 r1158  
    626626          Edge e = it1;
    627627          e = it2;
    628         }
    629 
    630         Edge& edge;
    631         Node& node;
    632         Graph& graph;
     628
     629          const_constraits();
     630        }
     631
     632        void const_constraits() {
     633          Node n = graph.baseNode(it);
     634          n = graph.runningNode(it);
     635        }
     636
     637        Edge edge;
     638        Node node;
     639        Graph graph;
     640        _GraphIncIterator it;
    633641      };
    634642    };
Note: See TracChangeset for help on using the changeset viewer.