Interface ConjugateDirectedSubGraph
-
- All Superinterfaces:
Comparable<IdAble>,DirectedSubGraph<ConjugateDirectedVertex,ConjugateEdgeSegment>,IdAble
public interface ConjugateDirectedSubGraph extends DirectedSubGraph<ConjugateDirectedVertex,ConjugateEdgeSegment>
A conjugate directed subgraph interface for a given parent graph by registering conjugate edge segments on it (and therefore conjugate vertices and edges)- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConjugateDirectedSubGraphdeepClone()An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call.ConjugateDirectedSubGraphshallowClone()Create a shallow copy of this entity-
Methods inherited from interface org.goplanit.utils.graph.directed.DirectedSubGraph
addEdgeSegment, containsEdgeSegment, getNumberOfEdgeSegments, getNumberOfVertices, isEmpty, removeEdgeSegment
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, getId, idEquals, idHashCode
-
-
-
-
Method Detail
-
shallowClone
ConjugateDirectedSubGraph shallowClone()
Create a shallow copy of this entity- Specified by:
shallowClonein interfaceDirectedSubGraph<ConjugateDirectedVertex,ConjugateEdgeSegment>- Specified by:
shallowClonein interfaceIdAble- Returns:
- shallow copy of entity
-
deepClone
ConjugateDirectedSubGraph deepClone()
An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call. To be used with caution if not called by managed id container related code- Specified by:
deepClonein interfaceDirectedSubGraph<ConjugateDirectedVertex,ConjugateEdgeSegment>- Specified by:
deepClonein interfaceIdAble- Returns:
- deep copy of entity
-
-