搜索资源列表
KnapsackProblem
- 问题:已知有n种物品和一个可容纳M重量的背包,每种物品i的重量为wi。假定将物品i的一部分xi放入背包就会得到pixi的效益,这里,0≤xi≤1,pi>0。如果这些 物品重量的和大于M,要求所有选中要装入背包的物品总重 量不得超过M,而装入背包物品获得的总效益最大。-Question: are known to have n kinds of goods and M can hold the weight of a backpack, the weight of each item
NQueen
- n皇后问题可以表示成n-元组(x1,…,xn),其中xi是放在第i行的皇后所在的列号。于是,解空间由nn个n-元组组成。 显示约束条件为Si={1,2,…….,n},1 i n。 隐式约束条件之一为没有两个xi相同(即任意两个皇后不在同一列上)。将其加入到显式条件中,于是解空间的大小由nn个元组减少到n!个元组。 -n queens problem can be expressed as n-tuple (x1, ..., xn), where xi i
NQueenrecursion
- N皇后的递归算法。使用java语言编写。可以在计算机上实现-N Queens of the recursive algorithm. Using java language. Can be implemented on a computer
java_n_queen
- 使用java语言, 回溯法实现n后问题和0-1背包问题-java huisu suanfa slove N Queen question
Three
- recall.c:回溯法求有向图是否存在回路,将结果输出到文件中。dfs.c:深度优先搜索解决N皇后问题,结果输出到文件。Client.java:一个java编写的即时通讯小程序。-recall. depth-first search. Instant message.
huadongchuangkou
- 使用Java编写的模拟滑动窗口协议,部分修改可实现停等、回退N帧以及选择重发功能-Analog sliding window protocol written in Java, the partial revision of the stop-and-wait fallback N frame retransmission function
Multi-machine-scheduling
- 将对n个独立作业如何分配在m台相同的机器加工处理的多机调度问题进行解决,这就是我们要解决的任务。 本程序编写目的为使得解决多机调度问题的过程以图形界面方式动态的展示出来,以让用户能够轻易的看出解决的方案以及过程。采用java开发。 -Will be n independent jobs on m machines how to allocate the same machine processing of multi-machine scheduling problem to solv
Puzzle
- 人工智能课程,N数码问题java代码实现。-Artificial Intelligence course, N digital issue java code.
int-linked-list
- 基于JAVA编写一个整数的链表。程序包括对dat文档读取,链表的添加,删除,和完成指定要求。-Write a program, using an IntLinkedList to read in the following file and create a list according to the rules specified. The first number is n = the number of elements to generate. In the example, this
