if (fListener != null) fListener.update(mds);
long t = System.nanoTime();
double prev = 1.0;
for (int n = 0; n < 5; n++) {
mds.mds_once(true);
mds.mds_once(true);
double stress = mds.stress;
if (prev - stress < fThreshold) break loop;
prev = stress;
}
if (fOut != null) fOut.printf("%d, %d (stress=%f)\n",