mirror of
https://github.com/lscharen/iigs-sprite-compiler.git
synced 2024-12-21 01:29:59 +00:00
15 lines
350 B
C#
15 lines
350 B
C#
namespace SpriteCompiler.AI
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public interface ISearchProblem<A, S, C>
|
|
where C : IComparable<C>
|
|
{
|
|
IEnumerable<Tuple<A, S>> Successors(S state);
|
|
bool IsGoal(S state);
|
|
C StepCost(S fromState, A action, S toState);
|
|
C Heuristic(S state);
|
|
}
|
|
}
|