using AIMA.Agent.Action; using AIMA.Agent.Percept; using System.Collections.Generic; namespace AIMA.Agent.Program { public class TableDrivenAgentProgram : IAgentProgram where T1: IAction where T2:IPercept { private IList Percepts { get;init; } = new List(); //private Table, System.String, Action> table; private const string ACTION = "action"; public T1 Execute(T2 percept) { // append percept to end of percepts Percepts.Add(percept); // action <- LOOKUP(percepts, table) // return action //return LookupCurrentAction(); return default; } } }