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

CortexMapWrapper Class Reference

Temporary class to glue in old cortex_map output and weights. More...

#include <kernelwrapper.h>

Inheritance diagram for CortexMapWrapper

Inheritance graph

[legend]
Collaboration diagram for CortexMapWrapper:

Collaboration graph

[legend]
List of all members.

Public Methods

 CortexMapWrapper (string name_i)
virtual void activate (bool learn=false, bool=true)
 Activate the map given the current inputs. More...

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

virtual Dimensions input_dimensions (WeightFunction& fn, Length size_scale=1.0)
 Computes input dimensions that would be required to avoid border effects. More...

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


Detailed Description

Temporary class to glue in old cortex_map output and weights.

Definition at line 38 of file kernelwrapper.h.


Constructor & Destructor Documentation

CortexMapWrapper::CortexMapWrapper ( string name_i )
 

Definition at line 708 of file kernel.c.


Member Function Documentation

void CortexMapWrapper::activate ( bool learn = false,
bool settle = true ) [virtual]
 

Activate the map given the current inputs.

Must be implemented by derived classes.

Reimplemented from NeuralRegion.

Definition at line 712 of file kernel.c.

void CortexMapWrapper::add_input ( const string & name,
const ActivityMatrix & input_region,
WeightFunction & fn,
Length size_scale = 1.0 ) [virtual]
 

Add a new input region; accepts a unary function of size_scale to initialize the weights.

Reimplemented from InternalNeuralRegion.

Definition at line 726 of file kernel.c.

const CortexMapWrapper::WeightMatrix CortexMapWrapper::get_weights ( const string & name = "",
int ui = 0,
int uj = 0 ) const [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 from InternalNeuralRegion.

Definition at line 744 of file kernel.c.

CortexMapWrapper::Dimensions CortexMapWrapper::input_dimensions ( WeightFunction & fn,
Length size_scale = 1.0 ) [virtual]
 

Computes input dimensions that would be required to avoid border effects.

Reimplemented from InternalNeuralRegion.

Definition at line 736 of file kernel.c.


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