lemon/graph_utils.h
changeset 2230 67af33b34394
parent 2186 284a9ad118dd
child 2235 48801095a410
equal deleted inserted replaced
53:fd5d87f91a82 54:9d8b6ad70509
  1258 
  1258 
  1259     /// \brief Constructor.
  1259     /// \brief Constructor.
  1260     ///
  1260     ///
  1261     /// Constructor for descriptor map.
  1261     /// Constructor for descriptor map.
  1262     DescriptorMap(const Graph& _graph) : Map(_graph) {
  1262     DescriptorMap(const Graph& _graph) : Map(_graph) {
  1263       build();
  1263       Item it;
       
  1264       const typename Map::Notifier* notifier = Map::getNotifier(); 
       
  1265       for (notifier->first(it); it != INVALID; notifier->next(it)) {
       
  1266 	Map::set(it, invMap.size());
       
  1267 	invMap.push_back(it);	
       
  1268       }      
  1264     }
  1269     }
  1265 
  1270 
  1266   protected:
  1271   protected:
  1267 
  1272 
  1268     /// \brief Add a new key to the map.
  1273     /// \brief Add a new key to the map.