latest version v1.9 - last update 10 Apr 2010 |
This class defines a factory for classifiers. More...
#include <ltiSupervisedInstanceClassifierFactory.h>
Public Member Functions | |
supervisedInstanceClassifierFactory () | |
virtual | ~supervisedInstanceClassifierFactory () |
virtual const char * | getTypeName () const |
virtual supervisedInstanceClassifier * | newInstance (const char *name) const |
virtual supervisedInstanceClassifier * | newInstance (const std::string &name) const |
This class defines a factory for classifiers.
lti::supervisedInstanceClassifierFactory::supervisedInstanceClassifierFactory | ( | ) |
Constructor.
virtual lti::supervisedInstanceClassifierFactory::~supervisedInstanceClassifierFactory | ( | ) | [virtual] |
Destructor.
virtual const char* lti::supervisedInstanceClassifierFactory::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("supervisedInstanceClassifierFactory")
Reimplemented from lti::object.
virtual supervisedInstanceClassifier* lti::supervisedInstanceClassifierFactory::newInstance | ( | const std::string & | name | ) | const [inline, virtual] |
Creates a new instance of the class whose name is given as parameter, if this class is known to the factory.
Otherwise, it returns null.
name | name of the to-be instantiated class. |
References newInstance().
virtual supervisedInstanceClassifier* lti::supervisedInstanceClassifierFactory::newInstance | ( | const char * | name | ) | const [virtual] |
Creates a new instance of the class whose name is given as parameter, if this class is known to the factory.
Otherwise, it returns null.
name | name of the to-be instantiated class. |
Referenced by newInstance().