public void Context() { Evaluator = new DirectGenomeEvaluator("r+**aabb"); Parameters = new Dictionary<string, double> { {"a", 1.0}, {"b", 1.0} }; Because(); }
public double ScoreThis(string genome) { var genomeEvaluator = new DirectGenomeEvaluator(genome); //new GenomeConverter().Convert(genome); _Parameters = new Dictionary<string, double>() {{"a", 0.0}, {"b", 0.0}}; var score = _GetScoreByInferenceOfRules(genomeEvaluator); //var score = _GetScoreByEvaluatingClosenessToRealDeal(genomeEvaluator); return score; }
public void Context() { Evaluator = new DirectGenomeEvaluator("+*b*aba*ab"); Parameters = new Dictionary<string, double> { {"a", 2.0}, {"b", 3.0} }; Because(); }