[algogeeks] Re: Reducing Complexity Help

2005-12-12 Thread Gene
Your explanation is missing some details. Does the game choose a random initial condition? What do the ->0, ->1, and ->2 mean in your explanation of the color changes? Assuming the answers are "yes" and "nothing," this is a fairly standard heuristic search problem. Check any good AI book. The

[algogeeks] Re: Finding all possible states of a 2d array

2005-12-12 Thread adak
Within the limits of the equation you gave, isn't this just a permutation problem? adak

[algogeeks] Finding all possible states of a 2d array

2005-12-12 Thread Meidan
Hi all, I have a 2d array X, say of size AxB. Each cell has a capacity limit, lets mark the capacity limit of cell [i,j] by L[i,j]. My problem is that I want to find all possible arrays that for every cell 0 <= X[i,j] <= L[i,j]. Can anybody give me a rough draft for such an algorithm? than

[algogeeks] Reducing Complexity Help

2005-12-12 Thread kl365
Hey Group, I've been playing an online game and they offer a series of mini-games to kill time inbetween resets when you're out of "turns" These games don't really affect anything but one of them has been bugging me for quite a while so i finally decided to see if i could code a way to solve it.

[algogeeks] Re: what is tournament tree?

2005-12-12 Thread adak
Either you're fibbing (which will get you a piece of coal in your Chrismas stocking), or you didn't read the google results. There are tons of info on this, just google "tournament tree", and you're on your way. And quit fibbing, 'cause Santa is already loaded down with coal for all the lying po

[algogeeks] what is tournament tree?

2005-12-12 Thread blackswift
hello all, does someone know about this datastructure? I have searched it in google, but didn't find very useful information. can someone give me some links? thanks in advance.

[algogeeks] Re: Comparing two mathematical expressions

2005-12-12 Thread Yunzhong
What are the allowed operators?