@SuppressWarnings("checkstyle:FinalParameters")
    private int initBest(final TSPDialog dialog, int[] best, final boolean forceDefault) {
        if (forceDefault) {
            for (int i = 0; i < routeSize; i++) {
                best[i] = i;
            }
        } else {
            final int[] temp = dialog.getRoute();
            System.arraycopy(temp, 0, best, 0, routeSize);
        }
        return - calculateRouteLength(best);
    }
initializes initial vector, returns its fitness
main/src/main/java/cgeo/geocaching/maps/routing/RouteOptimizationHelper.java