Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implementation of some pathfinding and multi-agent pathfinding algorithms

License

NotificationsYou must be signed in to change notification settings

w9PcJLyb/w9-pathfinding

Repository files navigation

W9-Pathfinding is a versatile pathfinding library written in C++ with a Python interface provided by Cython. It offers a variety of pathfinding algorithms for navigating different types of maps, including grids, graphs, and 3D spaces. The library includes both classic pathfinding algorithms and multi-agent pathfinding algorithms.

Full documentation is available at:https://w9-pathfinding.readthedocs.io/stable

Apache-2.0 licensePyPI

Key Features:

  • Supports multiple environments: graphs, 2D/3D grids, and hexagonal grids
  • Works with both weighted and unweighted environments
  • Includes classical pathfinding algorithms (BFS, Dijkstra, A*, etc.)
  • Includes multi-agent pathfinding algorithms (CBS, ICTS, WHCA*, and more)
  • Supports pathfinding with dynamic obstacles
  • Built-in visualization tools for debugging and demonstrations

Quick start:

fromw9_pathfinding.envsimportGridfromw9_pathfinding.pfimportDijkstragrid=Grid(width=4,height=3)grid.add_obstacle((1,1))finder=Dijkstra(grid)path=finder.find_path((0,0), (3,2))print(path)

See more examples in theUsage Guide.

Installation:

pip install w9-pathfinding

About

Implementation of some pathfinding and multi-agent pathfinding algorithms

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp