s += "tBase=" + tBase + ", ";
    public String toString() {	String s = "TrainPathFunction: ";	for (int i = 0; i < segments.length; i++) {	    if (i > 0)		s += ", ";	    s += segments[i].toString();	}	return s;    }