Class PureBigraphParametricMatch
java.lang.Object
org.bigraphs.framework.simulation.matching.pure.PureBigraphParametricMatch
- All Implemented Interfaces:
BigraphMatch<PureBigraph>
This class represents the result of a valid match.
It contains all required elements to perform the rewriting step later.
- Author:
- Dominik Grzelak
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPureBigraphParametricMatch(it.uniud.mads.jlibbig.core.std.Match jLibMatchResult, PureBigraph context, PureBigraph redex, PureBigraph redexImage, Bigraph<DynamicSignature> redexIdentity, PureBigraph paramWiring, Collection<PureBigraph> parameters) PureBigraphParametricMatch(PureBigraph context, PureBigraph redex, PureBigraph redexImage, Collection<PureBigraph> parameters, Bigraph<DynamicSignature> redexIdentity, Bigraph<DynamicSignature> contextIdentity) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionThe context of the matchNote: The return type is of classBigraphwith aDynamicSignature.it.uniud.mads.jlibbig.core.std.MatchgetParam()Get all parameters of the reaction rules as a listgetRedex()Returns the redex of the reaction rule.Get the identity link graph of the redex to build the redex image.Returns the redex image - the juxtaposition of the redex and a suitable identity.voidsetContext(PureBigraph context) voidsetParam(PureBigraph param) voidsetRedexImage(PureBigraph redexImage) boolean
-
Constructor Details
-
PureBigraphParametricMatch
public PureBigraphParametricMatch(it.uniud.mads.jlibbig.core.std.Match jLibMatchResult, PureBigraph context, PureBigraph redex, PureBigraph redexImage, Bigraph<DynamicSignature> redexIdentity, PureBigraph paramWiring, Collection<PureBigraph> parameters) -
PureBigraphParametricMatch
@Deprecated public PureBigraphParametricMatch(PureBigraph context, PureBigraph redex, PureBigraph redexImage, Collection<PureBigraph> parameters, Bigraph<DynamicSignature> redexIdentity, Bigraph<DynamicSignature> contextIdentity) Deprecated.
-
-
Method Details
-
getJLibMatchResult
public it.uniud.mads.jlibbig.core.std.Match getJLibMatchResult() -
getParameters
Description copied from interface:BigraphMatchGet all parameters of the reaction rules as a list- Specified by:
getParametersin interfaceBigraphMatch<PureBigraph>- Returns:
- the parameters of the reaction rule
-
getParam
- Specified by:
getParamin interfaceBigraphMatch<PureBigraph>
-
setParam
-
wasRewritten
public boolean wasRewritten()- Specified by:
wasRewrittenin interfaceBigraphMatch<PureBigraph>
-
getContext
Description copied from interface:BigraphMatchThe context of the match- Specified by:
getContextin interfaceBigraphMatch<PureBigraph>- Returns:
- the context
-
setContext
-
getContextIdentity
Note: The return type is of classBigraphwith aDynamicSignature. We cannot cast it to a pure bigraph because it may also be an elementary bigraph (in the form of a pure bigraph type)- Specified by:
getContextIdentityin interfaceBigraphMatch<PureBigraph>- Returns:
- the identity link graph
-
getRedex
Description copied from interface:BigraphMatchReturns the redex of the reaction rule.- Specified by:
getRedexin interfaceBigraphMatch<PureBigraph>- Returns:
- the redex of the reaction rule
-
getRedexImage
Description copied from interface:BigraphMatchReturns the redex image - the juxtaposition of the redex and a suitable identity.- Specified by:
getRedexImagein interfaceBigraphMatch<PureBigraph>- Returns:
- the product of the redex and identity link graph
-
setRedexImage
-
getRedexIdentity
Description copied from interface:BigraphMatchGet the identity link graph of the redex to build the redex image.- Specified by:
getRedexIdentityin interfaceBigraphMatch<PureBigraph>- Returns:
- the identity link graph of the redex
-