Package org.bigraphs.framework.core
Interface BigraphBuilder<S extends Signature<?>>
- Type Parameters:
S
- the signature type
- All Known Implementing Classes:
BigraphBuilderSupport
,KindBigraphBuilder
,MutableBuilder
,PureBigraphBuilder
public interface BigraphBuilder<S extends Signature<?>>
Generic interface for building bigraphs.
- 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
-
Method Details
-
root
BigraphBuilder.NodeHierarchy root()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
-
create
-
makeGround
void makeGround() -
closeInner
BigraphBuilder<S> closeInner() -
closeOuter
BigraphBuilder<S> closeOuter() -
spawn
BigraphBuilder<S> spawn()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
-