C# 클래스 social_learning.SocialAgent

상속: NeuralAgent
파일 보기 프로젝트 열기: tansey/social-learning 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DEFAULT_MEMORY_SIZE int

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
ProcessReward ( double r ) : void

메소드 상세

ProcessReward() 보호된 메소드

protected ProcessReward ( double r ) : void
r double
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SocialAgent() 공개 메소드

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
리턴 System

SocialAgent() 공개 메소드

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
리턴 System

activateNetwork() 공개 메소드

public activateNetwork ( double sensors ) : ISignalArray
sensors double
리턴 ISignalArray

activateNetworkWithoutMemory() 공개 메소드

public activateNetworkWithoutMemory ( double sensors ) : ISignalArray
sensors double
리턴 ISignalArray

프로퍼티 상세

DEFAULT_MEMORY_SIZE 공개적으로 정적으로 프로퍼티

public static int DEFAULT_MEMORY_SIZE
리턴 int