C# Class GoodAI.ToyWorld.ToyWorld

A continuous 2D learning environment.
Inheritance: GoodAI.Core.Nodes.MyWorld, IMyVariableBranchViewNodeBase
ファイルを表示 Open project: GoodAI/BrainSimulator

Private Properties

Property Type Description
AddOutputs void
CleanInternal void
DetectControlMode void
GetDllDirectory string
SetDummyOutputs void
TryToyWorld void

Public Methods

Method Description
Cleanup ( ) : void
Dispose ( ) : void
GetSignalMemoryBlock ( int index ) : MyMemoryBlock

Returns memory block assigned to Signal with given index (from 0 to SignalCount)

GetSignalNode ( int index ) : MyParentInput

Returns Signal node with given index (from 0 to SignalCount)

ToyWorld ( ) : System
UpdateMemoryBlocks ( ) : void
Validate ( GoodAI.Core.Utils.MyValidator validator ) : void

Private Methods

Method Description
AddOutputs ( int branchesToAdd, string dummyName, int dummySize = 1 ) : void
CleanInternal ( ) : void
DetectControlMode ( ) : void
GetDllDirectory ( ) : string
SetDummyOutputs ( int howMany, string dummyName, int dummySize ) : void
TryToyWorld ( ) : void

Method Details

Cleanup() public method

public Cleanup ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GetSignalMemoryBlock() public method

Returns memory block assigned to Signal with given index (from 0 to SignalCount)
public GetSignalMemoryBlock ( int index ) : MyMemoryBlock
index int Index of Signal
return MyMemoryBlock

GetSignalNode() public method

Returns Signal node with given index (from 0 to SignalCount)
public GetSignalNode ( int index ) : MyParentInput
index int Index of Signal node
return MyParentInput

ToyWorld() public method

public ToyWorld ( ) : System
return System

UpdateMemoryBlocks() public method

public UpdateMemoryBlocks ( ) : void
return void

Validate() public method

public Validate ( GoodAI.Core.Utils.MyValidator validator ) : void
validator GoodAI.Core.Utils.MyValidator
return void