ilog.rules.brl.parsing

Interface IlrBRLMutablePredictionConfiguration

    • Method Detail

      • setExpectedConcepts

        void setExpectedConcepts(IlrConcept[] expectedConcepts)
        Sets the expected concepts for predictions generated by the prediction engine.
        Parameters:
        expectedConcepts - An array of expected concepts. Set to null if predictions are not constrained by any concept.
      • setAcceptingPlaceHolders

        void setAcceptingPlaceHolders(boolean acceptPlaceHolders)
        Changes the place-holder prediction setting in the prediction engine.
        Parameters:
        acceptPlaceHolders - Set to true so the prediction engine generates predictions for place holders.
      • setFullMode

        void setFullMode(boolean mode)
        Switches the prediction engine to full mode.
        Parameters:
        mode - Set to true to change to full mode.
      • setTemplateMode

        void setTemplateMode(boolean mode)
        Switches the prediction engine to template mode.
        Parameters:
        mode - Set to true to change to template mode.
      • setValuesAndConstantsOnly

        void setValuesAndConstantsOnly(boolean valuesConstantsOnly)
        Changes the value and constant prediction settings.
        Parameters:
        valuesConstantsOnly - Set to true for the prediction engine to generate value and constant predictions only.
      • setPredictionOffset

        void setPredictionOffset(int offset)
        Sets the prediction offset. If the offset is greater or equal to 0, a prediction set must be supplied.
        Parameters:
        offset - The new prediction offset.
      • setGlobalSemanticFilter

        void setGlobalSemanticFilter(IlrBRLSemanticFilter filter)
        Sets the global semantic filter used to filter predictions generated by the prediction engine. If no filter is specified, the one declared in the language is used.
        Parameters:
        filter - The new semantic filter.

© Copyright IBM Corp. 1987, 2017