论文部分内容阅读
提出一种基于遗传算法的平面直线度计算方法,该方法计算原理简单,借助于计算机技术,可以较容易地实现计算精度要求较高时的直线度误差计算。文章首先给出问题的计算模型。接着介绍了在遗传算法实现中的关键技术,包括染色体个体的表达、初始群体的产生方式、适应度函数、遗传算子(选择、交叉和变异等)的确定、遗传运算的停止准则等。最后应用实例对算法进行了验证计算和分析,结果表明,所设计的基于遗传算法的平面度误差计算方法可以实现平面直线度的精确计算。
A calculation method of plane straightness based on genetic algorithm is proposed. The calculation principle of this method is simple. With the aid of computer technology, the calculation of straightness error can be easily achieved when the calculation precision is high. The article first gives the calculation model of the problem. Then it introduces the key technologies in the implementation of GA, including the expression of chromosome individuals, the generation of initial population, the fitness function, the determination of genetic operators (selection, crossover and mutation, etc.) and the stopping criterion of genetic operations. Finally, an example is given to validate and calculate the algorithm. The results show that the designed flatness error calculation method based on genetic algorithm can accurately calculate the plane straightness.