文件名称:encode-and-decode-of-shop-job
- 所属分类:
- 人工智能/神经网络/遗传算法
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-05-07
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 郑**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用于车间调度的编码和解码。
encode函数用于生成M*N的编码数组。M为机器数,N为工件数。
Jm数组的行,表示对应工件在不同机器上的加工顺序。数组内容为机器号。
T数组为加工时间数组。第M行第N列,表示第N号工件在第M号机器上的加工时间。
程序采用先判断对应机器上是否有空间满足插空标准,处理后,再判断是否产生新的空间。
decode解码函数最终需要求得,在M个机器中,所用的最长时间,也就是最大完成时间,作为解码的结果。-For shop scheduling encoding and decoding.
The encode function used to generate the array of M* N coding. M is the number of machines, N is the number of workpieces.
Jm row of the array, which means that the corresponding workpiece machining sequences on different machines. The contents of the array is the number of the machine.
T array is an array of processing time. The first N columns of the M-th row, which means that the processing time of the workpiece in the machine M N.
The program uses to determine whether there is space to meet the inserted empty standard corresponding to the machine, processing, and then to determine whether a new space.
decode decoding function will eventually need to be obtained, M machine, the best time, which is the maximum completion time, as a result of the decoding.
encode函数用于生成M*N的编码数组。M为机器数,N为工件数。
Jm数组的行,表示对应工件在不同机器上的加工顺序。数组内容为机器号。
T数组为加工时间数组。第M行第N列,表示第N号工件在第M号机器上的加工时间。
程序采用先判断对应机器上是否有空间满足插空标准,处理后,再判断是否产生新的空间。
decode解码函数最终需要求得,在M个机器中,所用的最长时间,也就是最大完成时间,作为解码的结果。-For shop scheduling encoding and decoding.
The encode function used to generate the array of M* N coding. M is the number of machines, N is the number of workpieces.
Jm row of the array, which means that the corresponding workpiece machining sequences on different machines. The contents of the array is the number of the machine.
T array is an array of processing time. The first N columns of the M-th row, which means that the processing time of the workpiece in the machine M N.
The program uses to determine whether there is space to meet the inserted empty standard corresponding to the machine, processing, and then to determine whether a new space.
decode decoding function will eventually need to be obtained, M machine, the best time, which is the maximum completion time, as a result of the decoding.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Cpp4.cpp