Interface SimulationEngine.ActionProvider

  • Enclosing class:
    SimulationEngine
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface SimulationEngine.ActionProvider
    Provides extra actions while building a simulation tree.
    • Method Detail

      • provide

        java.util.List<SimulationAction> provide​(SimulationState state,
                                                 int depthRemaining)
        Parameters:
        state - current state.
        depthRemaining - depth remaining.
        Returns:
        additional actions, or null.