#include <RetinotopicOrientationConnectionPredicate.h>
Public Member Functions | |
RetinotopicOrientationConnectionPredicate (double C, int max_input_syn, int src_shape_x, int src_shape_y, double src_scale, RandomDistribution &nsub, RandomDistribution &phi, RandomDistribution &f, double aspectratio_min, double aspectratio_max) | |
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) |
It seems that this dummy implementation is needed for Py++ in order to be able to exclude (not exposed to python). | |
~RetinotopicOrientationConnectionPredicate () |
Definition at line 34 of file RetinotopicOrientationConnectionPredicate.h.
RetinotopicOrientationConnectionPredicate::RetinotopicOrientationConnectionPredicate | ( | double | C, | |
int | max_input_syn, | |||
int | src_shape_x, | |||
int | src_shape_y, | |||
double | src_scale, | |||
RandomDistribution & | nsub, | |||
RandomDistribution & | phi, | |||
RandomDistribution & | f, | |||
double | aspectratio_min, | |||
double | aspectratio_max | |||
) |
Definition at line 20 of file RetinotopicOrientationConnectionPredicate.cpp.
RetinotopicOrientationConnectionPredicate::~RetinotopicOrientationConnectionPredicate | ( | ) | [inline] |
Definition at line 57 of file RetinotopicOrientationConnectionPredicate.h.
void RetinotopicOrientationConnectionPredicate::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 49 of file RetinotopicOrientationConnectionPredicate.cpp.
References Point2DDistance< T >::diff(), SimObjectAttributes::get(), AugmentedSpatialPopulation::getAttributes(), SpatialSimObjectPopulation::getLocation(), ConnectionDecisionPredicateSpecialization< AugmentedSpatialPopulation, AugmentedSpatialPopulation >::init(), ConnectionDecisionPredicateSpecialization< AugmentedSpatialPopulation, AugmentedSpatialPopulation >::m_destinationPopulation, ConnectionDecisionPredicateSpecialization< AugmentedSpatialPopulation, AugmentedSpatialPopulation >::m_sourcePopulation, min, Point2D< T >::rotate(), SimObjectPopulation::size(), Point2D< T >::x(), and Point2D< T >::y().
virtual bool RetinotopicOrientationConnectionPredicate::decide | ( | size_t | src, | |
size_t | dst, | |||
RandomEngine * | rnd | |||
) | [inline, virtual] |
It seems that this dummy implementation is needed for Py++
in order to be able to exclude (not exposed to python).
Reimplemented from ConnectionDecisionPredicateSpecialization< AugmentedSpatialPopulation, AugmentedSpatialPopulation >.
Definition at line 50 of file RetinotopicOrientationConnectionPredicate.h.