Ejemplo n.º 1
0
 /// <inheritdoc cref="Analyzer{S,M}.ToFailureMetric"/>
 public override DoubleMetric ToFailureMetric(Exception e) =>
 AnalyzersExt.MetricFromFailure(e, "MutualInformation", string.Join(',', Columns),
                                MetricEntity.Multicolumn);
Ejemplo n.º 2
0
 /// <inheritdoc cref="Analyzer{S,M}.ToFailureMetric"/>
 public override DoubleMetric ToFailureMetric(Exception e) =>
 AnalyzersExt.MetricFromFailure(e, Name, Instance, _metricEntity);
Ejemplo n.º 3
0
 /// <summary>
 /// Converts an <see cref="Exception"/> to a <see cref="DoubleMetric"/>.
 /// </summary>
 /// <param name="exception">The exception to convert into <see cref="DoubleMetric"/>.</param>
 /// <returns>The instance of type <see cref="DoubleMetric"/>  that represents the exception.</returns>
 public override DoubleMetric ToFailureMetric(Exception exception) =>
 AnalyzersExt.MetricFromFailure(exception, Name, string.Join(',', Columns),
                                AnalyzersExt.EntityFrom(Columns));