@Override
    public boolean equals(Object o) {
	if (o instanceof Route) {
	    if (((Route) o).t1.equals(this.t1)
		    && ((Route) o).t2.equals(this.t2)) {
		// System.out.println(t1 + " " + t2 + " " + o + " OK");
		return true;
	    } else if (((Route) o).t1.equals(this.t2)
		    && ((Route) o).t2.equals(this.t1)) {
		// System.out.println(t1 + " " + t2 + " " + o + " OK");
		return true;
	    }
	}
	if (o instanceof TramStop) {
	    if (o.equals(t1))
		return true;
	    if (o.equals(t2))
		return true;
	}
	// System.out.println(t1 + " " + t2 + " " + o + " :(");
	return false;
    }