Based on the analyses of the limitation of a common genetic algorithm and the model of the structure and development of human society, the paper discusses a modified genetic algorithm. The algorithm applies unidirectional inheritance and hierarchical structure to solve the optimizing problems. This method can not only reserve the useful genetic information, but also make the succeeding inheritance more goal-oriented. It utilizes the intrinsic genetic knowledge to calculate.