Class OracleModel

    • Method Detail

      • setController

        public void setController​(FactorOracle f)
        Set the controller value.
        Parameters:
        f - The FactorOracle.
      • _createController

        protected FactorOracle _createController​(java.lang.Object[] trainingSequence,
                                                 double repetitionFactor,
                                                 boolean pitch,
                                                 boolean validate)
                                          throws IllegalActionException,
                                                 NameDuplicationException
        Create a Factor Oracle controller.
        Parameters:
        trainingSequence - training sequence of the factor oracle
        repetitionFactor - a double indicating repetition factor on forward links
        pitch - a boolean -- true if pitch oracle
        validate - a boolean -- true if pitch validation is enabled
        Returns:
        A Factor Oracle controller.
        Throws:
        IllegalActionException - If thrown while creating a FactorOracle.
        NameDuplicationException - If thrown while creating a FactorOracle.