This class contains options for the use of an external plot utility like guilogger or neuronviz or just simply file output.
More...
#include <plotoption.h>
This class contains options for the use of an external plot utility like guilogger or neuronviz or just simply file output.
- Examples:
- integration/main.cpp.
PlotOption |
( |
PlotMode |
mode, |
|
|
int |
interval = 1 , |
|
|
std::string |
parameter = std::string() , |
|
|
std::string |
filter = std::string() |
|
) |
| |
|
inline |
creates a new plotting object
- Parameters
-
- See Also
- PlotMode
- Parameters
-
interval | every i-th step is plotted |
parameter | free parameters for plotting tool ¶m filter filter for channels, |
- See Also
- setFilter(const std::string)
Note: the argument whichSensor is removed. You can adjust this in the wirings now.
closes the connections to the plot tool
const std::string& getName |
( |
| ) |
const |
|
inline |
virtual PlotMode getPlotOptionMode |
( |
| ) |
const |
|
inlinevirtual |
opens the connections to the plot tool
void printInspectableInfoLines |
( |
const std::list< const Inspectable * > & |
inspectables | ) |
|
|
virtual |
int printInspectableNames |
( |
const std::list< const Inspectable * > & |
inspectables, |
|
|
int |
cnt = 0 |
|
) |
| |
|
virtual |
int printInspectables |
( |
const std::list< const Inspectable * > & |
inspectables, |
|
|
int |
cnt = 0 |
|
) |
| |
|
virtual |
void printNetworkDescription |
( |
const std::string & |
name, |
|
|
const Inspectable * |
inspectable |
|
) |
| |
prints a network description of the structure given by the inspectable object.
(mostly unused now) The network description syntax is as follow
#N neural_net NETWORKNAME
#N layer LAYERNAME1 RANK?
#N neuron N0 BIASN0?
#N neuron N1 BIASN1?
#N layer LAYERNAME2 RANK?
#N neuron K0 BIASK0?
#N neuron K1 BIASK1?
...
#N connection C00 N0 K0
#N connection C10 N0 K1
#N connection C01 N1 K0
#N connection C11 N1 K1
...
#N nn_end
All identifiers are alphanumeric without spaces.
virtual void setFilter |
( |
const std::list< std::string > & |
accept, |
|
|
const std::list< std::string > & |
ignore |
|
) |
| |
|
virtual |
sets a filter to this plotoption: To export only selected channels
void setFilter |
( |
const std::string & |
filter | ) |
|
|
virtual |
sets a filter to this plotoption: syntax: +accept_substr -ignore_substr ...
sets a filter to this plotoption: syntax: +acceptregexp -ignoreregexp ...
void setName |
( |
const std::string & |
name | ) |
|
|
inline |
bool useChannel |
( |
const std::string & |
name | ) |
|
|
virtual |
The documentation for this class was generated from the following files: