@Test public void testGetGoalStack() { agent.runFor(3, RunType.DECISIONS); final List<Goal> gs = agent.getGoalStack(); assertNotNull(gs); assertEquals(4, gs.size()); final SymbolFactory syms = agent.getSymbols(); assertEquals(Arrays.asList(syms.findIdentifier('S', 1), syms.findIdentifier('S', 3), syms.findIdentifier('S', 5), syms.findIdentifier('S', 7)), Arrays.asList(gs.get(0).getIdentifier(), gs.get(1).getIdentifier(), gs.get(2).getIdentifier(), gs.get(3).getIdentifier())); }
public List<Goal> getGoalStack() { return decider.getGoalStack(); }
Agent extends AbstractAdaptable implements AgentRunController { public List<Goal> getGoalStack() { return decider.getGoalStack(); } }
Agent extends AbstractAdaptable implements AgentRunController { public List<Goal> getGoalStack() { return decider.getGoalStack(); } Agent();  Agent(boolean initializeAgent);  Agent(String name);  Agent(String name, boolean initializeAgent); }
Agent extends AbstractAdaptable implements AgentRunController { public List<Goal> getGoalStack() { return decider.getGoalStack(); } Agent();  Agent(boolean initializeAgent);  Agent(String name);  Agent(String name, boolean initializeAgent); void dispose(); String getName(); void setName(String name); DebuggerProvider getDebuggerProvider(); void setDebuggerProvider(DebuggerProvider debuggerProvider); void openDebugger(); void openDebuggerAndWait(); void initialize(); SoarCommandInterpreter getInterpreter(); void setInterpreter(SoarCommandInterpreter interp); PropertyManager getProperties(); Printer getPrinter(); Trace getTrace(); RhsFunctionManager getRhsFunctions(); MultiAttributes getMultiAttributes(); SoarEventManager getEvents(); @Deprecated SoarEventManager getEventManager(); ProductionManager getProductions(); InputOutput getInputOutput(); SymbolFactory getSymbols(); ContextVariableInfo getContextVariableInfo(String variable); Symbol readIdentifierOrContextVariable(String t); List<Goal> getGoalStack(); void printStackTrace(boolean states, boolean operators); Random getRandom(); ExecutionTimer getTotalCpuTimer(); ExecutionTimer getTotalKernelTimer(); List<ExecutionTimer> getAllTimers(); @Override Phase getStopPhase(); @Override void setStopPhase(Phase phase); void runFor(long n, RunType runType); void runForever(); void stop(); String getReasonForStop(); Phase getCurrentPhase(); Set<Wme> getAllWmesInRete(); boolean isWmeInRete(Wme wme); int getNumWmesInRete(); void printMatchSet(Printer printer, WmeTraceType wtt, EnumSet<MatchSetTraceType> mst); MatchSet getMatchSet(); LogManager getLogManager(); @Override Object getAdapter(Class<?> klass); @Override String toString(); static void main(String[] args); }
Agent extends AbstractAdaptable implements AgentRunController { public List<Goal> getGoalStack() { return decider.getGoalStack(); } Agent();  Agent(boolean initializeAgent);  Agent(String name);  Agent(String name, boolean initializeAgent); void dispose(); String getName(); void setName(String name); DebuggerProvider getDebuggerProvider(); void setDebuggerProvider(DebuggerProvider debuggerProvider); void openDebugger(); void openDebuggerAndWait(); void initialize(); SoarCommandInterpreter getInterpreter(); void setInterpreter(SoarCommandInterpreter interp); PropertyManager getProperties(); Printer getPrinter(); Trace getTrace(); RhsFunctionManager getRhsFunctions(); MultiAttributes getMultiAttributes(); SoarEventManager getEvents(); @Deprecated SoarEventManager getEventManager(); ProductionManager getProductions(); InputOutput getInputOutput(); SymbolFactory getSymbols(); ContextVariableInfo getContextVariableInfo(String variable); Symbol readIdentifierOrContextVariable(String t); List<Goal> getGoalStack(); void printStackTrace(boolean states, boolean operators); Random getRandom(); ExecutionTimer getTotalCpuTimer(); ExecutionTimer getTotalKernelTimer(); List<ExecutionTimer> getAllTimers(); @Override Phase getStopPhase(); @Override void setStopPhase(Phase phase); void runFor(long n, RunType runType); void runForever(); void stop(); String getReasonForStop(); Phase getCurrentPhase(); Set<Wme> getAllWmesInRete(); boolean isWmeInRete(Wme wme); int getNumWmesInRete(); void printMatchSet(Printer printer, WmeTraceType wtt, EnumSet<MatchSetTraceType> mst); MatchSet getMatchSet(); LogManager getLogManager(); @Override Object getAdapter(Class<?> klass); @Override String toString(); static void main(String[] args);  }