Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

Controller.cpp

Go to the documentation of this file.
00001 
00002 
00003 #include "Controller.h"
00004 
00005 
00006 Controller::Controller(unsigned int nInputs, unsigned int nOutputs):
00007    nInputs(nInputs), nOutputs(nOutputs){
00008    input=new float[nInputs];
00009    output=new float[nOutputs];
00010    unsigned int i;
00011    for(i=0;i<nOutputs;i++)
00012       output[i]=0.0;
00013    for(i=0;i<nInputs;i++)
00014       input[i]=0.0;
00015 }
00016 
00017 Controller::~Controller(){
00018    delete[] input;
00019    delete[] output;
00020 }

Thyrix homepageUsers' guide

(C) Arxia 2004-2005