Skip to content

JGreyScales/FastestPathAlgro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

FastestPathAlgro

Calculates the fastest path through a randomly generated series of walkpaths, buses, and trains- times for each is pre-determined. Comments in code explain the math for random generation and times

possibleStations = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L"]

station amount is a random interger between 4 and 12 #amount of footpaths = stations / 4 #walking takes twice as long as the train

#amount of busPaths = footpaths - 1 if the amount of terminals is not divisible by 3 #otherwise busPaths = footpaths

#movement directly to the right letter is always allowed, costing 1 hour

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages