Class HASCOViaFDAndBestFirstWithRandomCompletionsFactory
- java.lang.Object
-
- ai.libs.hasco.core.HASCOFactory<S,ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode,java.lang.String,V>
-
- ai.libs.hasco.variants.forwarddecomposition.HASCOViaFDFactory<ai.libs.jaicore.search.probleminputs.GraphSearchWithSubpathEvaluationsInput<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode,java.lang.String,V>,V>
-
- ai.libs.hasco.variants.forwarddecomposition.HASCOViaFDAndBestFirstFactory<java.lang.Double>
-
- ai.libs.hasco.variants.forwarddecomposition.HASCOViaFDAndBestFirstWithRandomCompletionsFactory
-
- All Implemented Interfaces:
SoftwareConfigurationAlgorithmFactory<RefinementConfiguredSoftwareConfigurationProblem<java.lang.Double>,HASCOSolutionCandidate<java.lang.Double>,java.lang.Double>,ai.libs.jaicore.basic.algorithm.IAlgorithmFactory<RefinementConfiguredSoftwareConfigurationProblem<java.lang.Double>,HASCOSolutionCandidate<java.lang.Double>>
public class HASCOViaFDAndBestFirstWithRandomCompletionsFactory extends HASCOViaFDAndBestFirstFactory<java.lang.Double>
-
-
Constructor Summary
Constructors Constructor Description HASCOViaFDAndBestFirstWithRandomCompletionsFactory(int seed, int numSamples)HASCOViaFDAndBestFirstWithRandomCompletionsFactory(int seed, int numSamples, int timeoutForSingleCompletionEvaluationInMS, int timeoutForNodeEvaluationInMS)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HASCOViaFDAndBestFirst<java.lang.Double>getAlgorithm()HASCOViaFDAndBestFirst<java.lang.Double>getAlgorithm(RefinementConfiguredSoftwareConfigurationProblem<java.lang.Double> problem)ai.libs.jaicore.search.algorithms.standard.bestfirst.nodeevaluation.INodeEvaluator<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode,java.lang.Double>getPreferredNodeEvaluator()java.util.function.Predicate<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode>getPriorizingPredicate()voidsetPreferredNodeEvaluator(ai.libs.jaicore.search.algorithms.standard.bestfirst.nodeevaluation.INodeEvaluator<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode,java.lang.Double> preferredNodeEvaluator)voidsetPriorizingPredicate(java.util.function.Predicate<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode> priorizingPredicate)-
Methods inherited from class ai.libs.hasco.variants.forwarddecomposition.HASCOViaFDAndBestFirstFactory
getSearchFactory, getSearchProblemTransformer, setNodeEvaluator
-
Methods inherited from class ai.libs.hasco.core.HASCOFactory
getPlanningGraphGeneratorDeriver, getProblem, setPlanningGraphGeneratorDeriver, setProblemInput, setSearchFactory, setSearchProblemTransformer, withAlgorithmConfig, withAlgorithmConfigFile, withDefaultAlgorithmConfig
-
-
-
-
Constructor Detail
-
HASCOViaFDAndBestFirstWithRandomCompletionsFactory
public HASCOViaFDAndBestFirstWithRandomCompletionsFactory(int seed, int numSamples)
-
HASCOViaFDAndBestFirstWithRandomCompletionsFactory
public HASCOViaFDAndBestFirstWithRandomCompletionsFactory(int seed, int numSamples, int timeoutForSingleCompletionEvaluationInMS, int timeoutForNodeEvaluationInMS)
-
-
Method Detail
-
getPriorizingPredicate
public java.util.function.Predicate<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode> getPriorizingPredicate()
-
setPriorizingPredicate
public void setPriorizingPredicate(java.util.function.Predicate<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode> priorizingPredicate)
-
getPreferredNodeEvaluator
public ai.libs.jaicore.search.algorithms.standard.bestfirst.nodeevaluation.INodeEvaluator<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode,java.lang.Double> getPreferredNodeEvaluator()
-
setPreferredNodeEvaluator
public void setPreferredNodeEvaluator(ai.libs.jaicore.search.algorithms.standard.bestfirst.nodeevaluation.INodeEvaluator<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode,java.lang.Double> preferredNodeEvaluator)
-
getAlgorithm
public HASCOViaFDAndBestFirst<java.lang.Double> getAlgorithm()
- Specified by:
getAlgorithmin interfaceai.libs.jaicore.basic.algorithm.IAlgorithmFactory<RefinementConfiguredSoftwareConfigurationProblem<java.lang.Double>,HASCOSolutionCandidate<java.lang.Double>>- Specified by:
getAlgorithmin interfaceSoftwareConfigurationAlgorithmFactory<RefinementConfiguredSoftwareConfigurationProblem<java.lang.Double>,HASCOSolutionCandidate<java.lang.Double>,java.lang.Double>- Overrides:
getAlgorithmin classHASCOViaFDAndBestFirstFactory<java.lang.Double>
-
getAlgorithm
public HASCOViaFDAndBestFirst<java.lang.Double> getAlgorithm(RefinementConfiguredSoftwareConfigurationProblem<java.lang.Double> problem)
- Specified by:
getAlgorithmin interfaceai.libs.jaicore.basic.algorithm.IAlgorithmFactory<RefinementConfiguredSoftwareConfigurationProblem<java.lang.Double>,HASCOSolutionCandidate<java.lang.Double>>- Specified by:
getAlgorithmin interfaceSoftwareConfigurationAlgorithmFactory<RefinementConfiguredSoftwareConfigurationProblem<java.lang.Double>,HASCOSolutionCandidate<java.lang.Double>,java.lang.Double>- Overrides:
getAlgorithmin classHASCOFactory<ai.libs.jaicore.search.probleminputs.GraphSearchWithSubpathEvaluationsInput<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode,java.lang.String,java.lang.Double>,ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode,java.lang.String,java.lang.Double>
-
-