@Override
	public boolean equals(Object object) {
		if(!(object instanceof Edge<?>)) {
			return false;
		}
		Edge<?> edge = (Edge<?>) object;
		return from.equals(edge.from) && to.equals(edge.to);
	}