mirror of
https://github.com/lscharen/iigs-sprite-compiler.git
synced 2024-08-20 08:29:17 +00:00
18 lines
488 B
C#
18 lines
488 B
C#
namespace SpriteCompiler.AI
|
|
{
|
|
public class AStarSearch<A, S, T, C> : BestFirstSearch<A, S, T, C>
|
|
where T : HeuristicSearchNode<A, S, T, C>
|
|
where C : IPathCost<C>
|
|
{
|
|
public AStarSearch(AbstractAISearch<A, S, T, C> search)
|
|
: base(search) // , new AStarComparator<A, S, T, C>())
|
|
{
|
|
}
|
|
|
|
public AStarSearch(AbstractAISearch<A, S, T, C> search, IQueue<T> fringe)
|
|
: base(search, fringe)
|
|
{
|
|
}
|
|
}
|
|
}
|