namespace SpriteCompiler.AI
{
using System;
///
///
///
/// Action on a node
/// State of the search
/// Type of the parent
/// Cost type
public interface ISearchNode : ISearchNode where C : ICost
{
A Action { get; set; }
S State { get; }
T Parent { get; }
}
///
/// Simplest representation of a seach node that just has the costs. This interface
/// is useful for certain evaluation functions
///
///
public interface ISearchNode where C : ICost
{
C PathCost { get; }
C StepCost { get; set; }
C EstCost { get; }
int Depth { get; }
}
}