Issue 145 in soar: sml.Agent.getDecisionCycleCounter() returns wrong value

0 views
Skip to first unread message

so...@googlecode.com

unread,
Jul 25, 2013, 2:50:41 PM7/25/13
to soar-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 145 by bob.mari...@soartech.com:
sml.Agent.getDecisionCycleCounter() returns wrong value
http://code.google.com/p/soar/issues/detail?id=145

sml.Agent.getDecisionCycleCounter() appears to be linked to the decision
phase counter, not the decision cycle counter.

Specifically, sml::Agent::getDecisionCycleCounter() (in
sml_ClientAgent.cpp) calls (via an sml::Connection)
KernelXML::HandleGetRunState with sml_Names::kParamDecision (in
sml_KernelSMLHandlers.cpp), which calls AgentSML::GetNumDecisionsExecuted()
(in sml_AgentSML.cpp) which does:

uint64_t AgentSML::GetNumDecisionsExecuted()
{
return m_agent->decision_phases_count;
}

The correct field to return is d_cycle_count.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages