public void estimateEndTime(Node n) throws TimeOutOfBoundsException, TimeEstimationException {
        if (((Time) n).getEndTime().isSpecified()) {
            return;
        }
        LinkedList<Time> visited = new LinkedList<>();