bayesnet.jayes.factor.opcache
Class ModuloCache
- java.lang.Object
-
- bayesnet.jayes.factor.opcache.ModuloCache
-
public class ModuloCache extends java.lang.ObjectThis class is to be used when modulo operations are performance critical, and appear in sequence such that many subsequent values would result in the same value, if divided by the divisor.
-
-
Constructor Summary
Constructors Constructor and Description ModuloCache(int divisor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intapply(int arg)
-
DataMelt 3.0 © DataMelt by jWork.ORG