lemon/grid_ugraph.h
changeset 2384 805c5a2a36dd
parent 2260 4274224f8a7d
child 2386 81b47fc5c444
equal deleted inserted replaced
12:a0de3a626073 13:3a03579b01d5
   388     GridUGraph(int n, int m) { construct(n, m); }
   388     GridUGraph(int n, int m) { construct(n, m); }
   389 
   389 
   390     /// \brief Resize the graph
   390     /// \brief Resize the graph
   391     ///
   391     ///
   392     void resize(int n, int m) {
   392     void resize(int n, int m) {
   393       Parent::getNotifier(Edge()).clear();
   393       Parent::notifier(Edge()).clear();
   394       Parent::getNotifier(UEdge()).clear();
   394       Parent::notifier(UEdge()).clear();
   395       Parent::getNotifier(Node()).clear();
   395       Parent::notifier(Node()).clear();
   396       construct(n, m);
   396       construct(n, m);
   397       Parent::getNotifier(Node()).build();
   397       Parent::notifier(Node()).build();
   398       Parent::getNotifier(UEdge()).build();
   398       Parent::notifier(UEdge()).build();
   399       Parent::getNotifier(Edge()).build();
   399       Parent::notifier(Edge()).build();
   400     }
   400     }
   401     
   401     
   402     /// \brief The node on the given position.
   402     /// \brief The node on the given position.
   403     /// 
   403     /// 
   404     /// Gives back the node on the given position.
   404     /// Gives back the node on the given position.