Package com.kraken.api.simulation.tree
Class SimulationTreeOptions
- java.lang.Object
-
- com.kraken.api.simulation.tree.SimulationTreeOptions
-
public final class SimulationTreeOptions extends java.lang.ObjectControls simulation tree depth, movement expansion, and node limits.
-
-
Constructor Summary
Constructors Constructor Description SimulationTreeOptions(int ticks, SimulationMovementMode movementMode, int movementRadius, boolean includeWalkActions, boolean includeRunActions, int maxNodes, int maxActionsPerNode, int maxMovementTargets)Creates tree options.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimulationTreeOptionsdefaults()Creates default tree options tuned for deeper future planning.
-
-
-
Constructor Detail
-
SimulationTreeOptions
public SimulationTreeOptions(int ticks, SimulationMovementMode movementMode, int movementRadius, boolean includeWalkActions, boolean includeRunActions, int maxNodes, int maxActionsPerNode, int maxMovementTargets)Creates tree options.- Parameters:
ticks- simulation depth in game ticks.movementMode- movement expansion mode.movementRadius- movement radius used inSimulationMovementMode.RADIUS.includeWalkActions- true to include 1-step-per-tick movement destinations.includeRunActions- true to include 2-steps-per-tick movement destinations.maxNodes- hard cap for generated tree nodes.maxActionsPerNode- hard cap for candidate actions per tree node.maxMovementTargets- hard cap for movement destinations per node before walk/run variants.
-
-
Method Detail
-
defaults
public static SimulationTreeOptions defaults()
Creates default tree options tuned for deeper future planning.- Returns:
- default options.
-
-