Class Placings.Permutation
java.lang.Object
org.bigraphs.framework.core.BigraphDelegator<S>
org.bigraphs.framework.core.ElementaryBigraph<S>
org.bigraphs.framework.core.impl.elementary.Placings.Permutation
- All Implemented Interfaces:
Bigraph<S>
,EcoreBigraph<S>
,EcoreBigraphExt
,HasSignature<S>
- Direct Known Subclasses:
Placings.Identity1
,Placings.Symmetry
- Enclosing class:
- Placings<S extends AbstractEcoreSignature<? extends Control<?,
?>>>
Base class of a bijective placing.
This class will also create an identity place graph id_n ("equally distributed"). Each site will be mapped to one root where the indices are the same.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bigraphs.framework.core.EcoreBigraph
EcoreBigraph.Stub<S extends AbstractEcoreSignature<?>>
-
Field Summary
Fields inherited from class org.bigraphs.framework.core.ElementaryBigraph
instanceModel, metaModelPackage
Fields inherited from class org.bigraphs.framework.core.BigraphDelegator
bigraphDelegate
-
Method Summary
Modifier and TypeMethodDescriptionList<BigraphEntity<?>>
getChildrenOf
(BigraphEntity<?> node) Returns the set of children of a given node (including sites).getRoots()
getSiblingsOfInnerName
(BigraphEntity.InnerName innerName) Returns all siblings of an inner name.List<BigraphEntity<?>>
getSiblingsOfNode
(BigraphEntity<?> node) Returns all siblings of the given node of the current bigraph.Get the corresponding signature of the underlying bigraphgetSites()
Methods inherited from class org.bigraphs.framework.core.ElementaryBigraph
areConnected, getAllLinks, getAllPlaces, getEdges, getInnerNames, getInstanceModel, getLevelOf, getLinkOfPoint, getMetaModel, getNodeOfPort, getNodes, getOpenNeighborhoodOfVertex, getOuterNames, getParent, getPointsFromLink, getPortCount, getPorts, getTopLevelRoot, isLinking, isParentOf, isPlacing
Methods inherited from class org.bigraphs.framework.core.BigraphDelegator
getBigraphDelegate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bigraphs.framework.core.Bigraph
getIncidentLinksOf, getInnerFace, getOuterFace, getSupport, isActive, isActiveAtNode, isActiveAtSite, isDiscrete, isEpimorphic, isGround, isGuarding, isLean, isMonomorphic, isPrime
Methods inherited from interface org.bigraphs.framework.core.EcoreBigraph
getEMetaModelData, isBEdge, isBInnerName, isBLink, isBNode, isBOuterName, isBPlace, isBPoint, isBPort, isBRoot, isBSite, isIndexable, isNameable, isOfEClass
-
Method Details
-
getRoots
- Specified by:
getRoots
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getRoots
in classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>>
-
getSites
- Specified by:
getSites
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getSites
in classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>>
-
getSignature
Description copied from interface:HasSignature
Get the corresponding signature of the underlying bigraph- Specified by:
getSignature
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Specified by:
getSignature
in interfaceEcoreBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Specified by:
getSignature
in interfaceHasSignature<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getSignature
in classBigraphDelegator<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Returns:
- the signature of the bigraph
-
getChildrenOf
Description copied from interface:Bigraph
Returns the set of children of a given node (including sites).
If the node has no children, then an empty set is returned.- Specified by:
getChildrenOf
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getChildrenOf
in classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Parameters:
node
- the node whose children should be returned- Returns:
- a set of children of the given node
-
getSiblingsOfNode
Description copied from interface:Bigraph
Returns all siblings of the given node of the current bigraph. The node itself is not included.- Specified by:
getSiblingsOfNode
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getSiblingsOfNode
in classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Parameters:
node
- the node whoms sibling should be returned- Returns:
- siblings of
node
-
getSiblingsOfInnerName
public Collection<BigraphEntity.InnerName> getSiblingsOfInnerName(BigraphEntity.InnerName innerName) Description copied from interface:Bigraph
Returns all siblings of an inner name. The collection will not contain any port.- Specified by:
getSiblingsOfInnerName
in interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Overrides:
getSiblingsOfInnerName
in classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,
?>>> - Parameters:
innerName
- the inner name who's siblings should be returned- Returns:
- the siblings connected to
innerName
-