class Disp3D::NodePathDB
hold path id and node connectivity
Public Class Methods
add(path_id, node)
click to toggle source
# File lib/node/node_collection.rb, line 154 def self.add(path_id, node) return @path_db[path_id] = node end
find_by_path_id(path_id)
click to toggle source
# File lib/node/node_collection.rb, line 158 def self.find_by_path_id(path_id) return @path_db[path_id] end
init()
click to toggle source
# File lib/node/node_collection.rb, line 150 def self.init @path_db = Hash.new end