相关代码 |
|
function [done] = maxGenTerm(ops,bPop,endPop) % function [done] = maxGenTerm(ops,bPop,endPop) % ops - a vector of options [current_gen maximum_generation] % bPop - a matrix of best solutions [generation_found solution_string] % endPop - the current generation of solutions currentGen = ops(1); maxGen = ops(2); done = currentGen >= maxGen;
相关资源 |
|