java.lang.Object
org.bigraphs.framework.core.reactivesystem.ReactiveSystemPredicate<B>
org.bigraphs.framework.simulation.modelchecking.predicates.BigraphIsoPredicate<B>
public class BigraphIsoPredicate<B extends Bigraph<? extends Signature<?>>>
extends ReactiveSystemPredicate<B>
Predicate implementation that returns
true if two bigraphs are isomorphic (i.e., structurally equivalent).
Thus, it represents a complete predicate.
A predicate can be created by using the static methods the class provides.
Bigraph isomorphism is checked using the canonical string encoding.
- Author:
- Dominik Grzelak
- See Also:
-
Field Summary
Fields inherited from class org.bigraphs.framework.core.reactivesystem.ReactiveSystemPredicate
label, negate -
Method Summary
Modifier and TypeMethodDescriptionstatic <B extends Bigraph<? extends Signature<?>>>
BigraphIsoPredicate<B>create(B bigraphToMatch) static <B extends Bigraph<? extends Signature<?>>>
BigraphIsoPredicate<B>create(B bigraphToMatch, boolean negate) booleanMethods inherited from class org.bigraphs.framework.core.reactivesystem.ReactiveSystemPredicate
getLabel, isNegate, setNegate, withLabel
-
Method Details
-
create
public static <B extends Bigraph<? extends Signature<?>>> BigraphIsoPredicate<B> create(B bigraphToMatch) -
create
public static <B extends Bigraph<? extends Signature<?>>> BigraphIsoPredicate<B> create(B bigraphToMatch, boolean negate) -
getBigraph
- Specified by:
getBigraphin classReactiveSystemPredicate<B extends Bigraph<? extends Signature<?>>>
-
test
-
getBigraphToMatch
-