java.lang.Object
org.bigraphs.framework.core.reactivesystem.analysis.ReactionGraphAnalysis<B>
- Type Parameters:
B
- type of the bigraph
This class provides various analysis methods/operations based on labelled transition system, specifically, for
the
ReactionGraph
class.
Instantiation is provided via a factory method createInstance()
.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ReactionGraphAnalysis.StateTrace<B extends Bigraph<? extends Signature<?>>>
Object containing one path from a state v of a reaction graph to one leave of the subtree rooted at state v -
Method Summary
Modifier and TypeMethodDescriptionstatic <B extends Bigraph<? extends Signature<?>>>
ReactionGraphAnalysis<B>Create an instance ofReactionGraphAnalysis
.findAllPathsInGraphToLeaves
(ReactionGraph<B> reactionGraph) static Function<ReactionGraph.LabeledNode,
Boolean> isLeaf
(org.jgrapht.Graph<ReactionGraph.LabeledNode, ReactionGraph.LabeledEdge> jGraph)
-
Method Details
-
createInstance
Create an instance ofReactionGraphAnalysis
.- Type Parameters:
B
- type of the bigraph- Returns:
- an object of type
ReactionGraphAnalysis
-
findAllPathsInGraphToLeaves
public List<ReactionGraphAnalysis.StateTrace<B>> findAllPathsInGraphToLeaves(ReactionGraph<B> reactionGraph) -
isLeaf
public static Function<ReactionGraph.LabeledNode,Boolean> isLeaf(org.jgrapht.Graph<ReactionGraph.LabeledNode, ReactionGraph.LabeledEdge> jGraph)
-