Class BigridGenerator.DiscreteIons
java.lang.Object
org.bigraphs.framework.core.alg.generators.BigridGenerator.DiscreteIons
- Enclosing class:
- BigridGenerator
Inner class that provides the basic building blocks for constructing the bigrid.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncenter()
createClosure
(String name, int length, Bigraph<?> b, Linkings<DefaultDynamicSignature> linkings) Helper method to create a closure (node-free bigraph, a linking)createNorthSouthConnector
(Bigraph<?> rowBigraph, Linkings<DefaultDynamicSignature> linkings) Helper methods that creates a wiring to connect rows of a bigridcreateRenaming
(Map<String, String> renamings, PureBigraph previous, Linkings<DefaultDynamicSignature> linkings) Helper method to create a renaming (node-free bigraph, a bijective substitution)leftEdge()
topEdge()
Top edge of a bigridtopLeft()
Top-left corner of a bigridtopRight()
-
Constructor Details
-
DiscreteIons
-
-
Method Details
-
createByType
- Throws:
Exception
-
createNorthSouthConnector
public Optional<Bigraph> createNorthSouthConnector(Bigraph<?> rowBigraph, Linkings<DefaultDynamicSignature> linkings) Helper methods that creates a wiring to connect rows of a bigrid -
createClosure
public Optional<Bigraph> createClosure(String name, int length, Bigraph<?> b, Linkings<DefaultDynamicSignature> linkings) throws IncompatibleSignatureException, IncompatibleInterfaceException Helper method to create a closure (node-free bigraph, a linking) -
createRenaming
public Optional<Bigraph> createRenaming(Map<String, String> renamings, PureBigraph previous, Linkings<DefaultDynamicSignature> linkings) Helper method to create a renaming (node-free bigraph, a bijective substitution) -
topLeft
Top-left corner of a bigrid- Returns:
- a discrete ion (bigraph) representing the top-left corner
- Throws:
InvalidConnectionException
TypeNotExistsException
-
topEdge
Top edge of a bigrid- Returns:
- a discrete ion (bigraph) representing the top edge of a bigrid
- Throws:
InvalidConnectionException
TypeNotExistsException
-
topRight
-
leftEdge
-
rightEdge
-
center
-
bottomLeft
-
bottomEdge
-
bottomRight
-