player.gamer.statemachine.sadna

## Class Tournament

- java.lang.Object
- - player.gamer.statemachine.sadna.Tournament

-     public class Tournament
      extends java.lang.Object

  Run tournament to find the best weights vector out of all of weights vectors from the final learning run. The tournament go over all of the weights vector of the first player from the final run, choose randomly weights vector for the second player, let them play 100 games and if one of them is good enough (player won more then 30 games then the other player) - save them. All last learning run vectors are saved under the names: "final run\weights1_1000.txt", "final run\weights1_2000.txt", ..., "final run\weights1_200000.txt" and - "final run\weights2_1000.txt", "final run\weights2_2000.txt", ..., "final run\weights2_200000.txt"

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Tournament.Score`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Tournament()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(java.lang.String[] args)`

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

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

- - ### Constructor Detail

    - #### Tournament

          public Tournament()

  - ### Method Detail

    - #### main

          public static void main(java.lang.String[] args)
                           throws java.io.IOException

      Throws:
        `java.io.IOException`