@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Edge other = (Edge) obj;
		if (getCanDirection() != other.getCanDirection())
			return false;
		if (getCanX() != other.getCanX())
			return false;
		if (getCanY() != other.getCanY())
			return false;
		return true;
	}