src/work/marci/experiment/list_graph.h
changeset 963 5a7556e9e340
parent 281 3fefabfd00b7
child 986 e997802b855c
equal deleted inserted replaced
0:7839ed973dca 1:73102475362b
     1 // -*- c++ -*-
     1 // -*- c++ -*-
     2 #ifndef HUGO_LIST_GRAPH_H
     2 #ifndef LEMON_LIST_GRAPH_H
     3 #define HUGO_LIST_GRAPH_H
     3 #define LEMON_LIST_GRAPH_H
     4 
     4 
     5 #include <iostream>
     5 #include <iostream>
     6 #include <vector>
     6 #include <vector>
     7 
     7 
     8 #include <invalid.h>
     8 #include <invalid.h>
     9 
     9 
    10 namespace hugo {
    10 namespace lemon {
    11 
    11 
    12   template <typename It>
    12   template <typename It>
    13   int count(It it) { 
    13   int count(It it) { 
    14     int i=0;
    14     int i=0;
    15     for( ; it.valid(); ++it) { ++i; } 
    15     for( ; it.valid(); ++it) { ++i; } 
   563 //   ListGraph::SymEdgeIt ListGraph::first<ListGraph::SymEdgeIt>(const ListGraph::Node v) const { 
   563 //   ListGraph::SymEdgeIt ListGraph::first<ListGraph::SymEdgeIt>(const ListGraph::Node v) const { 
   564 //     return firstSymEdge(v); 
   564 //     return firstSymEdge(v); 
   565 //   }
   565 //   }
   566 
   566 
   567 
   567 
   568 } //namespace hugo
   568 } //namespace lemon
   569 
   569 
   570 #endif //HUGO_LIST_GRAPH_H
   570 #endif //LEMON_LIST_GRAPH_H