Class AbstractUndirectedGraph<N extends UndirectedGraphNode,E extends UndirectedGraphEdge<? extends N>>
- java.lang.Object
-
- org.processmining.models.graphbased.AbstractGraphElement
-
- org.processmining.models.graphbased.AbstractGraph
-
- org.processmining.models.graphbased.undirected.AbstractUndirectedGraph<N,E>
-
- All Implemented Interfaces:
java.lang.Cloneable
,java.lang.Comparable<UndirectedGraph<N,E>>
,AttributeMapOwner
,UndirectedGraph<N,E>
,UndirectedGraphElement
public abstract class AbstractUndirectedGraph<N extends UndirectedGraphNode,E extends UndirectedGraphEdge<? extends N>> extends AbstractGraph implements UndirectedGraph<N,E>
-
-
Field Summary
-
Fields inherited from class org.processmining.models.graphbased.AbstractGraph
id
-
-
Constructor Summary
Constructors Constructor Description AbstractUndirectedGraph()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
checkAddEdge(N source, N target)
protected abstract void
cloneFrom(UndirectedGraph<N,E> graph)
int
compareTo(UndirectedGraph<N,E> o)
java.util.Collection<E>
getEdges(UndirectedGraphNode node)
protected abstract AbstractUndirectedGraph<N,E>
getEmptyClone()
AbstractUndirectedGraph<?,?>
getGraph()
abstract void
removeEdge(UndirectedGraphEdge edge)
-
Methods inherited from class org.processmining.models.graphbased.AbstractGraph
equals, getEdges, graphElementAdded, graphElementChanged, graphElementRemoved, hashCode, removeFromEdges, removeNodeFromCollection
-
Methods inherited from class org.processmining.models.graphbased.AbstractGraphElement
getAttributeMap, getLabel, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.processmining.models.graphbased.AttributeMapOwner
getAttributeMap
-
Methods inherited from interface org.processmining.models.graphbased.undirected.UndirectedGraph
getEdges, getNodes
-
Methods inherited from interface org.processmining.models.graphbased.undirected.UndirectedGraphElement
equals, getLabel, hashCode
-
-
-
-
Method Detail
-
getGraph
public AbstractUndirectedGraph<?,?> getGraph()
- Specified by:
getGraph
in interfaceUndirectedGraphElement
-
getEmptyClone
protected abstract AbstractUndirectedGraph<N,E> getEmptyClone()
-
cloneFrom
protected abstract void cloneFrom(UndirectedGraph<N,E> graph)
-
removeEdge
public abstract void removeEdge(UndirectedGraphEdge edge)
- Specified by:
removeEdge
in interfaceUndirectedGraph<N extends UndirectedGraphNode,E extends UndirectedGraphEdge<? extends N>>
-
getEdges
public java.util.Collection<E> getEdges(UndirectedGraphNode node)
- Specified by:
getEdges
in interfaceUndirectedGraph<N extends UndirectedGraphNode,E extends UndirectedGraphEdge<? extends N>>
-
compareTo
public int compareTo(UndirectedGraph<N,E> o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<N extends UndirectedGraphNode>
-
-