org.javanetworkanalyzer.data
Class VAccess<E>
java.lang.Object
org.javanetworkanalyzer.data.VId
org.javanetworkanalyzer.data.VPredImpl<V,E>
org.javanetworkanalyzer.data.VDijkstra<VAccess,E>
org.javanetworkanalyzer.data.VAccess<E>
- All Implemented Interfaces:
- VDist<Double>, VPred<VAccess,E>
public class VAccess<E>
- extends VDijkstra<VAccess,E>
Vertex used during accessibility analysis.
- Author:
- Adam Gouge
VAccess
public VAccess(Integer id)
- Constructor: sets the id.
- Parameters:
id - Id
getClosestDestinationId
public int getClosestDestinationId()
- Gets the id of the closest destination.
- Returns:
- The id of the closest destination
setClosestDestinationId
public void setClosestDestinationId(int id)
- Sets the id of the closest destination.
- Parameters:
id - New id
getDistanceToClosestDestination
public double getDistanceToClosestDestination()
- Gets the distance to the closest destination.
- Returns:
- The distance to the closest destination.
setDistanceToClosestDestination
public void setDistanceToClosestDestination(double newDistance)
- Sets the distance to the closest destination.
- Parameters:
newDistance - New distance.
Copyright © 2014. All Rights Reserved.