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

InputVectorWrapper Class Reference

Temporary class to glue in old input_vectors input. More...

#include <kernelwrapper.h>

Inheritance diagram for InputVectorWrapper

Inheritance graph

[legend]
Collaboration diagram for InputVectorWrapper:

Collaboration graph

[legend]
List of all members.

Public Methods

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

virtual Activity activity (Subscript i, Subscript j) const
 Overrides activity(), et cetera so that plotting can be re-written to use this interface; then the original structure can be eliminated entirely. More...

virtual const ActivityMatrixconst_activity () const
 Returns a const matrix of the current activity values. 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 input_vectors input.

Definition at line 14 of file kernelwrapper.h.


Constructor & Destructor Documentation

InputVectorWrapper::InputVectorWrapper ( string name_i,
int e )
 

Definition at line 655 of file kernel.c.


Member Function Documentation

void InputVectorWrapper::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 690 of file kernel.c.

Activity InputVectorWrapper::activity ( Subscript i,
Subscript j ) const [inline, virtual]
 

Overrides activity(), et cetera so that plotting can be re-written to use this interface; then the original structure can be eliminated entirely.

Reimplemented from NeuralRegion.

Definition at line 22 of file kernelwrapper.h.

void InputVectorWrapper::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 659 of file kernel.c.

const ActivityMatrix & InputVectorWrapper::const_activity ( ) const [inline, virtual]
 

Returns a const matrix of the current activity values.

Reimplemented from NeuralRegion.

Definition at line 23 of file kernelwrapper.h.

const InputVectorWrapper::WeightMatrix InputVectorWrapper::get_weights ( const string & name = "",
int i = 0,
int j = 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 678 of file kernel.c.

InputVectorWrapper::Dimensions InputVectorWrapper::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 670 of file kernel.c.


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