C# Class social_learning.Agent

Inheritance: WorldThingy, IAgent
Show file Open project: tansey/social-learning

Public Methods

Method Description
Agent ( int id ) : System
ReceiveReward ( double r ) : void
Step ( double sensors ) : void

Protected Methods

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

Method Details

Agent() public method

public Agent ( int id ) : System
id int
return System

ProcessReward() protected abstract method

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

ReceiveReward() public method

public ReceiveReward ( double r ) : void
r double
return void

Step() public method

public Step ( double sensors ) : void
sensors double
return void

getRotationAndVelocity() protected abstract method

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