Skip to content

simulate-digital-rail/vacancy-section-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vacancy-section-generator

Generate vacancy sections (Freimeldeabschnitte) for yaramo topologies

Process

This generator works on the assumption that one edge can be part of zero or one vacancy sections. It will create one vacancy section for each edge and also add them to the topology as a whole as well as the relevant routes.

Installation

$ poetry add git+https://github.com/simulate-digital-rail/yaramo
$ poetry install

Usage

VacancySectionGenerator(topology).generate()
print(topology.vacancy_sections)

About

Generate vacancy sections for yaramo topologies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages