Example #1
0
        public void AddContentToLongTermMemory(MemoryItem commonKnowledgeContent)
        {
            if (commonKnowledgeContent == null)
            {
                return;
            }

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

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

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

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