Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add brute force #8

Closed
wants to merge 14 commits into from
Closed

Conversation

Brut-225
Copy link

@Brut-225 Brut-225 commented Oct 31, 2019

Closes #3. Based upon #7 (as it requires isStable to function)
Closes #5, closes #6 and closes #7.

Plain, recursive implementation of a brute force search for a stable matching.

Further verified that the implementation of the Gale-Shapley algorithm (talked about in #7) is errornous.

Niklas added 14 commits October 10, 2019 10:06
- updated readme to reference gitignore
- fixed general format to be readable in vs code
- added output and isStable-test for matchings in Main
- fixed typing error
- added some formatting for console output
- renamed fiancee arrays to fiance (because these are the assigned fiances to the women)
- fixed trivialMatching generator
- added helper functions for isStable
- added some comments
- cleaned up console logging in main
- isStable now only logs if giveInfo is true (preparation for brute force algorithm)
- expanded readme
- refactored matching prints
- added brute force printout
@Brut-225 Brut-225 closed this Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add brute force search
1 participant