Exemplo n.º 1
0
        public void AddContentToLongTermMemory(MemoryItem commonKnowledgeContent)
        {
            if (commonKnowledgeContent == null)
            {
                return;
            }

            if (KnowledgeRandomizer == null)
            {
                KnowledgeRandomizer = new StandardKnowledgeRandomization(MyTraits);
            }

            MyMemory.AddLongTermMemoryContent(KnowledgeRandomizer.RandomizeKnowledgeItem(commonKnowledgeContent));
        }
Exemplo n.º 2
0
        public void AddContentToLongTermMemory(List <MemoryItem> commonKnowledgeContent)
        {
            if (commonKnowledgeContent == null)
            {
                return;
            }

            if (KnowledgeRandomizer == null)
            {
                KnowledgeRandomizer = new StandardKnowledgeRandomization(MyTraits);
            }

            MyMemory.AddLongTermMemoryContent(KnowledgeRandomizer.BuildRandomizedKnowledgeBase(commonKnowledgeContent));
        }