Skip to content

simulate-digital-rail/railway-route-generator

Repository files navigation

Railway Route Generator

This is a small library generating routes (Fahrstraßen) for a given yaramo railway topology.

Installation

Just install it with pip:

pip3 install git+https://github.com/arneboockmeyer/railway-route-generator

Usage

from railwayroutegenerator.routegenerator import RouteGenerator

# topology is a yaramo.models.Topology object
RouteGenerator(topology).generate_routes()
print(topology.routes)

Further examples can be found in the demo repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages