-
Notifications
You must be signed in to change notification settings - Fork 9
ScenarioConfig
jfuruness edited this page Jan 18, 2024
·
2 revisions
The ScenarioConfig class (implementation seen here defines how Scenarios get initialized. A Scenario class essentially represents a single trial, and the ScenarioConfig defines how those trials are randomly initialized. This class is merely a dataclass that sets a lot of the values that the Scenario class uses, such as the number of attackers and victims, the adoption subcategories, the attacker subcategory (defines which ASes can be an attacker), the victim subcategory (defines which ASes can be the victim), the hardcoded_asn_cls_dict (used for storing real world routing info such as ROV, etc), and so on. You can see descriptions of each of these attributes and many more within the class itself.