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<DefaultDynamicSignature> redexIdentity, PureBigraph paramWiring, Collection<PureBigraph> parameters) PureBigraphParametricMatch
(PureBigraph context, PureBigraph redex, PureBigraph redexImage, Collection<PureBigraph> parameters, Bigraph<DefaultDynamicSignature> redexIdentity, Bigraph<DefaultDynamicSignature> contextIdentity) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionThe context of the matchNote: The return type is of classBigraph
with aDefaultDynamicSignature
.it.uniud.mads.jlibbig.core.std.Match
getParam()
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.void
setContext
(PureBigraph context) void
setParam
(PureBigraph param) void
setRedexImage
(PureBigraph redexImage) boolean
-
Constructor Details
-
PureBigraphParametricMatch
public PureBigraphParametricMatch(it.uniud.mads.jlibbig.core.std.Match jLibMatchResult, PureBigraph context, PureBigraph redex, PureBigraph redexImage, Bigraph<DefaultDynamicSignature> redexIdentity, PureBigraph paramWiring, Collection<PureBigraph> parameters) -
PureBigraphParametricMatch
@Deprecated public PureBigraphParametricMatch(PureBigraph context, PureBigraph redex, PureBigraph redexImage, Collection<PureBigraph> parameters, Bigraph<DefaultDynamicSignature> redexIdentity, Bigraph<DefaultDynamicSignature> contextIdentity) Deprecated.
-
-
Method Details
-
getJLibMatchResult
public it.uniud.mads.jlibbig.core.std.Match getJLibMatchResult() -
getParameters
Description copied from interface:BigraphMatch
Get all parameters of the reaction rules as a list- Specified by:
getParameters
in interfaceBigraphMatch<PureBigraph>
- Returns:
- the parameters of the reaction rule
-
getParam
- Specified by:
getParam
in interfaceBigraphMatch<PureBigraph>
-
setParam
-
wasRewritten
public boolean wasRewritten()- Specified by:
wasRewritten
in interfaceBigraphMatch<PureBigraph>
-
getContext
Description copied from interface:BigraphMatch
The context of the match- Specified by:
getContext
in interfaceBigraphMatch<PureBigraph>
- Returns:
- the context
-
setContext
-
getContextIdentity
Note: The return type is of classBigraph
with aDefaultDynamicSignature
. 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:
getContextIdentity
in interfaceBigraphMatch<PureBigraph>
- Returns:
- the identity link graph
-
getRedex
Description copied from interface:BigraphMatch
Returns the redex of the reaction rule.- Specified by:
getRedex
in interfaceBigraphMatch<PureBigraph>
- Returns:
- the redex of the reaction rule
-
getRedexImage
Description copied from interface:BigraphMatch
Returns the redex image - the juxtaposition of the redex and a suitable identity.- Specified by:
getRedexImage
in interfaceBigraphMatch<PureBigraph>
- Returns:
- the product of the redex and identity link graph
-
setRedexImage
-
getRedexIdentity
Description copied from interface:BigraphMatch
Get the identity link graph of the redex to build the redex image.- Specified by:
getRedexIdentity
in interfaceBigraphMatch<PureBigraph>
- Returns:
- the identity link graph of the redex
-