repositorypackage
0.0.0-20240107162609-9d97bcfa4577
Repository: https://github.com/tmw/pathfind.git
Documentation: pkg.go.dev
# README
Pathfind
Currently offers generic unweighted A* and BFS algorithm.
CLI Usage
Reading from file:
go run cmd/main.go -filename examples/small.txt
Reading from stdin
:
cat examples/small.txt | go run cmd/main.go
Overriding symbols
go run cmd/main.go \
-filename="examples/emoji.txt" \
-symbolNonWalkable="🔥" \
-symbolWalkable="⬜" \
-symbolStart="🟢" \
-symbolFinish="🏁" \
-symbolPath="🚗"
See examples:
examples/example.sh <small|emoji>
Library usage
T.B.D