public class BikeRentalStationVertex extends Vertex
| Constructor and Description |
|---|
BikeRentalStationVertex(Graph g,
BikeRentalStation station) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBikesAvailable() |
String |
getId() |
int |
getSpacesAvailable() |
TraverseMode |
getVehicleMode()
Tell the routing algorithm what kind of vehicle is being rented or dropped off here.
|
void |
setBikesAvailable(int bikes) |
void |
setId(String id) |
void |
setSpacesAvailable(int spaces) |
addIncoming, addOutgoing, azimuthTo, azimuthTo, getCoordinate, getDegreeIn, getDegreeOut, getIncoming, getIndex, getLabel, getLat, getLon, getMaxIndex, getName, getName, getOutgoing, getOutgoingStreetEdges, getX, getY, hashCode, removeIncoming, removeOutgoing, setIndex, toStringpublic BikeRentalStationVertex(Graph g, BikeRentalStation station)
public int getBikesAvailable()
public int getSpacesAvailable()
public void setBikesAvailable(int bikes)
public void setSpacesAvailable(int spaces)
public String getId()
public void setId(String id)
public TraverseMode getVehicleMode()
Copyright © 2018. All rights reserved.