daffidwilde / matching

A package for solving matching games
https://daffidwilde.github.io/matching/
MIT License
150 stars 42 forks source link

Make player cleaning internal #115

Closed daffidwilde closed 4 years ago

daffidwilde commented 4 years ago

Following the point raised in #112 about a more organic interface, this PR moves the cleaning of players and their preferences into the scope of matching.

This will be achieved by refactoring the _check_input solver methods to give out warnings rather than errors. In addition, the BaseGame instance will change its Player instances, storing the original information as needed.