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

InternalNeuralRegion Class Reference

Abstract base class for any NeuralRegion which accepts input from other NeuralRegions (unlike a Retina). More...

#include <neuralregion.h>

Inheritance diagram for InternalNeuralRegion

Inheritance graph

[legend]
Collaboration diagram for InternalNeuralRegion:

Collaboration graph

[legend]
List of all members.

Public Types

typedef ActivityMatrix WeightMatrix
 Matrix for weights; this does not have to be the actual type of the weights (if any) as they are actually stored internally, but it is the type used in interfaces that e.g. More...

typedef Generic::unary_virtual_function<
double,WeightMatrix
WeightFunction
 Function which computes a starting or fixed set of weights. More...


Public Methods

 InternalNeuralRegion (string name_i, Subscript height, Subscript width)
virtual ~InternalNeuralRegion ()
virtual Dimensions input_dimensions (WeightFunction& fn, Length size_scale=1.0) = 0
 Computes input dimensions that would be required to avoid border effects.

virtual void add_input (const string& name, const ActivityMatrix& input_region, WeightFunction& fn, Length size_scale) = 0
 Add a new input region; accepts a unary function of size_scale to initialize the weights.

virtual const WeightMatrix get_weights (const string& name="", int i=0, int j=0) const = 0
 Returns weights from the given unit from the group of weights with the given name. More...


Detailed Description

Abstract base class for any NeuralRegion which accepts input from other NeuralRegions (unlike a Retina).

Definition at line 92 of file neuralregion.h.


Member Typedef Documentation

typedef Generic::unary_virtual_function<double,WeightMatrix> InternalNeuralRegion::WeightFunction
 

Function which computes a starting or fixed set of weights.

Definition at line 108 of file neuralregion.h.

typedef ActivityMatrix InternalNeuralRegion::WeightMatrix
 

Matrix for weights; this does not have to be the actual type of the weights (if any) as they are actually stored internally, but it is the type used in interfaces that e.g.

provide preset weights or plot a set of weights.

Definition at line 105 of file neuralregion.h.

Referenced by CortexMapWrapper::get_weights(), InputVectorWrapper::get_weights(), and FixedWtRegion::get_weights().


Constructor & Destructor Documentation

InternalNeuralRegion::InternalNeuralRegion ( string name_i,
Subscript height,
Subscript width )
 

Definition at line 94 of file neuralregion.h.

InternalNeuralRegion::~InternalNeuralRegion ( ) [inline, virtual]
 

Definition at line 97 of file neuralregion.h.


Member Function Documentation

const WeightMatrix InternalNeuralRegion::get_weights ( const string & name = "",
int i = 0,
int j = 0 ) const [pure virtual]
 

Returns weights from the given unit from the group of weights with the given name.

The weights returned may e.g. be a constant set of weights for all units regardless, or they may be generated on the fly, so bear that in mind. If a region does not have any weights with the specified name, it should return an empty (0x0) matrix.

Reimplemented in FixedWtRegion, InputVectorWrapper, and CortexMapWrapper.


The documentation for this class was generated from the following file:
Generated at Mon Aug 21 00:31:18 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000