koi3378 / tsp---- Goto Github PK
View Code? Open in Web Editor NEWThis project forked from zhanzhenchao/tsp----
人工智能 遗传算法 模拟TSP C++源码
This project forked from zhanzhenchao/tsp----
人工智能 遗传算法 模拟TSP C++源码
C++代码都在g++ edition 4.6.3运行成功,测试完成。 算法具备模拟多个城市的特点(我设定了10个城市),具备任意设定初始化城市的距离,具备设定多少个城市作为初始随机种群(这里我设定了100个初始种群),具备设定多少代(这里我设定了100代)强制停止进化,具备设定多少次进行灾变(我设定了30次)。 所有以上的具备都可以在代码的#define中重新定义。值得一提的是,在主函数main中,我添加了record()函数作为记录每一代的输出情况,如需要调试,测试可以使用该函数。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.