Skip to content
/ paffi Public

A command-line program to find shortest paths in text files.

License

Notifications You must be signed in to change notification settings

DobryPpz/paffi

Repository files navigation

This is a program where you input a text file consisting of lines of characters.

  • . -> this character means the starting points(default).

  • x -> this character means targets(default).

  • [:space:] -> whitespace means empty cells we can travel to

Any other character means obstacle. The program will read in such file and draw the shortest paths from starting points to targets. The shortest paths will be drawn with @ character(default). You can specify the following options:

  • -s -> the starting point character will be
  • -t -> the target character will be
  • -p -> the paths will be drawn with character
  • -n -> the neighbourhood: 4 for Von Neumann(default), 8 for Moore
  • -o -> the path to file where you want to store the results
  • --maxlen -> maximum path lengths to consider
  • --highlight -> the paths will be highlighted
  • -c -> choose the color for highlighting

About

A command-line program to find shortest paths in text files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages