Class AbstractGraph
java.lang.Object
org.processmining.models.graphbased.AbstractGraphElement
org.processmining.models.graphbased.AbstractGraph
- All Implemented Interfaces:
AttributeMapOwner
- Direct Known Subclasses:
AbstractDirectedGraph
,AbstractDirectedHypergraph
,AbstractUndirectedGraph
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected <T extends AbstractGraphEdge<?,
?>>
Collection<T>getEdges
(AbstractGraphNode source, AbstractGraphNode target, Collection<T> collection) Returns the edges from source to target, contained in the given collectionvoid
graphElementAdded
(Object element) void
graphElementChanged
(Object element) void
graphElementRemoved
(Object element) int
hashCode()
protected <T extends AbstractGraphEdge<?,
?>>
TremoveFromEdges
(AbstractGraphNode source, AbstractGraphNode target, Collection<T> collection) protected <T> T
removeNodeFromCollection
(Collection<T> collection, T object) Methods inherited from class org.processmining.models.graphbased.AbstractGraphElement
getAttributeMap, getLabel, toString
-
Field Details
-
id
-
-
Constructor Details
-
AbstractGraph
public AbstractGraph()
-
-
Method Details
-
equals
-
removeNodeFromCollection
-
getEdges
protected <T extends AbstractGraphEdge<?,?>> Collection<T> getEdges(AbstractGraphNode source, AbstractGraphNode target, Collection<T> collection) Returns the edges from source to target, contained in the given collection- Type Parameters:
T
- The type of edges- Parameters:
source
- the source nodetarget
- the target nodecollection
- the collection of edges to search through- Returns:
-
removeFromEdges
protected <T extends AbstractGraphEdge<?,?>> T removeFromEdges(AbstractGraphNode source, AbstractGraphNode target, Collection<T> collection) -
hashCode
public int hashCode() -
graphElementAdded
-
graphElementRemoved
-
graphElementChanged
-