#include <fixedwtregion.h>
Inheritance diagram for FixedWtRegion


Public Methods | |
| FixedWtRegion (string name_i, Subscript height, Subscript width, Activity& act_threshold) | |
| virtual | ~FixedWtRegion () |
| 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 void | activate (bool=false,bool=false) |
| Activate the map given the current inputs. More... | |
| virtual const WeightMatrix | get_weights (const string& name="", int=0,int=0) const |
| Returns weights from the given unit from the group of weights with the given name. More... | |
Protected Types | |
| typedef vector<Input*> | inputs_type |
| Type to use for storing inputs. More... | |
Protected Attributes | |
| Activity& | threshold |
| Activity threshold; values below this are set to zero to save computation. More... | |
| inputs_type | inputs |
| Set of inputs to this region. More... | |
It effectively computes the convolution of the weights with the input region. Accepts an empty kernel, in which case no convolution is done.
Convolution can optionally use a larger source image than destination to avoid aliasing. If so, the supplied kernel should be scaled to match.
Definition at line 69 of file fixedwtregion.h.
|
|
Type to use for storing inputs.
Definition at line 129 of file fixedwtregion.h. |
|
|
Definition at line 71 of file fixedwtregion.h. |
|
|
Definition at line 74 of file fixedwtregion.h. |
|
|
Activate the map given the current inputs. Must be implemented by derived classes. Reimplemented from NeuralRegion. Definition at line 94 of file fixedwtregion.h. |
|
|
Add a new input region; accepts a unary function of size_scale to initialize the weights.
Reimplemented from InternalNeuralRegion. Definition at line 76 of file fixedwtregion.h. |
|
|
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 105 of file fixedwtregion.h. |
|
|
Computes input dimensions that would be required to avoid border effects.
Reimplemented from InternalNeuralRegion. Definition at line 86 of file fixedwtregion.h. |
|
|
Set of inputs to this region.
Definition at line 132 of file fixedwtregion.h. |
|
|
Activity threshold; values below this are set to zero to save computation.
Definition at line 112 of file fixedwtregion.h. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000