Double score = 0.0; if (null != fmp.getForecasted()) { final double nextpredicted = fmp.getForecasted(); final StorableDetectionResult dr = new StorableDetectionResult(fmp.getName(), fmp.getValue(), fmp.getTime(), fmp.getForecasted(), score); super.deliver(OUTPUT_PORT_ANOMALY_SCORE, dr);
Double score = 0.0; if (null != fmp.getForecasted()) { final double nextpredicted = fmp.getForecasted(); final StorableDetectionResult dr = new StorableDetectionResult(fmp.getName(), fmp.getValue(), fmp.getTime(), fmp.getForecasted(), score); super.deliver(OUTPUT_PORT_ANOMALY_SCORE, dr);