Class CounterfactualResultsResponse


  • public class CounterfactualResultsResponse
    extends org.kie.kogito.explainability.api.CounterfactualExplainabilityRequest
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String SOLUTIONS_FIELD  
      • Fields inherited from class org.kie.kogito.explainability.api.CounterfactualExplainabilityRequest

        COUNTERFACTUAL_GOALS_FIELD, COUNTERFACTUAL_ID_FIELD, COUNTERFACTUAL_ORIGINAL_INPUTS_FIELD, COUNTERFACTUAL_SEARCH_DOMAINS_FIELD, EXPLAINABILITY_TYPE_NAME, MAX_RUNNING_TIME_SECONDS_FIELD
      • Fields inherited from class org.kie.kogito.explainability.api.BaseExplainabilityRequest

        EXECUTION_ID_FIELD, EXPLAINABILITY_TYPE_FIELD, MODEL_IDENTIFIER_FIELD, SERVICE_URL_FIELD
    • Constructor Summary

      Constructors 
      Constructor Description
      CounterfactualResultsResponse()  
      CounterfactualResultsResponse​(@NotNull String executionId, @NotBlank String serviceUrl, @NotNull org.kie.kogito.explainability.api.ModelIdentifier modelIdentifier, @NotNull String counterfactualId, @NotNull Collection<org.kie.kogito.explainability.api.NamedTypedValue> originalInputs, @NotNull Collection<org.kie.kogito.explainability.api.NamedTypedValue> goals, @NotNull Collection<org.kie.kogito.explainability.api.CounterfactualSearchDomain> searchDomains, Long maxRunningTimeSeconds, @NotNull List<org.kie.kogito.explainability.api.CounterfactualExplainabilityResult> solutions)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.kie.kogito.explainability.api.CounterfactualExplainabilityResult> getSolutions()  
      • Methods inherited from class org.kie.kogito.explainability.api.CounterfactualExplainabilityRequest

        getCounterfactualId, getGoals, getMaxRunningTimeSeconds, getOriginalInputs, getSearchDomains
      • Methods inherited from class org.kie.kogito.explainability.api.BaseExplainabilityRequest

        getExecutionId, getModelIdentifier, getServiceUrl
    • Constructor Detail

      • CounterfactualResultsResponse

        public CounterfactualResultsResponse()
      • CounterfactualResultsResponse

        public CounterfactualResultsResponse​(@NotNull
                                             @NotNull String executionId,
                                             @NotBlank
                                             @NotBlank String serviceUrl,
                                             @NotNull
                                             @NotNull org.kie.kogito.explainability.api.ModelIdentifier modelIdentifier,
                                             @NotNull
                                             @NotNull String counterfactualId,
                                             @NotNull
                                             @NotNull Collection<org.kie.kogito.explainability.api.NamedTypedValue> originalInputs,
                                             @NotNull
                                             @NotNull Collection<org.kie.kogito.explainability.api.NamedTypedValue> goals,
                                             @NotNull
                                             @NotNull Collection<org.kie.kogito.explainability.api.CounterfactualSearchDomain> searchDomains,
                                             Long maxRunningTimeSeconds,
                                             @NotNull
                                             @NotNull List<org.kie.kogito.explainability.api.CounterfactualExplainabilityResult> solutions)
    • Method Detail

      • getSolutions

        public List<org.kie.kogito.explainability.api.CounterfactualExplainabilityResult> getSolutions()