introduce classes for the ACO algorithm

This commit is contained in:
Sven Czarnian
2021-10-12 22:30:20 +02:00
parent 7f7506104d
commit 9d69a60396
7 changed files with 157 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env python
from aman.config.AirportSequencing import AirportSequencing
class Configuration:
def __init__(self, runwayInfo : AirportSequencing, antCount : int, explorationCount : int):
# the AMAN specific information
self.RunwayConstraints = runwayInfo
self.PreceedingInbounds = None
self.Inbounds = None
# the ACO specific information
self.AntCount = antCount
self.ExplorationRuns = explorationCount
self.PheromoneEvaporationRate = 0.9