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