Esempio n. 1
0
 public void InitializeExpertiseTest1()
 {
     _cognitiveArchitecture.KnowledgeAndBeliefs.HasInitialKnowledge = true;
     _knowledgeModel.AddKnowledge(_knowledge.EntityId, new float[] { 0 }, 0, -1);
     _knowledgeModel.InitializeExpertise(0);
     Assert.IsNotNull(_knowledgeModel.GetActorKnowledge(_knowledge.EntityId).KnowledgeBits);
 }
Esempio n. 2
0
 /// <summary>
 ///     Customize the models of the agent
 ///     After setting the Agent basics models
 /// </summary>
 public override void SetModels()
 {
     base.SetModels();
     KnowledgeModel.AddKnowledge(((ExampleEnvironment)Environment).ExampleMainOrganization.Knowledge.EntityId,
                                 KnowledgeLevel.Expert,
                                 Cognitive.InternalCharacteristics);
 }
Esempio n. 3
0
 /// <summary>
 ///     Customize the models of the agent
 ///     After setting the Agent basics models
 /// </summary>
 public override void SetModels()
 {
     base.SetModels();
     foreach (var knowledgeId in Environment.MainOrganization.ArtifactNetwork.Knowledge.GetEntityIds())
     {
         KnowledgeModel.AddKnowledge(knowledgeId, MainOrganization.KnowledgeLevel,
                                     Cognitive.InternalCharacteristics);
     }
 }
Esempio n. 4
0
 /// <summary>
 ///     Customize the models of the agent
 ///     After setting the Agent basics models
 /// </summary>
 public override void SetModels()
 {
     base.SetModels();
     foreach (var knowledgeId in Environment.MainOrganization.ArtifactNetwork.Knowledge.GetEntityIds())
     {
         KnowledgeModel.AddKnowledge(knowledgeId, KnowledgeLevel.FullKnowledge,
                                     Cognitive.InternalCharacteristics);
         BeliefsModel.AddBeliefFromKnowledgeId(knowledgeId, Cognitive.KnowledgeAndBeliefs.DefaultBeliefLevel);
     }
 }
Esempio n. 5
0
 /// <summary>
 ///     Customize the models of the agent
 ///     After setting the Agent basics models
 /// </summary>
 public override void SetModels()
 {
     base.SetModels();
     KnowledgeModel.AddKnowledge(MainOrganization.Knowledge.EntityId,
                                 MainOrganization.KnowledgeLevel, Cognitive.InternalCharacteristics);
 }