evonetui.cpp
66 // !! DO NOT CONNECT TO THE evonetUpdated SIGNAL to update the network becuase that signals may be
68 //connect( evonet, SIGNAL(evonetUpdated()), this, SLOT(onEvonetUpdated()), Qt::QueuedConnection );
82 QList<ParameterSettableUIViewer> EvonetUI::getViewers( QWidget* parent, Qt::WindowFlags flags ) {
125 edv->setChunkProperties(i, evonet->neuronrange[i][0], evonet->neuronrange[i][1], evonet->neuronl[i], evonet->neurondcolor[i], dn);
128 edv->setChunkProperties(i, evonet->neuronrange[i][0], evonet->neuronrange[i][1], evonet->neuronl[i], QColor(255,0,0), dn);
131 // Setting chunk properties for teaching input and backpropagation error (if the teaching input must be shown)
137 edv->setChunkProperties(evonet->getNoNeurons() + i, 0.0, 1.0, "tInput[" + QString::number(i) + "]", QColor(255,0,0), dn);
139 edv->setChunkProperties(evonet->getNoNeurons() + evonet->getNoOutputs(), 0.0, 1.0, "error", QColor(255,0,0), dn);
static void detach(DataUploader< DataType > *uploader)
void setChunkValue(int ch, double value)
set chunk value by chunck id
Definition: evodataviewer.cpp:238
bool showTeachingInput()
Checks whether the teaching input has to be shown.
Definition: evonet.cpp:2031
void setCurrentStep(int step)
it stores the current step for each value.
Definition: evodataviewer.cpp:317
void setChunkLabel(int ch, const QString &label)
set the chunk label
Definition: evodataviewer.cpp:232
void changeNet(Evonet *n)
add the "Tests" menu to the menu bar of Total99
Definition: evonetui.cpp:90
DataUploader< ActivationsToGui > * getNeuronsMonitorUploader()
Returns the uploader for activations.
Definition: evonet.h:181
QList< ParameterSettableUIViewer > getViewers(QWidget *parent, Qt::WindowFlags flags)
fill the menu "Actions" of Total99 with following actions:
Definition: evonetui.cpp:82
void setChunkProperties(int ch, double rangeMin, double rangeMax, const QString &label, QColor color, bool visible)
Set all the chunk properties in one step.
Definition: evodataviewer.cpp:372
QColor neurondcolor[MAXN]
the color used to display the actiovation state of each neuron in the neuron monitor widget ...
Definition: evonet.h:419
int neurondisplay[MAXN]
the vectors that specify for each neuron whether it should be displayed or not by the neuron monitor ...
Definition: evonet.h:410
Definition: displaycontroller.h:51
EvonetUI(Evonet *net, DataUploader< ActivationsToGui > *neuronsMonitorUploader)
Construct the GUI manager for Evonet.
Definition: evonetui.cpp:52
static void associate(DataUploader< DataType > *uploader, DataDownloader< DataType > *downloader)
double neuronrange[MAXN][2]
the matrix that contain the variation range of neurons used by the neuron monitor graphic widget ...
Definition: evonet.h:415