Class DoubleTime

  • All Implemented Interfaces:
    it.unibo.alchemist.model.Time , java.io.Serializable , java.lang.Comparable

    
    public final class DoubleTime
     implements Time
                        

    This class is meant to provide a reasonably fast time implementation. Should be suitable for most usages, but it inherits the problem of the loss of precision of double numbers when comparing big numbers with low numbers. It could become a real problem with long simulations.