Class: PetriNet::ReachabilityGraph::Node
- Inherits:
-
Graph::Node
- Object
- Base
- Graph::Node
- PetriNet::ReachabilityGraph::Node
- Defined in:
- lib/petri_net/reachability_graph/node.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Graph::Node
#graph, #id, #inputs, #label, #markings, #name, #omega_marked, #outputs, #start
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(options = {}) {|_self| ... } ⇒ Node
constructor
A new instance of Node.
Methods inherited from Graph::Node
#<=>, #add_omega, #gv_id, #to_gv, #to_s, #validate
Methods inherited from Base
Constructor Details
#initialize(options = {}) {|_self| ... } ⇒ Node
Returns a new instance of Node.
2 3 4 5 |
# File 'lib/petri_net/reachability_graph/node.rb', line 2 def initialize( = {}, &block) super() yield self unless block.nil? end |