Exemplo n.º 1
0
 //Used only for the root because it does not have ancestor
 public NodeTargetCategorical()
     : base()
 {
     //Fill the TargetCategoricalCases
     TargetClasses = new TargetCategoricalClass(Def.Schema.Target, this);
     //Fills the TargetCases
     ImpCalc();
     if (Def.ExperimentRunning)
         return;
     UI = new NodeTargetCategoricalUI(this);
 }
Exemplo n.º 2
0
 public NodeTargetCategorical(Node ancestor)
     : base(ancestor)
 {
     //Fill the TargetCategoricalCases
     TargetClasses = new TargetCategoricalClass(Def.Schema.Target, this);
     //Imp = ancestor.DescendentImpPreCalculated[ancestor.DescendentLst.Count - 1];
     ImpCalc(); // Outdated use the PreCalculated
     UpdateLevelLst(this);
     if (Def.ExperimentRunning)
         return;
     UI = new NodeTargetCategoricalUI(this);
 }