code: public void updateAgentParameters(int idx, CrowdAgentParams params) {
          if (idx < 0 || idx >= m_maxAgents) {
              return;
          }
          m_agents[idx].params = params;
      }
docs: / @param[in] params The new agent configuration.