Beispiel #1
0
    public Attribute(int index, List <string> istances, typeOfAttribute myType)
    {
        this.Index         = index;
        this.attributeName = index.ToString();
        this.istances      = istances;

        this.myType = myType;
    }
Beispiel #2
0
    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));
    }
Beispiel #3
0
 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;
 }