Package org.bigraphs.framework.core
Interface BigraphBuilder<S extends Signature<?>>
- Type Parameters:
S
- type of the signature
- All Known Implementing Classes:
BigraphBuilderSupport
,KindBigraphBuilder
,MutableBuilder
,PureBigraphBuilder
public interface BigraphBuilder<S extends Signature<?>>
Common bigraph builder interface.
- Author:
- Dominik Grzelak
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
BigraphBuilder.NodeHierarchy<S extends Signature<? extends Control<?,
?>>> ABigraphBuilder.NodeHierarchy
contains a collection of nodes in a tree structure and is related to the currentBigraphBuilder
instance. -
Method Summary
Modifier and TypeMethodDescriptionCreate a root node under which additional nodes or hierarchies can be place.void
Spawns a fresh bigraph builder but with exactly the same instance of the extended bigraph metamodel and signature as before.
-
Method Details
-
createRoot
BigraphBuilder.NodeHierarchy createRoot()Create a root node under which additional nodes or hierarchies can be place.A hierarchy is returned which contains a collection of nodes in a tree structure. The hierarchy
BigraphBuilder.NodeHierarchy
provides additional methods for adding nodes and sites. The hierarchy can only be used with theBigraphBuilder
which created it.- Returns:
- a hierarchical tree structure
-
hierarchy
-
hierarchy
-
createBigraph
-
makeGround
void makeGround() -
closeAllInnerNames
BigraphBuilder<S> closeAllInnerNames() -
closeAllOuterNames
BigraphBuilder<S> closeAllOuterNames() -
spawnNewOne
BigraphBuilder<S> spawnNewOne()Spawns a fresh bigraph builder but with exactly the same instance of the extended bigraph metamodel and signature as before.- Returns:
- a fresn bigraph builder with the same bigraph metamodel and signature metamodel
-