R语言中的遗传算法的genalg包,有个suggestions的参数。文档中只是简单介绍了“suggestions

optional list of suggested chromosomes”(建议染色体的可选列表)。没有什么例子。

 

果断检查源代码:genalg/rbga.bin.R at master · egonw/genalg · GitHub

 

suggestions应该用矩阵,类似:suggestions=as.matrix(c(1,0.1,10))


R语言genalg之suggestions参数
 

 

参考:R语言中的遗传算法 | 粉丝日志

 

 

 

 

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2021-09-05
  • 2021-09-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
相关资源
相似解决方案