printInternals.h

Go to the documentation of this file.
00001 #ifndef _PRINT_INTERNALS_H
00002 #define _PRINT_INTERNALS_H
00003 
00004 #include "inspectable.h"
00005 #include "types.h"
00006 
00007 /** prints the names of the sensor and motor channels
00008     and the names of the internal parameters of all inspectable object to the given file (stream)
00009     (Headline)
00010 */
00011 void printInternalParameterNames(FILE* f,
00012                                 int sensornumber, int motornumber,
00013                                 std::list<const Inspectable*> inspectables);
00014 
00015 
00016 void printInspectables(FILE* f, std::list<const Inspectable*> inspectables);
00017 
00018 void printInspectableNames(FILE* f, std::list<const Inspectable*> inspectables);
00019 
00020 /** prints the values of the motors and sensors
00021     and the internal parameters of the inspectable objects to a file or stream
00022 */
00023 void printInternalParameters(FILE* f, double time,
00024                              const sensor* x, int sensornumber,
00025                              const motor* y,  int motornumber,
00026                              std::list<const Inspectable*> inspectables);
00027 
00028 /** prints a network description of the structure given by the inspectable object.
00029     The network description syntax is as follow
00030     \code
00031     #N neural_net NETWORKNAME
00032     #N layer LAYERNAME1 RANK?
00033     #N neuron N0 BIASN0?
00034     #N neuron N1 BIASN1?
00035     #N layer LAYERNAME2 RANK?
00036     #N neuron K0 BIASK0?
00037     #N neuron K1 BIASK1?
00038     ...
00039     #N connection C00 N0 K0
00040     #N connection C10 N0 K1
00041     #N connection C01 N1 K0
00042     #N connection C11 N1 K1
00043     ...
00044     #N nn_end
00045     \endcode
00046     All identifiers are alphanumeric without spaces.
00047 */
00048 void printNetworkDescription(FILE* f, const std::string& name, const Inspectable* inspectable);
00049 
00050 
00051 #endif

Generated on Fri Oct 30 16:29:01 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7