FLUTTER ECOSYSTEM

RafaelBarbosatec/a_star

장애물 사이를 통해 목적지까지의 경로를 찾기 위해 A* 알고리즘을 사용하는 패키지입니다.

a_star 프로젝트 이미지
Stars
20
Forks
8
최근 푸시(UTC)
2024. 12. 20.
프로젝트 상태
활성
Rafael Almeida Barbosa GitHub avatar
GITHUB User

Rafael Almeida Barbosa ↗

Mobile Developer(Android/Flutter) In love with solutions that fit in the palm of the hand

São Paulo/São Paulo Brasil
언어DartHTMLSwiftKotlinObjective-C

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 3 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

pub package Code Quality

a_star_algorithm

https://github.com/RafaelBarbosatec/a_star/blob/main/img/example.jpg

A* algorithm

Usage

To use this package, add a_star_algorithm as a dependency in your pubspec.yaml file.

Example

void main() {
  Iterable<(int, int)> result = AStar(
    rows: 20,
    columns: 20,
    start: (5,0),
    end: (8,19),
    barriers: [
      (10,5),
      (10,6),
      (10,7),
      (10,8),
    ],
  ).findThePath();
}

Demo Online