mirror of
https://github.com/lscharen/iigs-sprite-compiler.git
synced 2024-12-21 01:29:59 +00:00
18 lines
495 B
C#
18 lines
495 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>, new()
|
|
{
|
|
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)
|
|
{
|
|
}
|
|
}
|
|
}
|