public class CarRentalStationVertex extends RentalStationVertex
Constructor and Description |
---|
CarRentalStationVertex(Graph g,
CarRentalStation station) |
Modifier and Type | Method and Description |
---|---|
String |
getAddress() |
int |
getCarsAvailable() |
String |
getId() |
Set<String> |
getNetworks() |
int |
getSpacesAvailable() |
void |
setAddress(String address) |
void |
setCarsAvailable(int cars) |
void |
setId(String id) |
void |
setNetworks(Set<String> networks) |
void |
setSpacesAvailable(int spaces) |
hasDifferentApproximatePosition
addIncoming, addOutgoing, azimuthTo, azimuthTo, getCoordinate, getDegreeIn, getDegreeOut, getIncoming, getIndex, getLabel, getLat, getLon, getMaxIndex, getName, getName, getOutgoing, getOutgoingStreetEdges, getX, getY, hashCode, initEdgeListsIfNeeded, removeIncoming, removeOutgoing, setIndex, toString
public CarRentalStationVertex(Graph g, CarRentalStation station)
public int getCarsAvailable()
public int getSpacesAvailable()
public void setCarsAvailable(int cars)
public void setSpacesAvailable(int spaces)
public String getAddress()
public void setAddress(String address)
public String getId()
public void setId(String id)
Copyright © 2020. All rights reserved.