Package org.goplanit.utils.zoning
Interface Centroid
-
- All Superinterfaces:
Cloneable,Comparable<IdAble>,DirectedVertex,ExternalIdAble,GraphEntity,IdAble,ManagedId,Serializable,Vertex
- All Known Implementing Classes:
CentroidImpl
public interface Centroid extends DirectedVertex
A centroid is a special type of vertex representing the location of departure/arrival of traffic in a zone- Author:
- markr
-
-
Field Summary
-
Fields inherited from interface org.goplanit.utils.graph.Vertex
LOGGER, VERTEX_ID_CLASS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetName()The name of the centroidZonegetParentZone()Return the parent zone of this centroiddefault booleanhasName()check if a name has been setvoidsetName(String name)Set the name of the centroid-
Methods inherited from interface org.goplanit.utils.graph.directed.DirectedVertex
addEdgeSegment, getEdgeSegment, getEntryEdgeSegments, getExitEdgeSegments, hasEntryEdgeSegments, hasExitEdgeSegments, removeEdgeSegment, removeEntryEdgeSegment, removeExitEdgeSegment, replace, replaceEntrySegment, replaceExitSegment, sizeOfEntryEdgeSegments, sizeOfExitEdgeSegments
-
Methods inherited from interface org.goplanit.utils.id.ExternalIdAble
getExternalId, getXmlId, hasExternalId, hasXmlId, setExternalId, 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, addInputProperty, clone, getEdges, getEdges, getIdClass, getInputProperty, getNumberOfEdges, getPosition, hasPosition, isPositionEqual2D, removeEdge, removeEdge, replace, setPosition, transformPosition, validate
-
-
-
-
Method Detail
-
getParentZone
Zone getParentZone()
Return the parent zone of this centroid- Returns:
- parent zone of this centroid
-
getName
String getName()
The name of the centroid- Returns:
- its name
-
setName
void setName(String name)
Set the name of the centroid- Parameters:
name- to use
-
hasName
default boolean hasName()
check if a name has been set- Returns:
- true when set, false otherwise
-
-