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

Retina Class Reference

#include <retina.h>

Inheritance diagram for Retina:

Inheritance graph
[legend]
Collaboration diagram for Retina:

Collaboration graph
[legend]
List of all members.

Detailed Description

Basic retina implemented as a transparent window into the world.

Definition at line 70 of file retina.h.

Public Methods

 Retina (string name_i, Dimensions dims, ActivationFunction *actfn_=0, Activity size_scale_=1.0)
virtual void activate (bool=false, bool=false, bool=false)
 Activate the map given the current inputs.

void set_input (const Retinal_Obj *const obj)
 Make the retina point to a particular view of the world.

virtual bool is_plastic () const
 Returns true if this region might contain modifiable weights.

double size_connection_bytes () const
 Returns the size of this region, in terms of the number of bytes taken to store its connections.

double size_unique_connections () const
 Returns the size of this region, in terms of the number of connections which might hold unique values.


Protected Attributes

const Retinal_Objworld_model
 Most-recently-selected world view.

const OwningPointer< ActivationFunctionactfn
 Activation function, generally at most thresholding.

const Activity xo
 Offset relative to the origin; this allows drawing to be aligned properly even when retina has been expanded as a buffer for later regions.

const Activity yo
 See xo.

const Activity size_scale
 Size scale relative to ther previous region; this allows drawing to be sized properly even when retina is of a different magnification than later regions.


Member Function Documentation

virtual void Retina::activate bool    = false,
bool    = false,
bool    = false
[inline, virtual]
 

Activate the map given the current inputs.

Must be implemented by derived classes.

Implements NeuralRegion.

Definition at line 80 of file retina.h.

References draw(), and NeuralRegion::output.

virtual bool Retina::is_plastic   const [inline, virtual]
 

Returns true if this region might contain modifiable weights.

Regions are assumed to be modifiable unless they declare otherwise.

Reimplemented from NeuralRegion.

Definition at line 88 of file retina.h.

double Retina::size_connection_bytes   const [inline, virtual]
 

Returns the size of this region, in terms of the number of bytes taken to store its connections.

Required to be implemented by each type of region.

Implements NeuralRegion.

Definition at line 90 of file retina.h.

double Retina::size_unique_connections   const [inline, virtual]
 

Returns the size of this region, in terms of the number of connections which might hold unique values.

(This might be different from the total number of connections if e.g. some connections are shared between different units.)

Implements NeuralRegion.

Definition at line 91 of file retina.h.


The documentation for this class was generated from the following file:
Generated on Mon Jan 20 02:37:12 2003 for RF-LISSOM by doxygen1.3-rc2