#include <stimulusparametermap.h>
Inheritance diagram for StimulusParameterMap_Combined< MapType, MapBaseType, ValuePointer >:
Originally these were intended to be handled by different subclasses. However, to avoid introducing a performance penalty in the update() and mark() calls by making those calls into virtual functions, a single class was used without virtual functions.
Definition at line 75 of file stimulusparametermap.h.
Public Types | |
typedef Histo::OneDBinList | Histogram |
typedef MatrixType< typename MapType::value_type >::rectangular | MapMatrix |
typedef MatrixType< Histogram >::rectangular | HistoMatrix |
typedef StimulusParameterMap< MapBaseType, ValuePointer >::Subscript | Subscript |
typedef MapAdapterType::ScaleType | ScaleType |
Public Methods | |
StimulusParameterMap_Combined (const MapType &reference_map, const string &name_, ValuePointer &valueptr_, bool measure_distribution_=true, bool weighted_average_=false, bool cyclic_=true, const ScaleType &selectivity_scale_=ScaleType()) | |
void | mark_current_value_as_max (Subscript r, Subscript c) |
void | update_distribution (Subscript r, Subscript c, Histogram::Magnitude val) |
MapBaseType * | map () const |
Returns a map of the stimulus preference for each unit, scaled so that each element is a Magnitude, i.e. | |
MapBaseType * | selectivity () const |
const bool | has_distribution () const |
|
Returns a map of the stimulus preference for each unit, scaled so that each element is a Magnitude, i.e. a value from 0.0 to 1.0. The method used to compute the map depends upon the values of measure_distribution, weighted_average, and cyclic. Histogram::max_value_bin_mag will also work, and be about the same as coarse_map. Implements StimulusParameterMap< MapBaseType, ValuePointer >. Definition at line 124 of file stimulusparametermap.h. Referenced by StimulusParameterMapsForRegion< MapType, MapBaseType, ValuePointer >::register_maps(). |