Greedy Best-First Search Calculator

Read the Theory Guide →
Pro-Tip: Notice how the algorithm completely ignores the edge weights (cost) and blindly follows the lowest heuristic!, then verify it against the manual steps in theTheory Page.

How to Use?

  • Move Nodes: Click and drag the center of any circle.
  • Connect: Click and drag from a tiny gray dot to another node.
  • Delete: Select a node or line, then press Backspace .
  • Zoom & Pan: Use the mouse wheel to zoom. Click and drag the grid to pan.

Graph Type

Determine if paths act as one-way streets or two-way streets.

Loading Graph Visualizer...

Reference: Example Screenshot of a Solved Greedy Best-First Search Problem

Example of Greedy Best-First Search manual calculation steps generated by StepByStepML