public void setEdge(Direction direction, Edge edge) {
		if (hasDirection(direction)){
			throw new IllegalArgumentException("This edge has already been set");
		}
		if (edge == null){
			throw new IllegalArgumentException("The edge may not be null");
		}
		
		edges.put(direction, edge);
	}