Aquila  2.0 prealpha
Cognitive Robotics Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | Public Attributes | List of all members
SOMSettings Class Reference

#include <somSettings.h>

Inheritance diagram for SOMSettings:
Settings

Public Slots

void save ()
 Saves parameters.
 
void setParameters (float learningRate, int numSubIterations, int numOutputs, int iterationPause)
 Sets parameters.
 
void setOutputSizeValue (int value)
 Sets the value of outputs to the nearest power of two value.
 
- Public Slots inherited from Settings
virtual void save ()
 Saves parameters.
 

Signals

void parametersSaved (float learningRate, int numSubIterations, int numOutputs, int iterationPause)
 
- Signals inherited from Settings
void simulationModeChanged (int simulationMode)
 

Public Member Functions

 SOMSettings ()
 Constructor.
 
 ~SOMSettings ()
 Destructor.
 
- Public Member Functions inherited from Settings
 Settings ()
 Constructor.
 
 ~Settings ()
 Destructor.
 

Public Attributes

Ui::SOMSettings * ui
 
int numInputs
 
- Public Attributes inherited from Settings
GPU gpu
 

Detailed Description

SOM settings dialog

Constructor & Destructor Documentation

SOMSettings::SOMSettings ( )

Constructor.

SOMSettings::~SOMSettings ( )

Destructor.

Member Function Documentation

void SOMSettings::parametersSaved ( float  learningRate,
int  numSubIterations,
int  numOutputs,
int  iterationPause 
)
signal
void SOMSettings::save ( )
slot

Saves parameters.

Note
This is an overridden virtual function.
This function is normally called when user accepts settings dialog.
Once called, this function emits signal with updated parameters, which is typically sent to module.
void SOMSettings::setOutputSizeValue ( int  value)
slot

Sets the value of outputs to the nearest power of two value.

Parameters
[in]value- spin box output value
void SOMSettings::setParameters ( float  learningRate,
int  numSubIterations,
int  numOutputs,
int  iterationPause 
)
slot

Sets parameters.

Parameters
[in]learningRate- learning rate
[in]numSubIterations- number of sub-iterations
[in]numOutputs- number of outputs
[in]iterationPause- iteration pause

Member Data Documentation

int SOMSettings::numInputs
Ui::SOMSettings* SOMSettings::ui

The documentation for this class was generated from the following files: