Class BisimulationMixinImpl<B extends Bigraph<? extends Signature<?>>,AST extends ReactionGraph<B>>
java.lang.Object
org.bigraphs.framework.simulation.equivalence.BisimulationMixinImpl<B,AST>
- Type Parameters:
B- state type used by ASTAST- transition-system type (states are bigraphs of type B; transitions are BMatchResult<B>)
- All Implemented Interfaces:
BehavioralEquivalenceMixin<AST>
public class BisimulationMixinImpl<B extends Bigraph<? extends Signature<?>>,AST extends ReactionGraph<B>>
extends Object
implements BehavioralEquivalenceMixin<AST>
Bisimulation checks whether two labeled transition systems exhibit the same behavior:
every sequence of visible actions in one system can be matched by the other.
Strong bisimulation: all actions are observable.
Weak bisimulation: τ (tau) transitions are internal and abstracted away.
- Author:
- Dominik Grzelak
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bigraphs.framework.simulation.equivalence.BehavioralEquivalenceMixin
BehavioralEquivalenceMixin.EquivalenceAlgorithm -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToTransitionSystem(AST transitionSystem) Attaches this object to the given transition system.booleanisEquivalentTo(AST transitionSystem2) Returns whether this object is equivalent to the given transition system.voidsetBisimType(BehavioralEquivalenceMixin.EquivalenceAlgorithm defaultBisimAlgo)
-
Constructor Details
-
BisimulationMixinImpl
public BisimulationMixinImpl()
-
-
Method Details
-
isEquivalentTo
Description copied from interface:BehavioralEquivalenceMixinReturns whether this object is equivalent to the given transition system.Equivalence check depends on the
BehavioralEquivalenceMixin.EquivalenceAlgorithm.- Specified by:
isEquivalentToin interfaceBehavioralEquivalenceMixin<B extends Bigraph<? extends Signature<?>>>- Parameters:
transitionSystem2- the transition system to compare against- Returns:
- true if equivalent; false otherwise
-
attachToTransitionSystem
Description copied from interface:BehavioralEquivalenceMixinAttaches this object to the given transition system.- Specified by:
attachToTransitionSystemin interfaceBehavioralEquivalenceMixin<B extends Bigraph<? extends Signature<?>>>- Parameters:
transitionSystem- the transition system to attach to
-
getBisimType
-
setBisimType
-