COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
04/03/04 16:22:33 (21 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@393
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/graph_wrapper.h

    r275 r279  
    449449//   };
    450450
    451 
    452451  template<typename GraphWrapper>
    453452  class RevGraphWrapper : public GraphWrapperSkeleton<GraphWrapper> {
     
    455454    typedef typename GraphWrapperSkeleton<GraphWrapper>::Node Node;
    456455    typedef typename GraphWrapperSkeleton<GraphWrapper>::Edge Edge;
     456    //FIXME
     457    //If GraphWrapper::OutEdgeIt is not defined
     458    //and we do not want to use RevGraphWrapper::InEdgeIt,
     459    //this won't work, because of typedef
     460    //OR
     461    //graphs have to define their non-existing iterators to void
     462    //Unfortunately all the typedefs are instantiated in templates,
     463    //unlike other stuff
    457464    typedef typename GraphWrapperSkeleton<GraphWrapper>::OutEdgeIt InEdgeIt;
    458465    typedef typename GraphWrapperSkeleton<GraphWrapper>::InEdgeIt OutEdgeIt;
     
    703710    class Edge {
    704711      friend class UndirGraphWrapper<GraphWrapper>;
     712    protected:
    705713      bool out_or_in; //true iff out
    706714      GraphOutEdgeIt out;
Note: See TracChangeset for help on using the changeset viewer.