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()
INode
getGeoObjects
in interface INode
public void setGeoObjects(Set<IFeature> geoObjects)
setGeoObjects
in interface INode
public IGraphLinkableFeature getGraphLinkableFeature()
getGraphLinkableFeature
in interface INode
public void setGraphLinkableFeature(IGraphLinkableFeature feature)
setGraphLinkableFeature
in interface INode
public int getId()
INode
public IDirectPosition getPosition()
getPosition
in interface INode
public IDirectPosition getPositionIni()
getPositionIni
in interface INode
public Set<IEdge> getEdgesIn()
INode
getEdgesIn
in interface INode
public void setEdgesIn(Set<IEdge> edgesIn)
setEdgesIn
in interface INode
public Set<IEdge> getEdgesOut()
INode
getEdgesOut
in interface INode
public void setEdgesOut(Set<IEdge> edgesOut)
setEdgesOut
in interface INode
public IGraph getGraph()
INode
public Set<IEdge> getEdges()
INode
public Set<INode> getNextNodes()
INode
getNextNodes
in interface INode
public Map<INode,IEdge> getNeighbourEdgeNode()
Get this' neigbouring nodes along with the shortest arc to connect this to
the node.
getNeighbourEdgeNode
in interface INode
public Set<IEdge> getEdgesDirectlyBetween(INode node)
node
- : the other node of the graphpublic void addEdgeOut(IEdge e)
addEdgeOut
in interface INode
public double getProximityCentrality()
INode
getProximityCentrality
in interface INode
public double getBetweenCentrality()
getBetweenCentrality
in interface INode
Copyright © 2016 Laboratoire COGIT, IGN. All rights reserved.