Languages C# Sourcecode & Tools Sourcecode  

A* (A-Star) v1.0

download download  
important code information
author:
Ebrahimi
minimum requirements:
A* (A-Star) v1.0 description

This is a simple A* (A-Star) implementation. I did this for one
of my university projects, so don't expect it would be very
good. Anyway, it's very simple because I'm not a C# programmer.
There are four classes, first one (class1.cs) is just a test
for path finding, it opens a file and fills an array and uses
it to pathfinding. The second class, Path(path.cs) is used by
third class to find the path. The third class Node, is used by
Path class. The fourth class, PathFinding(pathfinding.cs) has a
function, FindPath(), you can use it to get shortest path, its
inputs are: starti: column of start point in the array startj:
row of start point in the array nexti: column of destination
point in the array nextj: row of destination point in the array
map: this is our array that has the map BTW, excuse me for my
poor English. Cheers, H.Ebrahimi



This is a simple A* (A-Star) implementation. I did this for one of my university projects, so don't expect it would be very good.
Anyway, it's very simple because I'm not a C# programmer.
There are four classes, first one (class1.cs) is just a test for path finding, it opens a file and fills an array and uses it to pathfinding.
The second class, Path(path.cs) is used by third class to find the path.
The third class Node, is used by Path class.
The fourth class, PathFinding(pathfinding.cs) has a function, FindPath(), you can use it to get shortest path, its inputs are:
starti: column of start point in the array
startj: row of start point in the array
nexti: column of destination point in the array
nextj: row of destination point in the array
map: this is our array that has the map

BTW, excuse me for my poor English.

Cheers,
H.Ebrahimi


File List:
App.ico1Kb
AssemblyInfo.cs2Kb
Class1.cs2Kb
Path-UProject.csproj4Kb
Path-UProject.csproj.user2Kb
Path-UProject.sln1Kb
Path-UProject.suo7Kb
Path.cs4Kb
ReadMe.txt1Kb
map.txt208b
node.cs212b

Similar code
Using Crystal Reports with c# (Popularity: ) : This application is provided with the complete source code to learn crystal reports with C#.NET.It is used along with the typed data sets.
S2K2S Converter (Popularity: ) : The code for a little shapefile-kml-shapefile converter that uses command line.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 124
version
size in Kb 8
popularity   1097/7913374
user rating 4/10
ad


New Code
Popular Code