introduce classes for the ACO algorithm
This commit is contained in:
15
aman/sys/aco/Configuration.py
Normal file
15
aman/sys/aco/Configuration.py
Normal 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
|
||||
Reference in New Issue
Block a user