Class PureBigraphAgentAdapter
java.lang.Object
org.bigraphs.framework.core.BigraphDelegator<S>
org.bigraphs.framework.simulation.matching.AbstractDynamicMatchAdapter<DefaultDynamicSignature,PureBigraph>
org.bigraphs.framework.simulation.matching.pure.PureBigraphAgentAdapter
- All Implemented Interfaces:
Bigraph<DefaultDynamicSignature>
,EcoreBigraph<DefaultDynamicSignature>
,EcoreBigraphExt
,HasSignature<DefaultDynamicSignature>
public class PureBigraphAgentAdapter
extends AbstractDynamicMatchAdapter<DefaultDynamicSignature,PureBigraph>
- Author:
- Dominik Grzelak
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bigraphs.framework.simulation.matching.AbstractDynamicMatchAdapter
AbstractDynamicMatchAdapter.ControlLinkPair
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.simulation.matching.AbstractDynamicMatchAdapter
throwableSupplier
Fields inherited from class org.bigraphs.framework.core.BigraphDelegator
bigraphDelegate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getLinksOfNode
(BigraphEntity<?> node) In the list are included edges and outer names.Get the corresponding signature of the underlying bigraphMethods inherited from class org.bigraphs.framework.simulation.matching.AbstractDynamicMatchAdapter
addPlaceToList, degreeOf, getAllInternalVerticesPostOrder, getAllInternalVerticesPostOrderAsStream, getAllLeaves, getAllVertices, getAllVerticesBfsOrder, getAllVerticesBfsOrderFrom, getAllVerticesBfsOrderStream, getAllVerticesPostOrder, getBigraphDelegate, getChildren, getInstanceModel, getMetaModel, getNodesOfLink, getOpenNeighborhoodOfVertex, getRoots, getSubtreeOfNode, neighborhoodHook
Methods inherited from class org.bigraphs.framework.core.BigraphDelegator
areConnected, getAllLinks, getAllPlaces, getChildrenOf, getEdges, getInnerNames, getLevelOf, getLinkOfPoint, getNodeOfPort, getNodes, getOuterNames, getParent, getPointsFromLink, getPortCount, getPorts, getSiblingsOfInnerName, getSiblingsOfNode, getSites, getTopLevelRoot, isParentOf
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
-
Constructor Details
-
PureBigraphAgentAdapter
-
-
Method Details
-
getSignature
Description copied from interface:HasSignature
Get the corresponding signature of the underlying bigraph- Specified by:
getSignature
in interfaceBigraph<DefaultDynamicSignature>
- Specified by:
getSignature
in interfaceEcoreBigraph<DefaultDynamicSignature>
- Specified by:
getSignature
in interfaceHasSignature<DefaultDynamicSignature>
- Overrides:
getSignature
in classBigraphDelegator<DefaultDynamicSignature>
- Returns:
- the signature of the bigraph
-
clearCache
public void clearCache()- Overrides:
clearCache
in classAbstractDynamicMatchAdapter<DefaultDynamicSignature,
PureBigraph>
-
getLinksOfNode
public LinkedList<AbstractDynamicMatchAdapter.ControlLinkPair> getLinksOfNode(BigraphEntity<?> node) In the list are included edges and outer names.- Specified by:
getLinksOfNode
in classAbstractDynamicMatchAdapter<DefaultDynamicSignature,
PureBigraph> - Parameters:
node
- the node- Returns:
- a list of all links connected to the given node
-