@Throws(InstantiationException::class, IllegalAccessException::class, ClassNotFoundException::class ) fun PredictiveInfoCalculatorKraskov(calculatorName: String) { super(calculatorName) if (!calculatorName.equals( MI_CALCULATOR_KRASKOV1, ignoreCase = true ) && !calculatorName.equals(MI_CALCULATOR_KRASKOV2, ignoreCase = true) ) { throw ClassNotFoundException("Must be an underlying Kraskov-Grassberger calculator") } }
Creates a new instance of the Kraskov-Stoegbauer-Grassberger estimator for PI , with the supplied MI calculator name .