64 void add(
Attribute *attribute )
throw ( logic_error );
73 int getClassIndex()
const throw ( logic_error );
82 bool getHasNominalAttributes() const;
91 bool getHasNumericAttributes() const;
101 Attribute *get(
int i ) const throw ( logic_error );
110 Attribute *getClassAttribute() const throw ( logic_error );
120 int getIndex(
string name ) const throw ( logic_error );
139 void parse( istream &in ) throw ( logic_error );
148 void setClassIndex(
int classIndex ) throw ( logic_error );
bool hasNumericAttributes
Definition: attributes.h:44
vector< Attribute * > attributes
Definition: attributes.h:41
Definition: attribute.h:21
int classIndex
Definition: attributes.h:50
Definition: attributes.h:26
ostream & operator<<(ostream &out, const Attribute &a)
Definition: attribute.cc:31
bool hasNominalAttributes
Definition: attributes.h:47