Herror ::enquire_class_box (
    const HTuple &ClassifHandle,
    const HTuple &FeatureList,
    long *Class
)

Classify a tuple of attributes.

FeatureList is a tuple of any floating point- or integer numbers (attributes) which has to be assigned to a class with assistance of a previous trained (::learn_class_box) classificator. It is possible to specify attributes as unknown by indicating the symbol '*' instead of a number. If you specify n values, then all following values, i.e. the attributes n+1 until 'max', are automatically supposed to be undefined.

See ::learn_class_box for more details about the functionality of the classificator.

You may call the procedures ::learn_class_box and ::enquire_class_box alternately, so that it is possible to classify already in the phase of learning. This means you could see when a satisfying behavior had been reached.


Parameters

ClassifHandle (input_control)
class_box -> HTuple.long
Classificator's handle number.

FeatureList (input_control)
real-array -> HTuple.double / long / char *
Array of attributes which has to be classified.
Default value: 1.0

Class (output_control)
integer -> long *
Number of the class to which the array of attributes had been assigned.


Result

::enquire_class_box returns H_MSG_TRUE.


Possible Predecessors

::create_class_box, ::learn_class_box, ::set_class_box_param


Possible Successors

::learn_class_box, ::write_class_box, ::close_class_box


Alternatives

::enquire_reject_class_box


See also

::test_sampset_box, ::learn_class_box, ::learn_sampset_box


Module

Tools



Copyright © 1996-2002 MVTec Software GmbH