#include <ConnectionDecisionPredicateSpecialization.h>
Public Member Functions | |
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). | |
Protected Attributes | |
const S * | m_sourcePopulation |
const D * | m_destinationPopulation |
Definition at line 28 of file ConnectionDecisionPredicateSpecialization.h.
virtual void ConnectionDecisionPredicateSpecialization< S, D >::init | ( | SimObjectPopulation const & | src, | |
SimObjectPopulation const & | dst, | |||
RandomEngine * | rnd | |||
) | [inline, 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.
Implements ConnectionDecisionPredicate.
Reimplemented in LateralLongRangeOrientationConnectionPredicate, and RetinotopicOrientationConnectionPredicate.
Definition at line 37 of file ConnectionDecisionPredicateSpecialization.h.
virtual bool ConnectionDecisionPredicateSpecialization< S, D >::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).
Implements ConnectionDecisionPredicate.
Reimplemented in EuclidianDistanceConnectionPredicate, LateralEuclidianDistanceConnectionPredicate, LateralLongRangeOrientationConnectionPredicate, RetinotopicOrientationConnectionPredicate, SimilarAttributeConnectionPredicate, and SphereConnectionPredicate.
Definition at line 51 of file ConnectionDecisionPredicateSpecialization.h.
const S* ConnectionDecisionPredicateSpecialization< S, D >::m_sourcePopulation [protected] |
Definition at line 51 of file ConnectionDecisionPredicateSpecialization.h.
Referenced by ConnectionDecisionPredicateSpecialization< AugmentedSpatialPopulation, AugmentedSpatialPopulation >::init().
const D* ConnectionDecisionPredicateSpecialization< S, D >::m_destinationPopulation [protected] |
Definition at line 55 of file ConnectionDecisionPredicateSpecialization.h.
Referenced by ConnectionDecisionPredicateSpecialization< AugmentedSpatialPopulation, AugmentedSpatialPopulation >::init().