LateralLongRangeOrientationConnectionPredicate Class Reference

Predicate for generating retinotopic connections (with orientation tuning). More...

#include <LateralLongRangeOrientationConnectionPredicate.h>

Inheritance diagram for LateralLongRangeOrientationConnectionPredicate:

Inheritance graph
[legend]
Collaboration diagram for LateralLongRangeOrientationConnectionPredicate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LateralLongRangeOrientationConnectionPredicate (double C, double sigma21=1000e-6, double kappa2=1, double mu2=0, bool toroid=false, double toroid_off=0.0, int src_shape_x=1, int src_shape_y=1, int dst_shape_x=1, int dst_shape_y=1, double src_scale=1.0, double dst_scale=1.0, double src_center_x=0.0, double src_center_y=0.0, double dst_center_x=0.0, double dst_center_y=0.0)
 New predicate with given parameters C and lambda.
virtual void init (SimObjectPopulation const &src, SimObjectPopulation const &dst, RandomEngine *rnd)
 This function will be called to tell the decision predicate about the source and destination poulation.
virtual bool decide (size_t src, size_t dst, RandomEngine *rnd)
 Return true if a uniform distributed random number is smaller than C * exp( -|px-py|^2 / lambda^2 ).

Public Attributes

double m_C
double m_sigma21
double m_kappa2
double m_mu2
Point2DDistance< doublem_distance
UniformDistribution m_unirnd


Detailed Description

Predicate for generating retinotopic connections (with orientation tuning).

Definition at line 22 of file LateralLongRangeOrientationConnectionPredicate.h.


Constructor & Destructor Documentation

LateralLongRangeOrientationConnectionPredicate::LateralLongRangeOrientationConnectionPredicate ( double  C,
double  sigma21 = 1000e-6,
double  kappa2 = 1,
double  mu2 = 0,
bool  toroid = false,
double  toroid_off = 0.0,
int  src_shape_x = 1,
int  src_shape_y = 1,
int  dst_shape_x = 1,
int  dst_shape_y = 1,
double  src_scale = 1.0,
double  dst_scale = 1.0,
double  src_center_x = 0.0,
double  src_center_y = 0.0,
double  dst_center_x = 0.0,
double  dst_center_y = 0.0 
)

New predicate with given parameters C and lambda.

Definition at line 19 of file LateralLongRangeOrientationConnectionPredicate.cpp.


Member Function Documentation

void LateralLongRangeOrientationConnectionPredicate::init ( SimObjectPopulation const &  src,
SimObjectPopulation const &  dst,
RandomEngine rnd 
) [virtual]

This function will be called to tell the decision predicate about the source and destination poulation.

This is a generic implementation which checks the actual type of the src and dst populations and stores references to the populations in the two protected members m_sourcePopulation and m_destinationPopulation.

Reimplemented from ConnectionDecisionPredicateSpecialization< AugmentedSpatialPopulation, AugmentedSpatialPopulation >.

Definition at line 47 of file LateralLongRangeOrientationConnectionPredicate.cpp.

References ConnectionDecisionPredicateSpecialization< AugmentedSpatialPopulation, AugmentedSpatialPopulation >::init().

Here is the call graph for this function:

bool LateralLongRangeOrientationConnectionPredicate::decide ( size_t  src,
size_t  dst,
RandomEngine rnd 
) [virtual]


Member Data Documentation

Definition at line 49 of file LateralLongRangeOrientationConnectionPredicate.h.

Referenced by decide().

Definition at line 50 of file LateralLongRangeOrientationConnectionPredicate.h.

Referenced by decide().

Definition at line 51 of file LateralLongRangeOrientationConnectionPredicate.h.

Referenced by decide().

Definition at line 52 of file LateralLongRangeOrientationConnectionPredicate.h.

Referenced by decide().

Definition at line 54 of file LateralLongRangeOrientationConnectionPredicate.h.

Referenced by decide().

Definition at line 55 of file LateralLongRangeOrientationConnectionPredicate.h.

Referenced by decide().


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

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