Implementation in Julia

From Realpolitik.io
Jump to navigation Jump to search

Though the code examples in this wiki are in the Wolfram Language, the intention is to create a separate implementation in the Julia programming language. Julia is free to use, well liked among computational scientists, and has performance comparable to C.

Implementation Priorities

  1. Core data structures
    1. Power structures
    2. Parameter setting
  2. Helper functions
    1. ZeroDiagonalize
    2. PositionLargest
    3. Pretty
  3. Manipulating power structures
    1. Normalization
    2. Random power structures
    3. Manipulating tactics
      1. ReciprocalizeT
      2. SymmetrizeT
      3. TernaryMoveByIndex
      4. ToTernary
    4. Pad, trim, reorder
    5. Named ternary Ts
  4. Simulation engine
    1. Law of motion
    2. Metrics
      1. Utility
      2. PrinceRank
      3. Polarity
      4. Volatility
    3. Monte Carlo tree search
  5. PrinceNet
    1. PrinceNetJr
    2. NetEncode
    3. NetApply
    4. NetApplyComponent
    5. NetDecode
    6. NetRandomMoveNear
    7. NetBestMoveNear
  6. Visualization