C# 클래스 Unity.MLAgents.SideChannels.StatsSideChannel

A Side Channel for sending StatsRecorder data.
상속: Unity.MLAgents.SideChannels.SideChannel
파일 보기 프로젝트 열기: Hsgngr/Pandemic_Simulation

공개 메소드들

메소드 설명
AddStat ( string key, float value, StatAggregationMethod aggregationMethod ) : void

Add a stat value for reporting.

보호된 메소드들

메소드 설명
OnMessageReceived ( Unity.MLAgents.SideChannels.IncomingMessage msg ) : void

비공개 메소드들

메소드 설명
StatsSideChannel ( ) : System

Initializes the side channel. The constructor is internal because only one instance is supported at a time.

메소드 상세

AddStat() 공개 메소드

Add a stat value for reporting.
public AddStat ( string key, float value, StatAggregationMethod aggregationMethod ) : void
key string The stat name.
value float The stat value.
aggregationMethod StatAggregationMethod How multiple values should be treated.
리턴 void

OnMessageReceived() 보호된 메소드

protected OnMessageReceived ( Unity.MLAgents.SideChannels.IncomingMessage msg ) : void
msg Unity.MLAgents.SideChannels.IncomingMessage
리턴 void