dylanwulf / ai-project-1 Goto Github PK
View Code? Open in Web Editor NEWArtificial Intelligence Project 1: Searching
Artificial Intelligence Project 1: Searching
Dylan Wulf CSC380: Artificial Intelligence Project 1: Searching February 12, 2017 Files: MapSolver.java: contains main method; reads file and initiates search SearchStrategy.java: Simple interface describes search strategy class layout AStarSearch.java: Contains instructions for A* search algorithm BFSearch.java: Contains instructions for breadth-first search algorithm DFSearch.java: Contains instructions for depth-first search algorithm MapHeuristic.java: Interface for A* Heuristic class MapHeuristicStraightLine.java: Straight line heuristic for A* search strategy MapHeuristicTaxiDistance.java: Taxi distance heuristic for A* search strategy ProblemNode.java: Interface for a single node in the problem search tree MapProblemNode.java: Describes a single node in the map problem search tree Building: To build this program, simply run the following command javac MapSolver.java The Java compiler should automatically compile all the other files as required. Running: This program is run using a command like this java MapSolver path/to/map.txt search-strategy where path/to/map.txt is a relative or absolute path to the input map file, and search strategy is one of the following: BFS, DFS, A*-straight-line, A*-taxi-distance BFS stands for breadth-first search DFS stands for depth-first search A*-straight-line is the A* algorithm with straight line heuristic A*-taxi-distance is the A* algorithm with taxi distance heuristic Example: java MapSolver maps/map1.txt A*-straight-line This program was tested on a Linux system using Java version 1.8.0_121
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.