@Test(expected = IllegalStateException.class) public void testNoIniNoConfidence() { kl.getConfidence(); }
@Override public float getConfidence() { if (!initialized) { throw new IllegalStateException("There is no data. Did you forget to call init?"); } return confidence; }
KullbackLeibler implements RouterLevelDivergence { @Override public float getConfidence() { if (!initialized) { throw new IllegalStateException("There is no data. Did you forget to call init?"); } return confidence; } }
KullbackLeibler implements RouterLevelDivergence { @Override public float getConfidence() { if (!initialized) { throw new IllegalStateException("There is no data. Did you forget to call init?"); } return confidence; }  }
KullbackLeibler implements RouterLevelDivergence { @Override public float getConfidence() { if (!initialized) { throw new IllegalStateException("There is no data. Did you forget to call init?"); } return confidence; }  @Override void init(final RouterLevelHistogram p, final RouterLevelHistogram q); @Override float getDivergence(); @Override float getConfidence(); }
KullbackLeibler implements RouterLevelDivergence { @Override public float getConfidence() { if (!initialized) { throw new IllegalStateException("There is no data. Did you forget to call init?"); } return confidence; }  @Override void init(final RouterLevelHistogram p, final RouterLevelHistogram q); @Override float getDivergence(); @Override float getConfidence();  }