mirror of
https://github.com/lscharen/iigs-sprite-compiler.git
synced 2024-10-14 00:23:39 +00:00
15 lines
474 B
C#
15 lines
474 B
C#
namespace SpriteCompiler.AI
|
|
{
|
|
using System.Collections.Generic;
|
|
|
|
public interface ISearch<A, S, T, C>
|
|
where T : ISearchNode<A, S, T, C>
|
|
where C : ICost<C>
|
|
{
|
|
/// Perform a new search on the specified search problem using the given
|
|
/// initial state as a starting point. The method will return an empty
|
|
/// list on failure.
|
|
IEnumerable<T> Search(ISearchProblem<A, S, C> problem, S initialState);
|
|
}
|
|
}
|