Class TranslationBDI


  • public class TranslationBDI
    extends java.lang.Object
    The translation agent E3. Uses a maintain goal to limit the number of entries in its database.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  TranslationBDI.MaintainStorageGoal
      Maintain goal that ensures that only maxstorage number of entries are in the table wordtable.
    • Constructor Summary

      Constructors 
      Constructor Description
      TranslationBDI()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void body()
      The agent body.
      protected void removeEntry()
      Removal plan that remove one entry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • wordtable

        protected java.util.Map<java.lang.String,​java.lang.String> wordtable
        The map of words.
    • Constructor Detail

      • TranslationBDI

        public TranslationBDI()
    • Method Detail

      • body

        public void body()
        The agent body.
      • removeEntry

        protected void removeEntry()
        Removal plan that remove one entry.