Port processor helper class for incoming training samples.
More...
#include <TrainModule.h>
Port processor helper class for incoming training samples.
- See also
- iCub::learningmachine::TrainModule
-
iCub::learningmachine::IMachineProcessor
- Author
- Arjan Gijsberts
Definition at line 40 of file TrainModule.h.
◆ TrainProcessor()
iCub::learningmachine::TrainProcessor::TrainProcessor |
( |
MachinePortable & |
mp | ) |
|
|
inline |
Constructor.
- Parameters
-
mp | a reference to a machine portable. |
Definition at line 53 of file TrainModule.h.
◆ onRead()
void iCub::learningmachine::TrainProcessor::onRead |
( |
yarp::os::PortablePair< yarp::sig::Vector, yarp::sig::Vector > & |
sample | ) |
|
|
virtual |
◆ setEnabled()
virtual void iCub::learningmachine::TrainProcessor::setEnabled |
( |
bool |
val | ) |
|
|
inlinevirtual |
Enables or disables processing of training samples.
- Parameters
-
Definition at line 60 of file TrainModule.h.
The documentation for this class was generated from the following files: