文件名称:encode-and-decode-of-shop-job
介绍说明--下载内容来自于网络,使用问题请自行百度
用于车间调度的编码和解码。
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.