Aviary developer’s guide¶
Development¶
Scenario generation algorithms are implemented in aviary as strategies in the context of the ScenarioGenerator
class. The workflow for adding a new algorithms is:
Create a subclass of
ScenarioAlgorithm
and implement theaircraft_generator
method. On each call, this method must yield a dictionary representing a new aircraft in the scenario, containing all of the attributes listed above.Optionally, add a python script (in the
scripts/
directory) to enable scenario generation from the command line. The existing scriptoverflier_climber.py
may be used as a template. Add the name of the script to thescripts
option insetup.py
(to make it callable from the project root directory).