Exemplo n.º 1
0
 /// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="StringCharConcatOp"]/message_doc[@name="LogEvidenceRatio(String, StringDistribution, DiscreteChar)"]/*'/>
 public static double LogEvidenceRatio(string concat, StringDistribution str, DiscreteChar ch)
 {
     return(StringConcatOp.LogEvidenceRatio(concat, str, StringDistribution.Char(ch)));
 }
Exemplo n.º 2
0
 /// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="StringCharConcatOp"]/message_doc[@name="LogAverageFactor(StringDistribution, StringDistribution, DiscreteChar)"]/*'/>
 public static double LogAverageFactor(StringDistribution concat, StringDistribution str, DiscreteChar ch)
 {
     return(StringConcatOp.LogAverageFactor(concat, str, StringDistribution.Char(ch)));
 }
Exemplo n.º 3
0
 /// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="StringCharConcatOp"]/message_doc[@name="StrAverageConditional(StringDistribution, DiscreteChar)"]/*'/>
 public static StringDistribution StrAverageConditional(StringDistribution concat, DiscreteChar ch)
 {
     return(StringConcatOp.Str1AverageConditional(concat, StringDistribution.Char(ch)));
 }
Exemplo n.º 4
0
        /// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="StringCharConcatOp"]/message_doc[@name="ChAverageConditional(StringDistribution, StringDistribution)"]/*'/>
        public static DiscreteChar ChAverageConditional(StringDistribution concat, StringDistribution str)
        {
            var result = StringConcatOp.Str2AverageConditional(concat, str);

            return(SingleOp.CharacterAverageConditional(result));
        }
Exemplo n.º 5
0
 /// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="StringCharConcatOp"]/message_doc[@name="ConcatAverageConditional(StringDistribution, DiscreteChar)"]/*'/>
 public static StringDistribution ConcatAverageConditional(StringDistribution str, DiscreteChar ch)
 {
     return(StringConcatOp.ConcatAverageConditional(str, StringDistribution.Char(ch)));
 }