Robot Simulator of the Robotics Group for Self-Organization of Control: printInternals.h Source File

# 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                                  const std::list<const Inspectable*>& inspectables);
    00014
    00015 void printInspectableInfoLines(FILE* f, const std::list<const Inspectable*>& inspectables);
    00016
    00017
    00018 void printInspectables(FILE* f, const std::list<const Inspectable*>& inspectables);
    00019
    00020 void printInspectableNames(FILE* f, const std::list<const Inspectable*>& inspectables);
    00021
    00022 /** prints the values of the motors and sensors
    00023     and the internal parameters of the inspectable objects to a file or stream
    00024 */
    00025 void printInternalParameters(FILE* f, double time,
    00026                              const sensor* x, int sensornumber,
    00027                              const motor* y,  int motornumber,
    00028                              const std::list<const Inspectable*>& inspectables);
    00029
    00030 /** prints a network description of the structure given by the inspectable object.
    00031     The network description syntax is as follow
    00032     \code
    00033     #N neural_net NETWORKNAME
    00034     #N layer LAYERNAME1 RANK?
    00035     #N neuron N0 BIASN0?
    00036     #N neuron N1 BIASN1?
    00037     #N layer LAYERNAME2 RANK?
    00038     #N neuron K0 BIASK0?
    00039     #N neuron K1 BIASK1?
    00040     ...
    00041     #N connection C00 N0 K0
    00042     #N connection C10 N0 K1
    00043     #N connection C01 N1 K0
    00044     #N connection C11 N1 K1
    00045     ...
    00046     #N nn_end
    00047     \endcode
    00048     All identifiers are alphanumeric without spaces.
    00049 */
    00050 void printNetworkDescription(FILE* f, const std::string& name, const Inspectable* inspectable);
    00051
    00052
    00053 #endif