Skip to content

FarrelAD/Greedy-Best-First-Search-Web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

This project is a visual and interactive demonstration of the Greedy Best First Search (GBFS) algorithm β€” an informed search algorithm that uses a heuristic to guide its pathfinding decisions. It's designed to help users understand how GBFS works through an intuitive, hands-on experience.

How to use it ? πŸͺ‡

Greedy.Best.First.Search.Demo.mp4

Running the demonstration is simple. Just follow these steps:

  1. Open the Website

    Visit the live demo via the link provided in this repository.

  2. Create Nodes

    Begin by adding nodes to build your graph. You can name each node for easier identification.

  3. Define Graph Structure

    • Connect nodes to create edges between them.
    • Make sure the graph is well-structured for meaningful search results.
  4. Set Start and Goal Nodes On the main interface, choose a start node and a goal (target) node.

  5. Run the Algorithm

    Click the "Run" button to see how the Greedy Best First Search algorithm navigates through the graph. The process is visually animated to help you follow the algorithm step by step.

  6. Experiment and Iterate

    Not satisfied with the results? You can easily modify the graph, change the heuristic values, or adjust the nodes and connections to explore different scenarios.

Tech Stack πŸ› οΈ

Component Tools
Styling Daisy UI
Graph visualization D3
JavaScript framework AlpineJS

About

Interactive visualization of the Greedy Best First Search πŸ”Ž algorithm with customizable graph creation and step-by-step animation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published