s3games.ai

## Class DepthFirstSearchStrategy

- java.lang.Object
- - s3games.ai.Strategy
  - - s3games.ai.DepthFirstSearchStrategy

-     public class DepthFirstSearchStrategy
      extends Strategy

  Strategy class for DFS player

- - ### Field Summary

    - ### Fields inherited from class s3games.ai.Strategy

      `heuristic`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DepthFirstSearchStrategy()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Player` | `getPlayer(GameSpecification specs)` return a new DFS player for the specified game
    `void` | `learn(Game game)` no learning for DFS yet - could learn the best path, and then play() could just follow it - future work...

    - ### Methods inherited from class s3games.ai.Strategy

      `availableStrategies, getStrategy, learnable, setHeuristic`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DepthFirstSearchStrategy

          public DepthFirstSearchStrategy()

  - ### Method Detail

    - #### getPlayer

          public Player getPlayer(GameSpecification specs)

      return a new DFS player for the specified game
      Specified by:
        `getPlayer` in class `Strategy`
      Parameters:
        `specs` - the game to be played
      Returns:
        a new instance of DFS player

    - #### learn

          public void learn(Game game)

      no learning for DFS yet - could learn the best path, and then play() could just follow it - future work...
      Specified by:
        `learn` in class `Strategy`