/HS-AI

Code written for Artificial Intelligence.

Primary LanguagePython

HS-AI

Code written for the TJHSST Artificial Intelligence class, here for archival purposes.

Divided by the quarter of the school year in which it was written.

1: finding and searching

2: AI for solving / playing games

3: machine vision and image manipulation

4: neural networks, genetic algorithms, and miscellaneous problems

Permutations unit

One unit was focused around permutations; these files have been split off in a separate folder.

  • Basic permutations in nthPermBasic.py
  • Navigating lexicographic permuatations (given the nth, calculate the n+1th) in perms.py and nextPermLexi.py
  • Alphametics puzzle solver using permutations in solver.py