public class Node extends Object implements INode
| Constructor and Description |
|---|
Node(IPoint geom) |
Node(Set<IFeature> geoObjects,
IPoint geom,
IGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEdgeIn(IEdge e) |
void |
addEdgeOut(IEdge e) |
boolean |
equals(Object obj) |
double |
getBetweenCentrality() |
int |
getDegree() |
Set<IEdge> |
getEdges()
Edges and degree of the node
|
Set<IEdge> |
getEdgesDirectlyBetween(INode node)
Get all the direct arcs between this node and another node of the graph.
|
Set<IEdge> |
getEdgesIn()
the edges entering the node
|
List<IEdge> |
getEdgesList() |
Set<IEdge> |
getEdgesOut()
the edges exiting the node
|
IPoint |
getGeom()
The geometry of the node
|
Set<IFeature> |
getGeoObjects()
the possible features attached to the node
|
IGraph |
getGraph()
The graph the node is part of
|
IGraphLinkableFeature |
getGraphLinkableFeature() |
int |
getId()
The universal id of the node
|
Map<INode,IEdge> |
getNeighbourEdgeNode()
Get this' neigbouring nodes along with the shortest arc to connect this to
the node.
|
Set<INode> |
getNextNodes()
gets the next nodes on the graph
|
IDirectPosition |
getPosition() |
IDirectPosition |
getPositionIni() |
double |
getProximityCentrality()
The centralities of the node in the graph
|
int |
hashCode() |
void |
setEdgesIn(Set<IEdge> edgesIn) |
void |
setEdgesOut(Set<IEdge> edgesOut) |
void |
setGeom(IPoint geom) |
void |
setGeoObjects(Set<IFeature> geoObjects) |
void |
setGraph(IGraph graph) |
void |
setGraphLinkableFeature(IGraphLinkableFeature feature) |
void |
setId(int id) |
String |
toString() |
public Node(IPoint geom)
public Set<IFeature> getGeoObjects()
INodegetGeoObjects in interface INodepublic void setGeoObjects(Set<IFeature> geoObjects)
setGeoObjects in interface INodepublic IGraphLinkableFeature getGraphLinkableFeature()
getGraphLinkableFeature in interface INodepublic void setGraphLinkableFeature(IGraphLinkableFeature feature)
setGraphLinkableFeature in interface INodepublic int getId()
INodepublic IDirectPosition getPosition()
getPosition in interface INodepublic IDirectPosition getPositionIni()
getPositionIni in interface INodepublic Set<IEdge> getEdgesIn()
INodegetEdgesIn in interface INodepublic void setEdgesIn(Set<IEdge> edgesIn)
setEdgesIn in interface INodepublic Set<IEdge> getEdgesOut()
INodegetEdgesOut in interface INodepublic void setEdgesOut(Set<IEdge> edgesOut)
setEdgesOut in interface INodepublic IGraph getGraph()
INodepublic Set<IEdge> getEdges()
INodepublic Set<INode> getNextNodes()
INodegetNextNodes in interface INodepublic Map<INode,IEdge> getNeighbourEdgeNode()
Get this' neigbouring nodes along with the shortest arc to connect this to
the node.
getNeighbourEdgeNode in interface INodepublic Set<IEdge> getEdgesDirectlyBetween(INode node)
node - : the other node of the graphpublic void addEdgeOut(IEdge e)
addEdgeOut in interface INodepublic double getProximityCentrality()
INodegetProximityCentrality in interface INodepublic double getBetweenCentrality()
getBetweenCentrality in interface INodeCopyright © 2016 Laboratoire COGIT, IGN. All rights reserved.