Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   Java AI (http://www.go4expert.com/forums/java-ai-t25357/)

Cristi1213 28Mar2011 16:06

Java AI
 
Hy,
I need a program to compute the following problem: on a riverside there are 2 children and one adult. There is a boat which can be used to transport 2 children, one child, or one adult. Whenever the boat passes the riverside there has to be at least one person in it. We have to move the 2 children and the adult on the other side of the river.In theory it goes like this: I generate a tree with all the possible valid moves, than search until we have the result(Uninformed search), but I can't seem to have an idea on how to actually start the program. Can anyone help me with some ideas?


All times are GMT +5.5. The time now is 02:10.