Пример #1
0
 //public ExamineExamplesDataGridItem(ExaminableExample examinedExample, ProductionRule productionRule, ArguedLearnableExample arguedExample) : this()
 public ExamineExamplesDataGridItem(ExaminableExample examinedExample, ProductionRule productionRule) : this()
 {
     foreach (var attributeValue in examinedExample.AllAttributes)
     {
         PredictiveAttributeValues.Add(attributeValue.Value);
     }
     DecisiveAttributeValue = examinedExample.DecisiveAttribute.Value;
     ExaminedAttributeValue = examinedExample.ExaminedAttribute.Value;
     ProductionRule         = productionRule.GetStringValue();
     //ArguedExample = arguedExample.BecauseExpression.GetValueString();
 }
Пример #2
0
 public ExamineExamplesDataGridItem(ExaminableExample examinedExample) : this()
 {
     //todo цикл должен быть по Attributes, а установка Result должна производиться отдельно
     foreach (var attributeValue in examinedExample.AllAttributes)
     {
         PredictiveAttributeValues.Add(attributeValue.Value);
     }
     DecisiveAttributeValue = examinedExample.DecisiveAttribute.Value;
     ExaminedAttributeValue = examinedExample.ExaminedAttribute.Value;
     ProductionRule         = string.Empty;
     //ArguedExample = string.Empty;
 }