@Override 
	public boolean equals(Object other) 
	{
	    boolean result = false;
	    if (other instanceof RouteLeg) 
	    {
	    	RouteLeg that = (RouteLeg) other;
	        result = this.startNode == that.startNode && this.endNode == that.endNode;
	    }
	    return result;
	}