Package org.goplanit.utils.graph
Interface ConjugateVertex
-
- All Superinterfaces:
Comparable<IdAble>,ExternalIdAble,GraphEntity,IdAble,ManagedId,Serializable,Vertex
- All Known Implementing Classes:
ConjugateVertexImpl
public interface ConjugateVertex extends Vertex
Conjugate vertex representation connected to one or more conjugate edges- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static Class<ConjugateVertex>CONJUGATE_VERTEX_ID_CLASSid class for generating idsstatic LoggerLOGGERvertex logger-
Fields inherited from interface org.goplanit.utils.graph.Vertex
VERTEX_ID_CLASS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ConjugateVertexdeepClone()Deep Clone the conjugate vertexCollection<? extends ConjugateEdge>getEdges()Returns a collection of Edge objects (unmodifiable)default Set<? extends ConjugateEdge>getEdges(Vertex otherVertex)Collect the edge(s) based on the other vertexdefault Class<? extends ConjugateVertex>getIdClass()All vertices use the CONJUGATE_VERTEX_ID_CLASS to generate the unique internal idsEdgegetOriginalEdge()Collect the original edge this conjugate vertex represents in the conjugate graphConjugateVertexshallowClone()Shallow Clone the conjugate vertex-
Methods inherited from interface org.goplanit.utils.id.ExternalIdAble
appendExternalId, appendExternalId, getExternalId, getIdsAsString, getSplitExternalId, getSplitExternalId, getXmlId, hasExternalId, hasXmlId, setExternalId, setXmlId, setXmlId
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, getId, idEquals, idHashCode
-
Methods inherited from interface org.goplanit.utils.id.ManagedId
recreateManagedIds, resetChildManagedIdEntities
-
Methods inherited from interface org.goplanit.utils.graph.Vertex
addEdge, addEdges, addInputProperty, getInputProperty, getNumberOfEdges, getPosition, hasPosition, isPositionEqual2D, isPositionEqual2D, removeAllEdges, removeEdge, removeEdge, removeEdges, replace, setPosition, transformPosition, validate
-
-
-
-
Field Detail
-
LOGGER
static final Logger LOGGER
vertex logger
-
CONJUGATE_VERTEX_ID_CLASS
static final Class<ConjugateVertex> CONJUGATE_VERTEX_ID_CLASS
id class for generating ids
-
-
Method Detail
-
getEdges
Collection<? extends ConjugateEdge> getEdges()
Returns a collection of Edge objects (unmodifiable)
-
shallowClone
ConjugateVertex shallowClone()
Shallow Clone the conjugate vertex- Specified by:
shallowClonein interfaceGraphEntity- Specified by:
shallowClonein interfaceIdAble- Specified by:
shallowClonein interfaceVertex- Returns:
- the cloned vertex
-
deepClone
ConjugateVertex deepClone()
Deep Clone the conjugate vertex
-
getIdClass
default Class<? extends ConjugateVertex> getIdClass()
All vertices use the CONJUGATE_VERTEX_ID_CLASS to generate the unique internal ids- Specified by:
getIdClassin interfaceManagedId- Specified by:
getIdClassin interfaceVertex- Returns:
- idClass to use for generating ids for instances of this idable derived class
-
getEdges
default Set<? extends ConjugateEdge> getEdges(Vertex otherVertex)
Collect the edge(s) based on the other vertex
-
getOriginalEdge
Edge getOriginalEdge()
Collect the original edge this conjugate vertex represents in the conjugate graph- Returns:
- original edge
-
-