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

        this.myType = myType;
    }
Ejemplo n.º 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));
    }
Ejemplo n.º 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;
 }