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.
Original issue reported on code.google.com by bob.mari...@soartech.com on 25 Jul 2013 at 6:50
Original issue reported on code.google.com by
bob.mari...@soartech.com
on 25 Jul 2013 at 6:50