public interface OptimizerOptions
Modifier and Type | Method and Description |
---|---|
Cancellation |
getCancellation()
Gets of sets the instance implementing
Cancellation , used for cancellation. |
CausalEffectKind |
getCausalEffectKind()
Gets the kind of causal effect to optimize.
|
InferenceFactory |
getInferenceFactory()
Creates one or more inference engines used by the optimization algorithm.
|
Integer |
getMaximumConcurrency()
Gets the maximum number of inference engines used during optimization.
|
OptimizerProgress |
getProgress()
Gets of sets the instance implementing
OptimizerProgress , used for progress notifications. |
List<QueryDistribution> |
getQueryDistributions()
Determines which additional queries, if any, should be calculated by the inference engine when evaluating the fitness of a solution.
|
List<QueryFunctionOutput> |
getQueryFunctions()
Determines which additional functions, if any, should be calculated by the inference engine when evaluating the fitness of a solution.
|
Boolean |
getQueryLogLikelihood()
Determines whether the log-likelihood should be calculated by the inference engine when evaluating the fitness of a solution.
|
Stop |
getStopping()
Gets the instance implementing
Stop used for early stopping. |
void |
setCancellation(Cancellation value)
Gets of sets the instance implementing
Cancellation , used for cancellation. |
void |
setCausalEffectKind(CausalEffectKind value)
Sets the kind of causal effect to optimize.
|
void |
setInferenceFactory(InferenceFactory value)
Creates one or more inference engines used by the optimization algorithm.
|
void |
setProgress(OptimizerProgress value)
Gets of sets the instance implementing
OptimizerProgress , used for progress notifications. |
void |
setQueryLogLikelihood(Boolean value)
Determines whether the log-likelihood should be calculated by the inference engine when evaluating the fitness of a solution.
|
void |
setStopping(Stop value)
Sets the instance implementing
Stop used for early stopping. |
List<QueryDistribution> getQueryDistributions()
List<QueryFunctionOutput> getQueryFunctions()
CausalEffectKind getCausalEffectKind()
void setCausalEffectKind(CausalEffectKind value)
Boolean getQueryLogLikelihood()
void setQueryLogLikelihood(Boolean value)
InferenceFactory getInferenceFactory()
void setInferenceFactory(InferenceFactory value)
OptimizerProgress getProgress()
OptimizerProgress
, used for progress notifications.void setProgress(OptimizerProgress value)
OptimizerProgress
, used for progress notifications.Cancellation getCancellation()
Cancellation
, used for cancellation.Cancellation
void setCancellation(Cancellation value)
Cancellation
, used for cancellation.Cancellation
Integer getMaximumConcurrency()
Network
and also the evidence.Stop getStopping()
Stop
used for early stopping.
Stopping is different to cancellation, as stopping will still return an objective value from the optimization process, albeit having performed fewer iterations.void setStopping(Stop value)
Stop
used for early stopping.
Stopping is different to cancellation, as stopping will still return an objective value from the optimization process, albeit having performed fewer iterations.value
- The instance used for stopping.Copyright © 2023. All rights reserved.