C# Class AIXI.CTWContextTree

Inheritance: IModel
Afficher le fichier Open project: GoodAI/SummerCamp Class Usage Examples

Méthodes publiques

Свойство Type Description
Context List
Depth int
Root CTWContextTreeNode
TreeSize int

Méthodes publiques

Méthode 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 méthode

public CTWContextTree ( int depth ) : System
depth int
Résultat System

Clear() public méthode

public Clear ( ) : void
Résultat void

GenerateRandomSymbols() public méthode

public GenerateRandomSymbols ( int symbolCount ) : int[]
symbolCount int
Résultat int[]

GenerateRandomSymbolsAndUpdate() public méthode

public GenerateRandomSymbolsAndUpdate ( int symbolCount ) : int[]
symbolCount int
Résultat int[]

Predict() public méthode

public Predict ( int symbolList ) : double
symbolList int
Résultat double

get_model_size() public méthode

public get_model_size ( ) : int
Résultat int

print_tree() public méthode

public print_tree ( ) : void
Résultat void

revert_tree() public méthode

public revert_tree ( int symbolCount = 1 ) : void
symbolCount int
Résultat void

revert_tree_history() public méthode

public revert_tree_history ( int symbolCount ) : void
symbolCount int
Résultat void

update_context() public méthode

public update_context ( ) : void
Résultat void

update_tree() public méthode

public update_tree ( int symbolList ) : void
symbolList int
Résultat void

update_tree_history() public méthode

public update_tree_history ( int symbol ) : void
symbol int
Résultat void

Property Details

Context public_oe property

public List Context
Résultat List

Depth public_oe property

public int Depth
Résultat int

Root public_oe property

public CTWContextTreeNode,AIXI Root
Résultat CTWContextTreeNode

TreeSize public_oe property

public int TreeSize
Résultat int