social_learning.SocialAgent.SocialAgent C# (CSharp) Méthode

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
        public SocialAgent(int id, int speciesId, IBlackBox brain, bool agentsNavigate, bool agentsHide,
                           IAcceptabilityFunction accept) : base(id, speciesId, brain, agentsNavigate, agentsHide)
        {
            MemorySize = DEFAULT_MEMORY_SIZE;
            Memory = new LinkedList<StateActionReward>();
            LearningRate = DEFAULT_LEARNING_RATE;
            Momentum = DEFAULT_MOMENTUM_RATE;
            AcceptabilityFn = accept;
        }

Same methods

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