Class PureBigraphTransformer
java.lang.Object
org.bigraphs.grgen.converter.TransformerSupport
org.bigraphs.grgen.converter.BigraphTransformer
org.bigraphs.grgen.converter.impl.PureBigraphTransformer
- All Implemented Interfaces:
BaseTransformer<org.bigraphs.framework.core.Bigraph<org.bigraphs.framework.core.Signature<?>>>
This class transforms an Ecore bigraph instance model (i.e., a graph typed over a type graph extended by a signature) to GrGen.NET's graph format.
GrGen.NET's graph metamodel represents essentially a control-compatible extension of the basic type graph of bigraphs (refer to [KeTG16]).
The bigraph must have special properties: It must be prime and ground. Such a bigraph is used as an agent for a bigraphical reactive system (BRS).
-
Field Summary
Fields inherited from class org.bigraphs.grgen.converter.TransformerSupport
DEFAULT_WHITESPACE_CHAR, LINE_SEP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoString
(org.bigraphs.framework.core.Bigraph bigraph) Redirects the result of an encoding to a stringwithOppositeEdges
(boolean flag) Methods inherited from class org.bigraphs.grgen.converter.TransformerSupport
assertCorrectClassType, assertPrimeAndGround, closeBlock, closeClassDefinition, closeClassDefinitionWithAttributes, createAbstractEdgeClass, createAbstractNodeClass, createEdge, createEdgeClass, createGraphlet, createNodeClass, createNodeInstance, createNodeInstance, createVarTypeDecl, createVarTypeDeclWithComma, createVarTypeDeclWithComma, extendClass, nodeTypeOf, openRuleModifierBlock, openRuleReplaceBlock
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bigraphs.grgen.converter.BaseTransformer
createNameSupplier, toOutputStream
-
Constructor Details
-
PureBigraphTransformer
public PureBigraphTransformer()
-
-
Method Details
-
withOppositeEdges
-
toString
Description copied from interface:BaseTransformer
Redirects the result of an encoding to a string- Specified by:
toString
in interfaceBaseTransformer<org.bigraphs.framework.core.Bigraph<org.bigraphs.framework.core.Signature<?>>>
- Specified by:
toString
in classBigraphTransformer
- Parameters:
bigraph
- the bigraph or signature being encoded
-