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

eye_locator_network Class Reference

#include <eye_locator.h>

List of all members.

Public Methods

 eye_locator_network (int hidden)
 eye_locator_network (string FileName)
 ~eye_locator_network ()
bool save (string FileName)
float run_net (annie::VECTOR &data)
float run_net (double *data)

Private Attributes

annie::TwoLayerNetworknet
bool is_set


Detailed Description

a neural network for use with eye location simply states if or if not it is an eye that was passed to it


Constructor & Destructor Documentation

eye_locator_network::eye_locator_network int    hidden
 

create a new fully connected network with random weights

Parameters:
hidden  number of hidden nodes in the network

eye_locator_network::eye_locator_network string    FileName
 

read in the network based off of a saved file

Parameters:
FileName  the name of the file with the network info in it

eye_locator_network::~eye_locator_network  
 


Member Function Documentation

float eye_locator_network::run_net double *    data
 

run the nural net on this set of data

Parameters:
data  an array containing the input data, should be of length INPUT_HEIGHT * INPUT_WIDTH
Returns:
the result the network gives

float eye_locator_network::run_net annie::VECTOR   data
 

run the nural net on this set of data

Parameters:
data  an array containing the input data, should be of length INPUT_HEIGHT * INPUT_WIDTH
Returns:
the result the network gives

bool eye_locator_network::save string    FileName
 

save the network to a file

Parameters:
FileName  the name of the file that will store this information
Returns:
true if it save correctly false if an error occured


Member Data Documentation

bool eye_locator_network::is_set [private]
 

annie::TwoLayerNetwork* eye_locator_network::net [private]
 

accutual annie nural network that this class is a wrapper for


The documentation for this class was generated from the following files:
Generated on Wed Apr 23 10:42:35 2003 for BioFilter by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002