# Ant Colony Optimisation Algorithm

Ant Colony - 4月 26, 2021
5
4.6颗星（总分5颗星）（5个评分）
• 80%
• 0%
• 20%
• 0%
• 0%

Ant Colony Optimization algorithm (ACO) for finding optimal paths.

• 支持的平台
• 支持的引擎版本
4.26
• 下载类型
引擎插件
此产品包含一款代码插件，含有预编译的二进制文件以及与虚幻引擎集成的所有源代码，能够安装到您选择的引擎版本中，并根据每个项目的需求启动。

The ant colony optimization algorithm (ACO) is a probabilistic technique for solving computational problems which can be reduced to finding good paths through graphs. Artificial ants stand for multi-agent methods inspired by the behavior of real ants. It helps to solve various tasks, including vehicle routing, internet routing [Wiki].

Finding an optimal path with brute force on the other hand would require a lot of computer power: (n-1)!/2 variant to compare, where n is the number of agents. For 15 points it would require to compare 43,589,145,600 paths.

With this plugin will be able to find the route for the same amount of points without notice.

Videos:

• Finding an optimal path in changing environment using Ant Algorithm link;
• How changing obstacles affects path, calculated using Ant Algorithm link;
• Ant Algorithm in action for round objects on a moving platform: link;
• Ant Algorithm runtime path calculations for round objects link;
• Drawing a path with Ant Algorithm using the editor in Unreal Engine 4 link.

### 技术细节

Features:

• Finding an optimal path for actors in the scene;
• Great for NPC's patrolling path automation;
• Editing path in the editor with WYSIWYG concept;
• Adapting path to moving targets;
• Included Automation tests will help you to modify the solver for your needs if you want to.

Number of Blueprints: 1

Number of C++ Classes: 6

Network Replicated: No

Supported Platforms: Win64

Documentation: Tutorial

Example Project: 4.26

Notes: This plugin has its limits on the size of the path it can solve. It was tested for 15 points with stable results.