AIXI.CTWContextTreeFast.update_node C# (CSharp) Méthode

update_node() public méthode

public update_node ( int index, int symbol ) : void
index int
symbol int
Résultat void
        public void update_node(int index, int symbol)
        {
            this.Nodes[index].LogKt += this.LogKtMultiplier(index, symbol);
            this.UpdateLogProbability(index);
            if (symbol == 0)
            {
                this.Nodes[index].NumberOf0S += 1;
            }
            else if (symbol == 1)
            {
                this.Nodes[index].NumberOf1S += 1;
            }
        }