[gameprogrammer] Let's play... Name That Algorithm! :)

  • From: "Mike Gillissie" <Niyoto@xxxxxxxxxx>
  • To: <gameprogrammer@xxxxxxxxxxxxx>
  • Date: Mon, 17 Aug 2009 19:57:19 -0400

Hi folks!

I'm in the middle of a situation - I have a problem I'm trying to solve, and it 
looks like the sort of problem that has a very nice algorithm named after some 
fine studious person. Here's the skinny:

At this point in my code I have a square boolean array that's used to indicate 
"compatibilities" - so if I have 5 units and I calculate each one's 
compatibility with each other unit (as either a Yes or a No), I might have 
values something like:

compat[0][1]=true;
compat[0][1]=true;
compat[0][1]=true;
compat[0][1]=true;

Other related posts: