C# Class AIXI.CTWContextTree

Inheritance: IModel
Show file Open project: GoodAI/SummerCamp Class Usage Examples

Public Properties

Property Type Description
Context List
Depth int
Root CTWContextTreeNode
TreeSize int

Public Methods

Method Description
CTWContextTree ( int depth ) : System
Clear ( ) : void
GenerateRandomSymbols ( int symbolCount ) : int[]
GenerateRandomSymbolsAndUpdate ( int symbolCount ) : int[]
Predict ( int symbolList ) : double
get_model_size ( ) : int
print_tree ( ) : void
revert_tree ( int symbolCount = 1 ) : void
revert_tree_history ( int symbolCount ) : void
update_context ( ) : void
update_tree ( int symbolList ) : void
update_tree_history ( int symbol ) : void

Method Details

CTWContextTree() public method

public CTWContextTree ( int depth ) : System
depth int
return System

Clear() public method

public Clear ( ) : void
return void

GenerateRandomSymbols() public method

public GenerateRandomSymbols ( int symbolCount ) : int[]
symbolCount int
return int[]

GenerateRandomSymbolsAndUpdate() public method

public GenerateRandomSymbolsAndUpdate ( int symbolCount ) : int[]
symbolCount int
return int[]

Predict() public method

public Predict ( int symbolList ) : double
symbolList int
return double

get_model_size() public method

public get_model_size ( ) : int
return int

print_tree() public method

public print_tree ( ) : void
return void

revert_tree() public method

public revert_tree ( int symbolCount = 1 ) : void
symbolCount int
return void

revert_tree_history() public method

public revert_tree_history ( int symbolCount ) : void
symbolCount int
return void

update_context() public method

public update_context ( ) : void
return void

update_tree() public method

public update_tree ( int symbolList ) : void
symbolList int
return void

update_tree_history() public method

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

Property Details

Context public property

public List Context
return List

Depth public property

public int Depth
return int

Root public property

public CTWContextTreeNode,AIXI Root
return CTWContextTreeNode

TreeSize public property

public int TreeSize
return int