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,HASCO<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>>
,org.api4.java.algorithm.IAlgorithmFactory<RefinementConfiguredSoftwareConfigurationProblem<java.lang.Double>,HASCOSolutionCandidate<java.lang.Double>,HASCO<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>>
public class HASCOViaFDAndBestFirstWithRandomCompletionsFactory extends HASCOViaFDAndBestFirstFactory<java.lang.Double>
-
-
Constructor Summary
Constructors Constructor Description HASCOViaFDAndBestFirstWithRandomCompletionsFactory(long seed, int numSamples)
HASCOViaFDAndBestFirstWithRandomCompletionsFactory(long 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)
org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode,java.lang.String,java.lang.Double>
getPreferredNodeEvaluator()
java.util.function.Predicate<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode>
getPriorizingPredicate()
void
setPreferredNodeEvaluator(org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode,java.lang.String,java.lang.Double> preferredNodeEvaluator)
void
setPriorizingPredicate(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(long seed, int numSamples)
-
HASCOViaFDAndBestFirstWithRandomCompletionsFactory
public HASCOViaFDAndBestFirstWithRandomCompletionsFactory(long 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 org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode,java.lang.String,java.lang.Double> getPreferredNodeEvaluator()
-
setPreferredNodeEvaluator
public void setPreferredNodeEvaluator(org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<ai.libs.jaicore.planning.hierarchical.algorithms.forwarddecomposition.graphgenerators.tfd.TFDNode,java.lang.String,java.lang.Double> preferredNodeEvaluator)
-
getAlgorithm
public HASCOViaFDAndBestFirst<java.lang.Double> getAlgorithm()
- Specified by:
getAlgorithm
in interfaceorg.api4.java.algorithm.IAlgorithmFactory<RefinementConfiguredSoftwareConfigurationProblem<java.lang.Double>,HASCOSolutionCandidate<java.lang.Double>,HASCO<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>>
- Overrides:
getAlgorithm
in classHASCOViaFDAndBestFirstFactory<java.lang.Double>
-
getAlgorithm
public HASCOViaFDAndBestFirst<java.lang.Double> getAlgorithm(RefinementConfiguredSoftwareConfigurationProblem<java.lang.Double> problem)
- Specified by:
getAlgorithm
in interfaceorg.api4.java.algorithm.IAlgorithmFactory<RefinementConfiguredSoftwareConfigurationProblem<java.lang.Double>,HASCOSolutionCandidate<java.lang.Double>,HASCO<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>>
- Overrides:
getAlgorithm
in 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>
-
-