public static Integer cost(final Node a, final Node b) {
            if (a.mLink == b) {
                return 1;
            } else if (a == b) {
                return 0;
            } else {
                return null;
            }
        }