搜索资源列表
51个城市的tsp程序
- 这是一个用蚁群算法来解决51个城市的tsp问题,该源码是用C++编写的,是一个非常有用的源代码 const int iAntCount=34;//ant numbers 蚂蚁数量 const int iCityCount=51;//城市数量 const int iItCount=500;//循环次数 const double Q=100;//信息素总量
shouxieshibie
- 上午上课在稿纸上画了半天,整理下思路,下午动手写的,所有模块已大概成型,本着照顾后学者,以及资源共享的原则,贴上核心的bp算法部分,已经封装好了,使用可以直接调用。三层,基本三层就可以解决我们的这些简单的问题,输入为8×8,输出4,隐层数目conts num=8 还可进一步封装,const输入层节点,输出层节点。-Morning class in the writing paper drew a long time, under the idea of finishing the afterno