>>46320 Bung them into a collection. Write a class that implements a comparator that:
- if it's never seen the two objects before, returns a random answer and remembers what it returned - if it has seen the objects before, returns the same answer as last time*
"sort" the collection with the comparator Iterate through the collection, reading off whatever groups you require.
* you need to do this, because the API does not specify a sorting algorithm, so your comparator needs to be deterministic. Some sorts, if you give them different answers each time, will never halt, or will not sort the whole series.
All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the shown content originated from that site. This means that 4Archive shows their content, archived. If you need information for a Poster - contact them.
If a post contains personal/copyrighted/illegal content, then use the post's [Report] link! If a post is not removed within 24h contact me at firstname.lastname@example.org with the post's information.