ValueTableParameterSource<T>

Models & Types · AiDotNet.ReinforcementLearning.Parameters

Exposes a state-value table (Dictionary<string, T>) as a parameter source, for the agents that learn V(s) rather than Q(s, a).

Implements: IParameterSource<T>, IParameterTopologySource

How It Works

Held by reference and enumerated in dictionary order, for the same reasons as QTableParameterSource.

Constructors

Constructor Summary
ValueTableParameterSource(Dictionary<string, T> table) Wraps table.

Properties

Property Summary
long ParameterCount { get; }

Methods

Method Summary
Vector<T> GetParameters()
void ReadParameterTopology(BinaryReader reader)
void SetParameters(Vector<T> parameters)
void WriteParameterTopology(BinaryWriter writer)