PositionBased2dValueGenerator.h

Go to the documentation of this file.
00001 
00012 #ifndef POSITIONBASED2DVALUEGENERATOR_H_
00013 #define POSITIONBASED2DVALUEGENERATOR_H_
00014 
00015 #include "PopObjectValueGenerator.h"
00016 #include "RandomDistribution.h"
00017 
00018 /* Delay depends on the conductance velocity 
00019  * velocity is drawn from a BndNormalDistribution
00020  */
00021 class PositionBased2dValueGenerator: public SpatialPopObjectValueGenerator
00022 {
00023 public:
00024     PositionBased2dValueGenerator(const vector<double> &values, int size_x, int size_y,
00025                                   double offset_x=0.0, double offset_y=0.0, double scale_x=1.0, double scale_y=1.0);
00026 
00027     virtual ~PositionBased2dValueGenerator();
00028 
00029     virtual double generate(RandomEngine *rnd);
00030 
00031     virtual PopObjectValueGenerator* clone(void) const;
00032 
00033 protected:
00034     vector<double> values;
00035     int size_x;
00036     int size_y;
00037     double offset_x;
00038     double offset_y;
00039     double scale_x;
00040     double scale_y;
00041 };
00042 
00043 
00044 
00045 #endif //POSITIONBASED2DVALUEGENERATOR_H_

Generated on Wed Jul 9 16:34:37 2008 for PCSIM by  doxygen 1.5.5