/// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="EnumToIntOp{TEnum}"]/message_doc[@name="LogAverageFactor(int, TEnum)"]/*'/> public static double LogAverageFactor(int Int, TEnum Enum) { return((EnumSupport.EnumToInt(Enum) == Int) ? 0.0 : Double.NegativeInfinity); }
/// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="DiscreteEnumFromDirichletOp{TEnum}"]/message_doc[@name="ProbsAverageLogarithm(TEnum, Dirichlet)"]/*'/> public static Dirichlet ProbsAverageLogarithm(TEnum sample, Dirichlet result) { return(DiscreteFromDirichletOp.ProbsAverageLogarithm(EnumSupport.EnumToInt(sample), result)); }
/// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="DiscreteEnumFromDirichletOp{TEnum}"]/message_doc[@name="LogEvidenceRatio(TEnum, Vector)"]/*'/> public static double LogEvidenceRatio(TEnum sample, Vector probs) { return(DiscreteFromDirichletOp.LogEvidenceRatio(EnumSupport.EnumToInt(sample), probs)); }
/// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="DiscreteEnumFromDirichletOp{TEnum}"]/message_doc[@name="ProbsAverageConditional(TEnum, Dirichlet)"]/*'/> public static Dirichlet ProbsAverageConditional(TEnum sample, Dirichlet result) { return(DiscreteFromDirichletOp.ProbsAverageConditional(EnumSupport.EnumToInt(sample), result)); }
/// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="DiscreteEnumFromDirichletOp{TEnum}"]/message_doc[@name="AverageLogFactor(TEnum, Vector)"]/*'/> public static double AverageLogFactor(TEnum sample, Vector probs) { return(DiscreteFromDirichletOp.AverageLogFactor(EnumSupport.EnumToInt(sample), probs)); }