Documentation of 'bayesnet.jayes.factor.FactorFactory' Java class
FactorFactory
bayesnet.jayes.factor

Class FactorFactory



  • public class FactorFactory
    extends java.lang.Object
    • Constructor Detail

      • FactorFactory

        public FactorFactory()
    • Method Detail

      • setFloatingPointType

        public void setFloatingPointType(java.lang.Class<?> contentType)
        sets the floating point precision to use.
        Parameters:
        contentType - possible values: double.class, Double.class, float.class, Float.class
      • setReferenceNetwork

        public void setReferenceNetwork(BayesNet net)
      • getReferenceNetwork

        public BayesNet getReferenceNetwork()
      • setUseLogScale

        public void setUseLogScale(boolean useLogScale)
        using logarithmic values for computation is a lot slower, but also a lot more numerically stable
      • create

        public AbstractFactor create(java.util.List<java.lang.Integer> vars,
                                     java.util.List<AbstractFactor> multiplicationPartners)
        creates a factor, the class of which is dependent on different criteria defined in the concrete subclasses. The default behavior is to return a DenseFactor.
        Parameters:
        vars -
        multiplicationPartners -
        Returns:

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.