Python3
python ga_scheduling.py
- Initialize all the genetic
- 開始繁殖 (Start the program, set ITERATION_TIME)
- 選擇下一代基因 (Select next generation)
- 交配 (Crossover)
- 突變 (Mutation)
- 重複3~5步驟 (Repeat step3 to step5)
- 設定停止條件 (Stop condition)
[GA] 基因演算法(Genetic Algorithm, GA) - Introduction and C code
要注意python list裡面 shadow copy的問題 =...=