minustehbare / CSE4705_final

Game of the Amazons AI for final project.
2 stars 0 forks source link

PrintName #14

Closed Dr-Steve closed 13 years ago

Dr-Steve commented 13 years ago

Can I get a getNameSuffix and Prefix on the Partition Set class? I changed the end games to take partition sets so we can calculate end-games to be for multiple partitions at the same time, but to store them I need the names.

Dr-Steve commented 13 years ago

Fixed it myself

searing commented 13 years ago

I'm pretty confused on how this is supposed to work, but I guess you've solved it!

Are you making sure to normalize the partitions first?

Dr-Steve commented 13 years ago

I stole the logic from your print board method to generate a table of nodes, then pumped them through the print functions that you had for partition. I believe it works, though i'm afraid it is not very fast. If you come up with a better way let me know. I've started testing the backups, it seems that I am going to have to come up with a good way of generating partition sets to run the end game on, because brute force is clearly unrealistic. (8 embedded for loops to test all queen placements take a while? Who knew)