Exemplo n.º 1
0
 /// <summary>
 /// Sets eligibility trace value
 /// </summary>
 /// <param name="s">The state</param>
 /// <param name="a">The action</param>
 /// <param name="e">The eligibility value to be updated</param>
 protected void __set_elig_value(State s, VVal e) { var sig = s; if (!this.EligTable.Contains(sig)) this.EligTable.Add(sig, e); else this.EligTable[sig] = e; }
Exemplo n.º 2
0
 /// <summary>
 /// Sets eligibility trace value
 /// </summary>
 /// <param name="s">The state</param>
 /// <param name="a">The action</param>
 /// <param name="e">The eligibility value to be updated</param>
 protected virtual void __set_u_value(State s, VVal e) { var sig = s; if (!this.UTable.Contains(sig)) this.UTable.Add(sig, e); else this.UTable[sig] = e; }