Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SIGEL_GP::SIG_GPSimpleRecorder Class Reference

This class records the start and the end positions of the torso element of the robot and calculates its fitness by calculating the absolut fitness. More...

#include <SIG_GPSimpleRecorder.h>

Inheritance diagram for SIGEL_GP::SIG_GPSimpleRecorder:

SIGEL_Simulation::SIG_Recorder List of all members.

Public Methods

 SIG_GPSimpleRecorder ()
 The constructor of the SIG_GPRecorder. More...

void init () throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, SIGEL_Simulation::SIG_RecorderBadRecordingOrderException)
 Saves the start position of the torso element. More...

void record () throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, SIGEL_Simulation::SIG_RecorderBadRecordingOrderException)
 Records the forces of all robot drives. More...

void finish () throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, SIGEL_Simulation::SIG_RecorderBadRecordingOrderException)
 Reads the end position of the torso element. More...


Private Attributes

DL_vector start
 The starting position. More...

DL_vector end
DL_matrix startRotation
DL_matrix endRotation

Friends

class  SIG_GPSimpleFitnessFunction

Detailed Description

This class records the start and the end positions of the torso element of the robot and calculates its fitness by calculating the absolut fitness.

Definition at line 14 of file SIG_GPSimpleRecorder.h.


Constructor & Destructor Documentation

SIGEL_GP::SIG_GPSimpleRecorder::SIG_GPSimpleRecorder ( )
 

The constructor of the SIG_GPRecorder.

Definition at line 5 of file SIG_GPSimpleRecorder.cpp.


Member Function Documentation

void SIGEL_GP::SIG_GPSimpleRecorder::finish ( ) throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, SIGEL_Simulation::SIG_RecorderBadRecordingOrderException) [virtual]
 

Reads the end position of the torso element.

First it calls the method finish of the superclass SIGEL_Simulation::SIG_Recorder.

Reimplemented from SIGEL_Simulation::SIG_Recorder.

Definition at line 31 of file SIG_GPSimpleRecorder.cpp.

void SIGEL_GP::SIG_GPSimpleRecorder::init ( ) throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, SIGEL_Simulation::SIG_RecorderBadRecordingOrderException) [virtual]
 

Saves the start position of the torso element.

First it calls the method init of the superclass SIGEL_Simulation::SIG_Recorder.

Reimplemented from SIGEL_Simulation::SIG_Recorder.

Definition at line 13 of file SIG_GPSimpleRecorder.cpp.

void SIGEL_GP::SIG_GPSimpleRecorder::record ( ) throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, SIGEL_Simulation::SIG_RecorderBadRecordingOrderException) [virtual]
 

Records the forces of all robot drives.

First it calls the method finish of the superclass SIGEL_Simulation::SIG_Recorder.

Reimplemented from SIGEL_Simulation::SIG_Recorder.

Definition at line 26 of file SIG_GPSimpleRecorder.cpp.


Friends And Related Function Documentation

class SIG_GPSimpleFitnessFunction [friend]
 

Definition at line 17 of file SIG_GPSimpleRecorder.h.


Member Data Documentation

DL_vector SIGEL_GP::SIG_GPSimpleRecorder::end [private]
 

Definition at line 62 of file SIG_GPSimpleRecorder.h.

DL_matrix SIGEL_GP::SIG_GPSimpleRecorder::endRotation [private]
 

Definition at line 65 of file SIG_GPSimpleRecorder.h.

DL_vector SIGEL_GP::SIG_GPSimpleRecorder::start [private]
 

The starting position.

Definition at line 61 of file SIG_GPSimpleRecorder.h.

DL_matrix SIGEL_GP::SIG_GPSimpleRecorder::startRotation [private]
 

Definition at line 64 of file SIG_GPSimpleRecorder.h.


The documentation for this class was generated from the following files:
Generated at Mon Sep 3 01:32:49 2001 for PG 368 - SIGEL by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000