Solvers for Secret Santa

Overview

Secret Santa Solver

Included is a solver that uses ChocoSolver Contraint Satisfaction Solver library to generate all possible solutions.

To execute this run the tests with test/real data to generate all solutions, or a random solution.

Example Output:

Total solution count: 80

Solution #0
=================
Gifter Beavis is assigned to Giftee Cat
Gifter Butthead is assigned to Giftee Dog
Gifter Cat is assigned to Giftee Jerry
Gifter Dog is assigned to Giftee Tom
Gifter Jerry is assigned to Giftee Butthead
Gifter Tom is assigned to Giftee Beavis

...


Solution #79
=================
Gifter Beavis is assigned to Giftee Tom
Gifter Butthead is assigned to Giftee Dog
Gifter Cat is assigned to Giftee Jerry
Gifter Dog is assigned to Giftee Butthead
Gifter Jerry is assigned to Giftee Beavis
Gifter Tom is assigned to Giftee Cat


Randomly chosen solution is #21
=================
Gifter Beavis is assigned to Giftee Dog
Gifter Butthead is assigned to Giftee Cat
Gifter Cat is assigned to Giftee Jerry
Gifter Dog is assigned to Giftee Tom
Gifter Jerry is assigned to Giftee Butthead
Gifter Tom is assigned to Giftee Beavis
You might also like...
Owner
Brian Casey Kulm
Brian Casey Kulm
A TextView that simulates the effect from the app Secret where the characters fade in/out at different speeds.

SecretTextView A TextView that simulates the effect from the app Secret where the characters fade in/out at different speeds. How To Use Use it just l

Matt Kula 611 Nov 7, 2022
✔️ Hide a secret message in an image

Image Steganography Steganography is the process of hiding a secret message within a larger one in such a way that someone cannot know the presence or

Ayush Agarwal 120 Dec 18, 2022
A TextView that simulates the effect from the app Secret where the characters fade in/out at different speeds.

SecretTextView A TextView that simulates the effect from the app Secret where the characters fade in/out at different speeds. How To Use Use it just l

Matt Kula 611 Nov 7, 2022
Secret Codes is an Open Source application that allows you to browse through hidden codes of your Android phone.

####Secret Codes is an Open Source application that allows you to browse through hidden codes of your Android phone. This application will scan throug

Simon Marquis 251 Jan 6, 2023
A small plugin which loads an additional properties file for secret values.

Gradle Secrets Plugin A small plugin which loads an additional properties file for secret values. Why Using this plugin, you can have an additional fi

null 7 Dec 25, 2022
Acme-app - App to display the best routes for drivers based on a secret algorithm

Acme App App to display the best routes for drivers based on a "secret" algorith

Pablo Baxter 0 Jan 9, 2022
Secure Secret Keys With Kotlin

Secure-Secret-Keys How to Secure Secrets ?? in Android CMake — Native Libraries

Muhammad Shams 4 Jan 21, 2022
an android app to send private secret SMS while terrorist Islamic republic of Iran banned internet access in Iran.

Mahsa An android application which is designed to deliver safe and encrypted messages using SMS while Islamic republic of Iran banned Iranian people a

null 3 Sep 22, 2022