private String getNbrString() {
        String r = "";
        for (NbrCostPair ncp : nbrList) {
            if (r.length() > 0) r += ", ";
            r += ncp.getNbr().getId() + "[" + ncp.getCost() + "]";
        }
        return r;
    }