Class TrialRecord

Immutable record of a single TAC trial result.

Inheritance
TrialRecord
Implements
Namespace: MOSAIC.Components.Tests.TAC
Assembly: MOSAIC.dll
Syntax
public record TrialRecord : IEquatable<TrialRecord>

Constructors

TrialRecord(int, string, bool, double, double, double, double, int, Vector<double>?)

Immutable record of a single TAC trial result.

Declaration
public TrialRecord(int TrialNumber, string TaskName, bool Success, double CompletionTime, double InitialDistance, double PathLength, double PathEfficiency, int Overshoots, Vector<double>? TargetVector)
Parameters
Type Name Description
int TrialNumber

Sequential trial number.

string TaskName

Name of the task (from the Stimulus).

bool Success

Whether the trial was completed successfully.

double CompletionTime

Time to complete in seconds (0 if failed).

double InitialDistance

L2 distance at trial start.

double PathLength

Cumulative prediction path length during the trial.

double PathEfficiency

Ratio of initial distance to path length [0, 1].

int Overshoots

Number of times the prediction left the target zone.

Vector<double> TargetVector

The target vector for this trial.

Properties

CompletionTime

Time to complete in seconds (0 if failed).

Declaration
public double CompletionTime { get; init; }
Property Value
Type Description
double

InitialDistance

L2 distance at trial start.

Declaration
public double InitialDistance { get; init; }
Property Value
Type Description
double

Overshoots

Number of times the prediction left the target zone.

Declaration
public int Overshoots { get; init; }
Property Value
Type Description
int

PathEfficiency

Ratio of initial distance to path length [0, 1].

Declaration
public double PathEfficiency { get; init; }
Property Value
Type Description
double

PathLength

Cumulative prediction path length during the trial.

Declaration
public double PathLength { get; init; }
Property Value
Type Description
double

Success

Whether the trial was completed successfully.

Declaration
public bool Success { get; init; }
Property Value
Type Description
bool

TargetVector

The target vector for this trial.

Declaration
public Vector<double>? TargetVector { get; init; }
Property Value
Type Description
Vector<double>

TaskName

Name of the task (from the Stimulus).

Declaration
public string TaskName { get; init; }
Property Value
Type Description
string

TrialNumber

Sequential trial number.

Declaration
public int TrialNumber { get; init; }
Property Value
Type Description
int

Implements

IEquatable<T>

Search documentation

Start typing to search the documentation.