Property | Type | Description | |
---|---|---|---|
CacheMultipliersBellow | int | ||
Context | List |
||
Depth | int | ||
FirstFreeIndex | int | ||
FreeIndices | Queue |
||
Multipliers | ].double[ | ||
Nodes | AIXI.CtNode[] | ||
RootI | int | ||
TreeSize | int |
Method | Description | |
---|---|---|
CTWContextTreeFast ( int depth ) : System | ||
Clear ( ) : void | ||
CreateNewNode ( ) : int | ||
FreeIfUnvisited ( int index ) : bool | ||
FreeNode ( int index ) : void | ||
FreeSubtree ( int index ) : void | ||
GenerateRandomSymbols ( int symbolCount ) : int[] | ||
GenerateRandomSymbolsAndUpdate ( int symbolCount ) : int[] | ||
GetFreeIndex ( ) : int | ||
IsLeaf ( int index ) : bool | ||
LogKtMultiplier ( int index, int symbol ) : double | ||
Predict ( int symbolList ) : double | ||
Resize ( ) : void | ||
SameNode ( int meI, |
||
SetSymbolCount ( int index, int symbol, int newValue ) : void | ||
SymbolCount ( int index, int symbol ) : int | ||
UpdateLogProbability ( int index ) : void | ||
Visits ( int index ) : int | ||
compare ( |
||
compare ( int meI, |
||
get_model_size ( ) : int | ||
print_node ( int nodeIndex = -1, int level ) : void | ||
print_tree ( ) : void | ||
revert_node ( int index, int symbol ) : void | ||
revert_tree ( int symbolCount = 1 ) : void | ||
revert_tree_history ( int symbolCount ) : void | ||
subtree_size ( int index ) : int | ||
update_context ( ) : void | ||
update_node ( int index, int symbol ) : void | ||
update_tree ( int symbolList ) : void | ||
update_tree_history ( int symbol ) : void |
public CTWContextTreeFast ( int depth ) : System | ||
depth | int | |
return | System |
public GenerateRandomSymbols ( int symbolCount ) : int[] | ||
symbolCount | int | |
return | int[] |
public GenerateRandomSymbolsAndUpdate ( int symbolCount ) : int[] | ||
symbolCount | int | |
return | int[] |
public LogKtMultiplier ( int index, int symbol ) : double | ||
index | int | |
symbol | int | |
return | double |
public SameNode ( int meI, |
||
meI | int | |
he | ||
return | bool |
public SetSymbolCount ( int index, int symbol, int newValue ) : void | ||
index | int | |
symbol | int | |
newValue | int | |
return | void |
public SymbolCount ( int index, int symbol ) : int | ||
index | int | |
symbol | int | |
return | int |
public UpdateLogProbability ( int index ) : void | ||
index | int | |
return | void |
public compare ( |
||
other | ||
return | bool |
public compare ( int meI, |
||
meI | int | |
he | ||
return | bool |
public print_node ( int nodeIndex = -1, int level ) : void | ||
nodeIndex | int | |
level | int | |
return | void |
public revert_node ( int index, int symbol ) : void | ||
index | int | |
symbol | int | |
return | void |
public revert_tree ( int symbolCount = 1 ) : void | ||
symbolCount | int | |
return | void |
public revert_tree_history ( int symbolCount ) : void | ||
symbolCount | int | |
return | void |
public update_node ( int index, int symbol ) : void | ||
index | int | |
symbol | int | |
return | void |
public update_tree_history ( int symbol ) : void | ||
symbol | int | |
return | void |