#include <neuralregion.h>
Inheritance diagram for InternalNeuralRegion


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... | |
Definition at line 92 of file neuralregion.h.
|
|
Function which computes a starting or fixed set of weights.
Definition at line 108 of file neuralregion.h. |
|
|
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(). |
|
|
Definition at line 94 of file neuralregion.h. |
|
|
Definition at line 97 of file neuralregion.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 in FixedWtRegion, InputVectorWrapper, and CortexMapWrapper. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000