Ejemplo n.º 1
0
 /// <inheritdoc />
 public void RequestDecision(AgentInfo info, List <ISensor> sensors)
 {
     m_AgentId = info.episodeId;
     m_Communicator?.PutObservations(m_FullyQualifiedBehaviorName, info, sensors);
 }
 /// <summary>
 /// Forwards AgentInfo to Demonstration Store.
 /// </summary>
 public void WriteExperience(AgentInfo info)
 {
     m_DemoStore.Record(info);
 }
Ejemplo n.º 3
0
 /// <inheritdoc />
 public void RequestDecision(AgentInfo info, List <ISensor> sensors)
 {
     m_AgentId = info.episodeId;
     m_ModelRunner?.PutObservations(info, sensors);
 }
Ejemplo n.º 4
0
 /// <inheritdoc />
 public void RequestDecision(AgentInfo info, List <ISensor> sensors)
 {
     m_LastDecision = m_Heuristic.Invoke();
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Adds the data of an agent to the current batch so it will be processed in DecideAction.
 /// </summary>
 /// <param name="agent"></param>
 /// <param name="info"></param>
 public void SendState(Agent agent, AgentInfo info)
 {
     LazyInitialize();
     agentInfos.Add(agent, info);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Forwards AgentInfo to Demonstration Store.
 /// </summary>
 public void WriteExperience(AgentInfo info, List <Observation> observations)
 {
     m_DemoStore.Record(info, observations);
 }
 /// <summary>
 /// Forwards AgentInfo to Demonstration Store.
 /// </summary>
 public void WriteExperience(AgentInfo info, List <ISensor> sensors)
 {
     m_DemoStore.Record(info, sensors);
 }