Ejemplo n.º 1
0
        private Queue <Turn> outputQueue;//queue of utterances


        public Conversation(World w, LinguisticDictionary.LinguisticDictionary v, ConversationalParamaters paramaters)
        {
            world                    = w;
            vocabDictionary          = v;
            conversationalParamaters = paramaters;

            r                  = new Random();
            topicQueue         = new Queue <Topic>();
            adjacencyPairRoot  = new ProductionLayers.AdjacencyPairs.AdjacencyPair();
            adjacencyPairQueue = new Queue <ProductionLayers.AdjacencyPairs.AdjacencyPair>();
            MovesQueue         = new Queue <MovesQueueItem>();
            outputQueue        = new Queue <Turn>();

            initQUD(); //place greeting sequence, if appropriate
            go();      //immediately begin processing
        }
        public Conversation conversation;//may need to make this a list of conversations if multiples convos are going on at once
        //private list of recent conversations and utterances

        public DialogueGenerator(WorldEngine wm)
        {
            worldManager    = wm;
            vocabDictionary = new LinguisticDictionary.LinguisticDictionary();
        }