Class: PetriNet::CoverabilityGraph::Edge
- Defined in:
- lib/petri_net/coverability_graph/edge.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(options = {}) {|_self| ... } ⇒ Edge
constructor
Creates an edge for PetriNet::CoverabilityGraph.
-
#validate ⇒ Object
Validates the data holded by this edge, this will be used while adding the edge to the graph.
Methods inherited from Base
Constructor Details
#initialize(options = {}) {|_self| ... } ⇒ Edge
Creates an edge for PetriNet::CoverabilityGraph
4 5 6 7 |
# File 'lib/petri_net/coverability_graph/edge.rb', line 4 def initialize( = {}, &block) super() yield self unless block.nil? end |
Instance Method Details
#validate ⇒ Object
Validates the data holded by this edge, this will be used while adding the edge to the graph
10 11 12 |
# File 'lib/petri_net/coverability_graph/edge.rb', line 10 def validate super end |