Ejemplo n.º 1
0
 public SpamHeuristicGroup(HeuristicAggregateMethod aggregateMethod, params SpamHeuristic[] heuristics)
 {
     Heuristics = heuristics.ToDictionary(d => d, d => 1f);
 }
Ejemplo n.º 2
0
 public SpamHeuristicGroup(HeuristicAggregateMethod aggregateMethod = HeuristicAggregateMethod.Sum)
 {
     Heuristics      = new Dictionary <SpamHeuristic, float>();
     AggregateMethod = aggregateMethod;
 }