C# Class social_learning.NeuralAgent

Inheritance: ForagingAgent
Datei anzeigen Open project: tansey/social-learning Class Usage Examples

Public Methods

Method Description
NeuralAgent ( int id, int speciesId, IBlackBox brain, bool navigationEnabled, bool hidingEnabled ) : System
Reset ( ) : void
activateNetwork ( double sensors ) : ISignalArray

Protected Methods

Method Description
ProcessReward ( double r ) : void
getRotationAndVelocity ( double sensors ) : float[]

Method Details

NeuralAgent() public method

public NeuralAgent ( int id, int speciesId, IBlackBox brain, bool navigationEnabled, bool hidingEnabled ) : System
id int
speciesId int
brain IBlackBox
navigationEnabled bool
hidingEnabled bool
return System

ProcessReward() protected method

protected ProcessReward ( double r ) : void
r double
return void

Reset() public method

public Reset ( ) : void
return void

activateNetwork() public method

public activateNetwork ( double sensors ) : ISignalArray
sensors double
return ISignalArray

getRotationAndVelocity() protected method

protected getRotationAndVelocity ( double sensors ) : float[]
sensors double
return float[]