/** * Initialise the components in the DFR model. For each component, if a package * is not specified, then a prefix will be applied. These are BASICMODEL_PREFIX, * AFTEREFFECT_PREFIX and NORMALISATION_PREFIX respectively. Note that NORMALISATION_PREFIX * includes a partial class name. * @param basicModelName The name of the applied basic model for randomness. This * component must be specified and can NOT be an empty string. * @param afterEffectName The name of the applied first normalisation by after * effect. An empty string to disable this component. * @param normalisationName The name of the applied frequency normalisation * component. An empty string to disable this component. * @param _parameter The applied parameter value of the frequency normalisation. */ protected void initialise(String basicModelName, String afterEffectName, String normalisationName, double _parameter){ this.initialise(basicModelName.trim(), afterEffectName.trim(), normalisationName.trim()); // set parameter this.setParameter(_parameter); }
/** * Initialise the components in the DFR model. For each component, if a package * is not specified, then a prefix will be applied. These are BASICMODEL_PREFIX, * AFTEREFFECT_PREFIX and NORMALISATION_PREFIX respectively. Note that NORMALISATION_PREFIX * includes a partial class name. * @param basicModelName The name of the applied basic model for randomness. This * component must be specified and can NOT be an empty string. * @param afterEffectName The name of the applied first normalisation by after * effect. An empty string to disable this component. * @param normalisationName The name of the applied frequency normalisation * component. An empty string to disable this component. * @param _parameter The applied parameter value of the frequency normalisation. */ protected void initialise(String basicModelName, String afterEffectName, String normalisationName, double _parameter){ this.initialise(basicModelName.trim(), afterEffectName.trim(), normalisationName.trim()); // set parameter this.setParameter(_parameter); }