C# Class AIXI.CTWContextTreeNode

Exibir arquivo Open project: GoodAI/SummerCamp Class Usage Examples

Public Properties

Property Type Description
Children CTWContextTreeNode>.Dictionary
LogHalf double
LogKt double
LogProbability double
NumberOf0S int
NumberOf1S int
Tree CTWContextTree

Public Methods

Method Description
CTWContextTreeNode ( CTWContextTree tree ) : System
IsLeaf ( ) : bool
LogKtMultiplier ( int symbol ) : double
Print ( int level ) : void
Revert ( int symbol ) : void
SetSymbolCount ( int symbol, int newValue ) : void
Size ( ) : int
SymbolCount ( int symbol ) : int
Update ( int symbol ) : void
UpdateLogProbability ( ) : void
Visits ( ) : int

Method Details

CTWContextTreeNode() public method

public CTWContextTreeNode ( CTWContextTree tree ) : System
tree CTWContextTree
return System

IsLeaf() public method

public IsLeaf ( ) : bool
return bool

LogKtMultiplier() public method

public LogKtMultiplier ( int symbol ) : double
symbol int
return double

Print() public method

public Print ( int level ) : void
level int
return void

Revert() public method

public Revert ( int symbol ) : void
symbol int
return void

SetSymbolCount() public method

public SetSymbolCount ( int symbol, int newValue ) : void
symbol int
newValue int
return void

Size() public method

public Size ( ) : int
return int

SymbolCount() public method

public SymbolCount ( int symbol ) : int
symbol int
return int

Update() public method

public Update ( int symbol ) : void
symbol int
return void

UpdateLogProbability() public method

public UpdateLogProbability ( ) : void
return void

Visits() public method

public Visits ( ) : int
return int

Property Details

Children public_oe property

public Dictionary Children
return CTWContextTreeNode>.Dictionary

LogHalf public_oe property

public double LogHalf
return double

LogKt public_oe property

public double LogKt
return double

LogProbability public_oe property

public double LogProbability
return double

NumberOf0S public_oe property

public int NumberOf0S
return int

NumberOf1S public_oe property

public int NumberOf1S
return int

Tree public_oe property

public CTWContextTree,AIXI Tree
return CTWContextTree