Exemplo n.º 1
0
        static void Main(string[] args)
        {
            SoarIMPRINTPlugin.Scope scope = new Scope();
            if (Scope.InitializeKernel())
            {
                Console.WriteLine("created kernel");
            }
            else
            {
                Console.WriteLine("Failed to create kernel");
            }

            scope.InitializeAgent("..\\..\\..\\..\\TestAgent\\test-agent.soar");
            scope.SetInput("text", "blurg");
            scope.RunAgent(3);
            string resp = scope.GetOutput("response", "text");

            Console.WriteLine(resp);

            Console.ReadLine();
        }