コード例 #1
0
ファイル: SpamHeuristicGroup.cs プロジェクト: jmazouri/LOIBC
 public SpamHeuristicGroup(HeuristicAggregateMethod aggregateMethod, params SpamHeuristic[] heuristics)
 {
     Heuristics = heuristics.ToDictionary(d => d, d => 1f);
 }
コード例 #2
0
ファイル: SpamHeuristicGroup.cs プロジェクト: jmazouri/LOIBC
 public SpamHeuristicGroup(HeuristicAggregateMethod aggregateMethod = HeuristicAggregateMethod.Sum)
 {
     Heuristics      = new Dictionary <SpamHeuristic, float>();
     AggregateMethod = aggregateMethod;
 }