Documentation of 'cc.mallet.fst.CRFCacheStaleIndicator' Java class
CRFCacheStaleIndicator
cc.mallet.fst

Class CRFCacheStaleIndicator

  • All Implemented Interfaces:
    CacheStaleIndicator


    public class CRFCacheStaleIndicator
    extends java.lang.Object
    implements CacheStaleIndicator
    Indicates when the value/gradient becomes stale based on updates to CRF's parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean isGradientStale()
      Returns true if the gradient is stale, also updates the cacheGradientStamp.
      boolean isValueStale()
      Returns true if the value is stale, also updates the cacheValueStamp.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CRFCacheStaleIndicator

        public CRFCacheStaleIndicator(CRF crf)
    • Method Detail

      • isValueStale

        public boolean isValueStale()
        Returns true if the value is stale, also updates the cacheValueStamp.
        Specified by:
        isValueStale in interface CacheStaleIndicator
      • isGradientStale

        public boolean isGradientStale()
        Returns true if the gradient is stale, also updates the cacheGradientStamp.
        Specified by:
        isGradientStale in interface CacheStaleIndicator

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.