public Attribute(int index, List <string> istances, typeOfAttribute myType) { this.Index = index; this.attributeName = index.ToString(); this.istances = istances; this.myType = myType; }
public object Clone() { int i = Index; string name = attributeName; List <string> ist = new List <string>(istances); List <double> dob = new List <double>(numbersIstances); typeOfAttribute type = myType; return(new Attribute(i, name, ist, dob, type)); }
public Attribute(int index, string attributeName, List <string> istances, List <double> nums, typeOfAttribute myType) { this.Index = index; this.attributeName = attributeName; this.istances = istances; numbersIstances = nums; this.myType = myType; }