Class BstarSquaredVariant
java.lang.Object
algorithm.BstarSquaredVariant
- All Implemented Interfaces:
SearchAlgorithm
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBstarSquaredVariant.L1Position<P extends IGamePosition<P>>Deprecated.Nested classes/interfaces inherited from interface algorithm.SearchAlgorithm
SearchAlgorithm.Limits, SearchAlgorithm.SearchResult<N extends GameTreeNode<N,P>, P extends IGamePosition<P>>, SearchAlgorithm.SearchWithTable, SearchAlgorithm.SearchWithTree -
Constructor Summary
ConstructorsConstructorDescriptionBstarSquaredVariant(StrategyFunction L1_strategyFunction) Deprecated.Uses the defaultStrategyFunction.PROVEBESTstrategy function for L2 search.BstarSquaredVariant(StrategyFunction... strategyFunctions) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidexpectIncorrectBounds(boolean set) Deprecated.defaults tofalse<P extends IGamePosition<P>>
SearchAlgorithm.SearchResult<?, P> search(P root, Duration time_limit, SearchAlgorithm.Limits space_limit, MetricKeeper... metrics) Deprecated.Initiates the search of the provided game tree with a given time limit and spatial limit.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface algorithm.SearchAlgorithm
search, search, search
-
Constructor Details
-
BstarSquaredVariant
Deprecated. -
BstarSquaredVariant
Deprecated.Uses the defaultStrategyFunction.PROVEBESTstrategy function for L2 search.- Parameters:
L1_strategyFunction- The strategy function to be used for L1 search.
-
-
Method Details
-
expectIncorrectBounds
public void expectIncorrectBounds(boolean set) Deprecated.defaults tofalse- Parameters:
set-
-
search
public <P extends IGamePosition<P>> SearchAlgorithm.SearchResult<?,P> search(P root, Duration time_limit, SearchAlgorithm.Limits space_limit, MetricKeeper... metrics) Deprecated.Description copied from interface:SearchAlgorithmInitiates the search of the provided game tree with a given time limit and spatial limit.- Specified by:
searchin interfaceSearchAlgorithm- Type Parameters:
P- The type ofIGamePositionwhich represents the type of game to be searched- Parameters:
root- root of the tree to be searchedtime_limit- maximum time spent in the algorithmspace_limit- maximum node expansions, evaluations, and nodes saved in memory used by the algorithmmetrics- an array ofMetricKeeperobjects to keep track of evaluations, expansions, and node storage performed during the search, can be empty- Returns:
- result from the search
-