a-star-algorithm
a-star-algorithm copied to clipboard
C++实现的高效A*算法
使用示例时,auto path = algorithm.find(param); 怎么显示vector里得数据?
我的命令是:g++ -std=c++11 main.c -o main /tmp/ccXS7Q7e.o:在函数‘main’中: main.cpp:(.text+0x3ca):对‘BlockAllocator::BlockAllocator()’未定义的引用 main.cpp:(.text+0x3e3):对‘AStar::AStar(BlockAllocator*)’未定义的引用 main.cpp:(.text+0x403):对‘AStar::find(AStar::Params const&)’未定义的引用 main.cpp:(.text+0x426):对‘AStar::~AStar()’未定义的引用 main.cpp:(.text+0x435):对‘BlockAllocator::~BlockAllocator()’未定义的引用 main.cpp:(.text+0x469):对‘AStar::~AStar()’未定义的引用 main.cpp:(.text+0x47d):对‘BlockAllocator::~BlockAllocator()’未定义的引用