Layout method and apparatus based on genetic algorithm
Abstract:
A layout method and apparatus based on a genetic algorithm are provided. The method includes: determining a gene code mode based on standard part information and layout part information; generating an initial population based on the gene code mode, the initial population including a plurality of gene codes, and the gene codes including standard code segments and layout code segments, and corresponding to layout schemes of standard parts and layout parts; acquiring fitness of each gene code; determining a dominant gene code based on the fitness; performing a double-point crossing operation and a double-point mutation operation on the dominant gene code to generate a next generation gene code, so as to form a dominant population; and if a preset termination condition is met, determining the layout scheme corresponding to the dominant gene code in the dominant population as a target layout scheme.
Public/Granted literature
Information query
Patent Agency Ranking
0/0