Interface BehavioralEquivalenceMixin<R extends AbstractTransitionSystem<?,?>>
- Type Parameters:
R- transition system type
- All Known Implementing Classes:
BisimulationMixinImpl
public interface BehavioralEquivalenceMixin<R extends AbstractTransitionSystem<?,?>>
Mixin for behavioral equivalence on
AbstractTransitionSystem instances.
Compares two transition systems to decide if their observable behavior matches.
Implementations provide isEquivalentTo(AbstractTransitionSystem) and are typically
implemented via subclassing plus delegation (e.g., with a strategy).
- Author:
- Dominik Grzelak
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToTransitionSystem(R system) Attaches this object to the given transition system.booleanisEquivalentTo(R system) Returns whether this object is equivalent to the given transition system.
-
Method Details
-
isEquivalentTo
Returns whether this object is equivalent to the given transition system.Equivalence check depends on the
BehavioralEquivalenceMixin.EquivalenceAlgorithm.- Parameters:
system- the transition system to compare against- Returns:
- true if equivalent; false otherwise
-
attachToTransitionSystem
Attaches this object to the given transition system.- Parameters:
system- the transition system to attach to
-