Custom Output Function for Genetic Algorithm
조회 수: 3 (최근 30일)
이전 댓글 표시
hi
I want a way to change the outside signal of every iteration in the GA
댓글 수: 0
답변 (1개)
Walter Roberson
2021년 2월 4일
The mechanism for this is that for ga(), output functions are permitted to change the state and return the new state.
However the documentation warns that the algorithm can be unstable if you use the output function to change the state. The recommendation is to instead use the MutationFcn (or CrossoverFcn) to return new population members. The rules do not block you from "mutating" all population elements.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!