# Ant Colony Optimisation Algorithm

Ant Colony - Apr 26, 2021
5
4.6 out of 5 stars(5 ratings)
• 80%
• 0%
• 20%
• 0%
• 0%

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

• Supported Platforms
• Supported Engine Versions
4.26
Engine Plugin
This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

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.

### Technical Details

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.