Function maximizeCached

  • Run the maximizer, but only if the objective and certain pieces of game state haven't changed since it was last run.

    Parameters

    • objectives: string[]

      Objectives to maximize for.

    • options: Partial<MaximizeOptions> = {}

      Options for this run of the maximizer.

    Returns boolean

    Whether the maximize call succeeded.