public void addUnidirectionalLink(String fromLocation, String toLocation, Double distance) { links.set(fromLocation, toLocation, distance); }