Class ClockBDI


  • public class ClockBDI
    extends java.lang.Object
    Belief with update rate.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.text.SimpleDateFormat formatter
      The date formatter.
      protected long time
      The current time.
    • Constructor Summary

      Constructors 
      Constructor Description
      ClockBDI()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IFuture<java.lang.Void> body​(IInternalAccess agent)
      The agent body.
      protected void printTime()
      Plan that prints the time.
      • Methods inherited from class java.lang.Object

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

      • time

        protected long time
        The current time.
      • formatter

        public java.text.SimpleDateFormat formatter
        The date formatter.
    • Constructor Detail

      • ClockBDI

        public ClockBDI()
    • Method Detail

      • printTime

        protected void printTime()
        Plan that prints the time.