C# Class social_learning.Predator

Inheritance: Agent
Show file Open project: tansey/social-learning Class Usage Examples

Public Methods

Method Description
Predator ( int id, int attackType ) : System
Reset ( ) : void

Protected Methods

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

Method Details

Predator() public method

public Predator ( int id, int attackType ) : System
id int
attackType int
return System

ProcessReward() protected method

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

Reset() public method

public Reset ( ) : void
return void

getRotationAndVelocity() protected method

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