Method: Roma::Routing::RoutingData#create_nodes_from_v_idx
- Defined in:
- lib/roma/routing/routing_data.rb
#create_nodes_from_v_idx ⇒ Object
123 124 125 126 127 128 129 |
# File 'lib/roma/routing/routing_data.rb', line 123 def create_nodes_from_v_idx buf_nodes={} v_idx.each_value{|nids| nids.each{|nid| buf_nodes[nid]=nid } } @nodes=buf_nodes.values.sort end |