AntColonyOptimizationOptions<T, TInput, TOutput>

Options & Configuration · AiDotNet.Models.Options

Configuration options for the Ant Colony Optimization algorithm, which is inspired by the foraging behavior of ants to find optimal paths through a search space.

Inheritance: ModelOptions → OptimizationAlgorithmOptions<T, TInput, TOutput> → AntColonyOptimizationOptions<T, TInput, TOutput>

For Beginners

Ant Colony Optimization works like real ants finding food. When ants find food, they leave a chemical trail (pheromone) on their way back to the nest. Other ants follow strong trails, making them stronger. Trails that don’t lead to food gradually fade away. This algorithm mimics this behavior to solve problems by having virtual “ants” explore possible solutions and leave “trails” on good solutions that guide future searches. It’s especially good at finding efficient routes or combinations when there are many possibilities to consider.

How It Works

Ant Colony Optimization (ACO) is a probabilistic technique for solving computational problems that can be reduced to finding good paths through graphs. It simulates the behavior of ants seeking a path between their colony and a food source.

Constructors

Constructor Summary
AntColonyOptimizationOptions()

Properties

Property Summary
double Beta { get; set; } Gets or sets the importance of heuristic information (problem-specific knowledge) relative to pheromone trails.
double InitialPheromoneEvaporationRate { get; set; } Gets or sets the initial rate at which pheromone trails evaporate over time.
double InitialPheromoneIntensity { get; set; } Gets or sets the initial strength of pheromone deposits left by ants.
double MaxPheromoneEvaporationRate { get; set; } Gets or sets the maximum allowed value for the pheromone evaporation rate.
double MaxPheromoneIntensity { get; set; } Gets or sets the maximum allowed value for pheromone intensity on any path.
double MinPheromoneEvaporationRate { get; set; } Gets or sets the minimum allowed value for the pheromone evaporation rate.
double MinPheromoneIntensity { get; set; } Gets or sets the minimum allowed value for pheromone intensity on any path.
double PheromoneEvaporationRateDecay { get; set; } Gets or sets the factor by which to decrease the pheromone evaporation rate when adaptation is needed.
double PheromoneEvaporationRateIncrease { get; set; } Gets or sets the factor by which to increase the pheromone evaporation rate when adaptation is needed.
double PheromoneIntensityDecay { get; set; } Gets or sets the factor by which to decrease the pheromone intensity when adaptation is needed.
double PheromoneIntensityIncrease { get; set; } Gets or sets the factor by which to increase the pheromone intensity when adaptation is needed.
int AntCount { get; set; } Gets or sets the number of artificial ants used in each iteration of the algorithm.