文件名称:Police-BadGuys2
介绍说明--下载内容来自于网络,使用问题请自行百度
On one side of a river, there are three policemen and three criminals.
* There is a boat which can be used to transfer people from one side of the river to the other.
* No more than two people can fit in the boat and it must have at least one person in it during any transfer.
* The problem is to find the shortest sequence of transfers which gets all six people from one side to the other
* without ever creating a situation where criminals outnumber policemen (if they were both) on either side of the river.
* There is a boat which can be used to transfer people from one side of the river to the other.
* No more than two people can fit in the boat and it must have at least one person in it during any transfer.
* The problem is to find the shortest sequence of transfers which gets all six people from one side to the other
* without ever creating a situation where criminals outnumber policemen (if they were both) on either side of the river.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Police-BadGuys2/Action.class
Police-BadGuys2/Node.class
Police-BadGuys2/Node.java
Police-BadGuys2/Problem.class
Police-BadGuys2/Problem.java
Police-BadGuys2/State.class
Police-BadGuys2
Police-BadGuys2/Node.class
Police-BadGuys2/Node.java
Police-BadGuys2/Problem.class
Police-BadGuys2/Problem.java
Police-BadGuys2/State.class
Police-BadGuys2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.