bayesnet.jayes.factor.opcache
Class DivisionCache
- java.lang.Object
-
- bayesnet.jayes.factor.opcache.DivisionCache
-
public class DivisionCache extends java.lang.ObjectThis class is to be used when divisions are a performance-critical part of the code, and the sequence of divisions is such that many subsequent divisions will have the same result (using the same divisor).
-
-
Constructor Summary
Constructors Constructor and Description DivisionCache(int divisor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intapply(int arg)booleanisInCache(int arg)
-
DataMelt 3.0 © DataMelt by jWork.ORG