QuantileSummary extends AbstractObservable implements MCMCResultsListener, Summary { public boolean getDefined() { return d_defined; } QuantileSummary(MCMCResults results, Parameter parameter, double[] probabilities);  QuantileSummary(double[] probabilities, double[] quantiles);  QuantileSummary(MCMCResults results, Parameter parameter); void resultsEvent(MCMCResultsEvent event); int indexOf(double p); double getProbability(int idx); double getQuantile(int idx); int getSize(); boolean getDefined();  }
@Test public void testDefined() { QuantileSummary x = new QuantileSummary(d_results, d_results.getParameters()[0]); assertFalse(x.getDefined()); d_results.makeSamplesAvailable(); assertTrue(x.getDefined()); }
@Test public void testWithUninitializedResults() { QuantileSummary x = new QuantileSummary(new YadasResults(), d_results.getParameters()[0]); assertFalse(x.getDefined()); }