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, metaModelPackageFields 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, isPlacingMethods inherited from class org.bigraphs.framework.core.BigraphDelegator
getBigraphDelegateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bigraphs.framework.core.Bigraph
getIncidentLinksOf, getInnerFace, getOuterFace, getSupport, isActive, isActiveAtNode, isActiveAtSite, isDiscrete, isEpimorphic, isGround, isGuarding, isLean, isMonomorphic, isPrimeMethods 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:
getRootsin interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,?>>> - Overrides:
getRootsin classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,?>>>
-
getSites
- Specified by:
getSitesin interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,?>>> - Overrides:
getSitesin classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,?>>>
-
getSignature
Description copied from interface:HasSignatureGet the corresponding signature of the underlying bigraph- Specified by:
getSignaturein interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,?>>> - Specified by:
getSignaturein interfaceEcoreBigraph<S extends AbstractEcoreSignature<? extends Control<?,?>>> - Specified by:
getSignaturein interfaceHasSignature<S extends AbstractEcoreSignature<? extends Control<?,?>>> - Overrides:
getSignaturein classBigraphDelegator<S extends AbstractEcoreSignature<? extends Control<?,?>>> - Returns:
- the signature of the bigraph
-
getChildrenOf
Description copied from interface:BigraphReturns the set of children of a given node (including sites).
If the node has no children, then an empty set is returned.- Specified by:
getChildrenOfin interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,?>>> - Overrides:
getChildrenOfin 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:BigraphReturns all siblings of the given node of the current bigraph. The node itself is not included.- Specified by:
getSiblingsOfNodein interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,?>>> - Overrides:
getSiblingsOfNodein 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:BigraphReturns all siblings of an inner name. The collection will not contain any port.- Specified by:
getSiblingsOfInnerNamein interfaceBigraph<S extends AbstractEcoreSignature<? extends Control<?,?>>> - Overrides:
getSiblingsOfInnerNamein classElementaryBigraph<S extends AbstractEcoreSignature<? extends Control<?,?>>> - Parameters:
innerName- the inner name who's siblings should be returned- Returns:
- the siblings connected to
innerName
-