islammohamed / shortest-path-algorithm Goto Github PK
View Code? Open in Web Editor NEWThis project forked from petrglad/shortest-path-algorithm
Interview task
This project forked from petrglad/shortest-path-algorithm
Interview task
Shortest path 2D algorithm. Walls are defined as set of line segments. Points at wall ends are passable. To build: gradle build Data files are CSV describing one 2d-line per line: x1, y1, x2, y2 To run batch version: java -jar build/libs/labyrinth-0.1.jar Example: java -jar build/libs/labyrinth-0.1.jar data/box.txt 1 1 70 70 Output: 1.0, 1.0, 10.0, 10.0 10.0, 10.0, 50.0, 50.0 50.0, 50.0, 70.0, 70.0 Example: java -jar build/libs/labyrinth-0.1.jar data/waterproof-box.txt 30 30 70 70 No output (no path found). To run GUI version: java -cp build/libs/labyrinth-0.1.jar petrglad.labyrinth.Board data/test-data1.txt (data file is optional) Keys: Mouse_left, Mouse_right - set start and end point Mouse_middle - clear paths Ctrl+Mouse_left - set new walls Ctrl+S - save walls to file "saved-walls.txt"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.