Class ProsocialTimestampedRecord
Represents a single timestamped record of prosocial interaction data between two actors,
capturing the safety (si), effort (Ei), and yield (ysi) scores for
one time step in the prosocial metric calculation.
[Serializable]
public class ProsocialTimestampedRecord : TimeStampedRecord
Inheritance
Inherited Members
TimeStampedRecord.unixTimestamp
Constructors
ProsocialTimestampedRecord(string, string, int, float, float, float, float, float)
Initializes a new instance of the ProsocialTimestampedRecord class with specified data.
public ProsocialTimestampedRecord(string ActorAName, string ActorBName, int index, float gi, float ei, float si, float effort, float ysi)
Parameters
| Name | Type | Description |
|---|---|---|
ActorAName | string | Name of Actor A. |
ActorBName | string | Name of Actor B. |
index | int | Time step index for this record. |
gi | float | Angle gi used in safety score calculation. |
ei | float | Angle ei used in safety score calculation. |
si | float | Safety score at this time step. |
effort | float | Effort value at this time step. |
ysi | float | Yield (prosocial) score at this time step. |