C# Class social_learning.SocialAgent

Inheritance: NeuralAgent
Afficher le fichier Open project: tansey/social-learning Class Usage Examples

Méthodes publiques

Свойство Type Description
DEFAULT_MEMORY_SIZE int

Méthodes publiques

Méthode Description
Reset ( ) : void
SocialAgent ( int id, int speciesId, IBlackBox brain, bool agentsNavigate, bool agentsHide, IAcceptabilityFunction accept ) : System

Constructs a social learning teacher controlled by the brain and using the give acceptability function.

SocialAgent ( int id, int speciesId, IBlackBox brain, bool agentsNavigate, bool agentsHide, Predicate accept ) : System

Constructs a social teacher using a lambda function for the acceptability function.

activateNetwork ( double sensors ) : ISignalArray
activateNetworkWithoutMemory ( double sensors ) : ISignalArray

Méthodes protégées

Méthode Description
ProcessReward ( double r ) : void

Method Details

ProcessReward() protected méthode

protected ProcessReward ( double r ) : void
r double
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SocialAgent() public méthode

Constructs a social learning teacher controlled by the brain and using the give acceptability function.
public SocialAgent ( int id, int speciesId, IBlackBox brain, bool agentsNavigate, bool agentsHide, IAcceptabilityFunction accept ) : System
id int
speciesId int
brain IBlackBox
agentsNavigate bool
agentsHide bool
accept IAcceptabilityFunction
Résultat System

SocialAgent() public méthode

Constructs a social teacher using a lambda function for the acceptability function.
public SocialAgent ( int id, int speciesId, IBlackBox brain, bool agentsNavigate, bool agentsHide, Predicate accept ) : System
id int
speciesId int
brain IBlackBox
agentsNavigate bool
agentsHide bool
accept Predicate
Résultat System

activateNetwork() public méthode

public activateNetwork ( double sensors ) : ISignalArray
sensors double
Résultat ISignalArray

activateNetworkWithoutMemory() public méthode

public activateNetworkWithoutMemory ( double sensors ) : ISignalArray
sensors double
Résultat ISignalArray

Property Details

DEFAULT_MEMORY_SIZE public_oe static_oe property

public static int DEFAULT_MEMORY_SIZE
Résultat int