ConnObjectValueGenerator Class Reference

Customizable generator for connecting SimObject (synapses) field values. More...

#include <ConnObjectValueGenerator.h>

Inheritance diagram for ConnObjectValueGenerator:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ConnObjectValueGenerator ()
virtual ~ConnObjectValueGenerator ()
virtual void init (const SimObjectPopulation &src_pop, const SimObjectPopulation &dst_pop, RandomEngine *rnd=NULL)=0
 This function will be called to tell the value generator abut the populations.
virtual double generate (size_t src_idx, size_t dst_idx, RandomEngine *rnd)=0
 This function will be called to actually generate the value.
virtual ConnObjectValueGeneratorclone (void) const =0


Detailed Description

Customizable generator for connecting SimObject (synapses) field values.

Definition at line 19 of file ConnObjectValueGenerator.h.


Constructor & Destructor Documentation

ConnObjectValueGenerator::ConnObjectValueGenerator (  ) 

Definition at line 14 of file ConnObjectValueGenerator.cpp.

ConnObjectValueGenerator::~ConnObjectValueGenerator (  )  [virtual]

Definition at line 19 of file ConnObjectValueGenerator.cpp.


Member Function Documentation

virtual void ConnObjectValueGenerator::init ( const SimObjectPopulation src_pop,
const SimObjectPopulation dst_pop,
RandomEngine rnd = NULL 
) [pure virtual]

This function will be called to tell the value generator abut the populations.

An implementation of this function will check the actual type of the populations and stores references to the population. which will be used later on in the implementation of generate since this function just gets the indices within the population.

Implemented in ConnObjectValueGeneratorSpecialization< S, D >, ConnObjectValueGeneratorSpecialization< SimObjectPopulation, SimObjectPopulation >, ConnObjectValueGeneratorSpecialization< SpatialSimObjectPopulation, SpatialSimObjectPopulation >, ConnObjectValueGeneratorSpecialization< SpatialFamilyPopulation, SpatialFamilyPopulation >, and ConnObjectValueGeneratorSpecialization< AugmentedSpatialPopulation, AugmentedSpatialPopulation >.

virtual double ConnObjectValueGenerator::generate ( size_t  src_idx,
size_t  dst_idx,
RandomEngine rnd 
) [pure virtual]

virtual ConnObjectValueGenerator* ConnObjectValueGenerator::clone ( void   )  const [pure virtual]


The documentation for this class was generated from the following files:

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