Class: PetriNet::ReachabilityGraph::InfinityNode
- Inherits:
-
Node
- Object
- Base
- Graph::Node
- Node
- PetriNet::ReachabilityGraph::InfinityNode
- Defined in:
- lib/petri_net/reachability_graph/node.rb
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 ⇒ InfinityNode
constructor
A new instance of InfinityNode.
Methods inherited from Graph::Node
#<=>, #add_omega, #gv_id, #to_gv, #to_s, #validate
Methods inherited from Base
Constructor Details
#initialize ⇒ InfinityNode
Returns a new instance of InfinityNode.
10 11 12 |
# File 'lib/petri_net/reachability_graph/node.rb', line 10 def initialize() super(markings: [Float::INFINITY]) end |