Skip to content

Latest commit

History

History
38 lines (24 loc) 路 980 Bytes

README.md

File metadata and controls

38 lines (24 loc) 路 980 Bytes

Graph

:octocat: This is a project for Graph Search Methods in Unity3D and C#. 馃懡
I also use here Scriptable Objects to store the Graph (more details bellow)

What we have

  • BFS (Breadth First Search)
  • DFS (Depth First Search)
  • UCS (Uniform Cost Search)
  • Hill Climbing (need improvements in heuristics)
  • Greedy
  • A*

Screenshot

An awesome screenshot

How to use

Install Unity3d

  1. Set the start node [mouse click]
  2. Set the target node [mouse over + space bar]
  3. Hit the search buttons

Using your own graph

Besides the default graph provided, you can create your own graph! In the Unity menu:

  Assets -> Create -> My Graph

This will create a new graph object serialized as a Unity .asset file (stored in ~/Graph/Assets/Graphs/Graph.asset)

About

This project was develop for the Artificial Intelligence course for my Computer Science undergrad at UNESP - SP - Brazil