147 void ValidateNominalType (
const KKStr& funcName)
const;
209 std::map<KKStr, AttributePtr> nameIndex;
void PushOnFront(AttributePtr attribute)
Attribute(const Attribute &a)
void AddANominalValue(const KKStr &nominalValue, bool &alreadyExists)
Adds a allowable Nominal value to the Nominal or Symbolic field that this attribute represents...
const AttributePtr LookUpByName(const KKStr &attributeName) const
void PushOnBack(AttributePtr attribute)
const KKStr & GetNominalValue(kkint32 code) const
Returns the nominal value for the given ordinal value.
bool operator!=(const AttributeList &right) const
Determines if two different attribute lists are different; compares each respective attribute...
kkint32 GetNominalCode(const KKStr &nominalValue) const
XmlElementAttribute * XmlElementAttributePtr
XmlElementTemplate< Attribute > XmlElementAttribute
XmlElementAttributeList * XmlElementAttributeListPtr
bool operator!=(const Attribute &rightSide) const
void ReadXML(XmlStream &s, XmlTagConstPtr tag, VolConstBool &cancelFlag, RunLog &log)
unsigned __int32 kkuint32
AttributeType operator++(AttributeType zed)
describes a single Feature, Type and possible values.
XmlElementTemplate< AttributeList > XmlElementAttributeList
Attribute(const KKStr &_name, AttributeType _type, kkint32 _fieldNum)
void WriteXML(const KKStr &varName, std::ostream &o) const
AttributeTypeVector * AttributeTypeVectorPtr
XmlTag const * XmlTagConstPtr
Manages the reading and writing of objects in a simple XML format. For a class to be supported by Xml...
void ReadXML(XmlStream &s, XmlTagConstPtr tag, VolConstBool &cancelFlag, RunLog &log)
AttributeType AttributeTypeFromStr(const KKStr &s)
static KKStr Concat(const std::vector< std::string > &values)
Concatenates the list of 'std::string' strings.
AttributeTypeVector(kkuint32 initialSize, AttributeType initialValue)
bool operator==(const AttributeList &right) const
Determines if two different attribute lists are the same; compares each respective attribute...
kkint32 MemoryConsumedEstimated() const
kkint32 MemoryConsumedEstimated() const
bool operator==(const Attribute &rightSide) const
AttributeTypeVectorPtr CreateAttributeTypeVector() const
AttributeType Type() const
AttributeList(bool owner)
AttributeList const * AttributeListConstPtr
void ReadXML(XmlStream &s, XmlTagConstPtr tag, VolConstBool &cancelFlag, RunLog &log)
Used for logging messages.
void EncodeProblem(const struct svm_paramater ¶m, struct svm_problem &prob_in, struct svm_problem &prob_out)
AttributeList * AttributeListPtr
XmlElementAttributeTypeVector * XmlElementAttributeTypeVectorPtr
const KKStr & Name() const
void WriteXML(const KKStr &varName, std::ostream &o) const
XmlElementTemplate< AttributeTypeVector > XmlElementAttributeTypeVector
const KKStr & NameUpper() const
void WriteXML(const KKStr &varName, std::ostream &o) const
kkint32 Cardinality() const
Returns back the cardinality of the attribute; the number of possible values it can take...
const KKStr & AttributeTypeToStr(AttributeType type)
Attribute & operator=(const Attribute &right)
volatile const bool VolConstBool