Wrapper for masked and unmasked pools. More...
Public Member Functions | |
| PoolWrapper_ () | |
| ~PoolWrapper_ () | |
| void | define (MaskedLayer< D > *) |
| void | define (std::vector< std::pair< Position< D >, size_t > > *) |
| Ntree< D, size_t >::masked_iterator | masked_begin (const Position< D > &pos) const |
| Ntree< D, size_t >::masked_iterator | masked_end () const |
| std::vector< std::pair< Position< D >, size_t > >::iterator | begin () const |
| std::vector< std::pair< Position< D >, size_t > >::iterator | end () const |
Private Attributes | |
| MaskedLayer< D > * | masked_layer_ |
| std::vector< std::pair< Position< D >, size_t > > * | positions_ |
Wrapper for masked and unmasked pools.
The purpose is to avoid code doubling for cases with and without masks. Essentially, the class works as a fancy union.
| nest::ConnectionCreator::PoolWrapper_< D >::PoolWrapper_ | ( | ) |
| nest::ConnectionCreator::PoolWrapper_< D >::~PoolWrapper_ | ( | ) |
| std::vector< std::pair< Position< D >, size_t > >::iterator nest::ConnectionCreator::PoolWrapper_< D >::begin | ( | ) | const |
Referenced by nest::ConnectionCreator::pairwise_bernoulli_on_source_(), nest::ConnectionCreator::pairwise_bernoulli_on_target_(), and nest::ConnectionCreator::pairwise_poisson_().
| void nest::ConnectionCreator::PoolWrapper_< D >::define | ( | MaskedLayer< D > * | ml | ) |
Referenced by nest::ConnectionCreator::pairwise_bernoulli_on_source_(), nest::ConnectionCreator::pairwise_bernoulli_on_target_(), and nest::ConnectionCreator::pairwise_poisson_().
| void nest::ConnectionCreator::PoolWrapper_< D >::define | ( | std::vector< std::pair< Position< D >, size_t > > * | pos | ) |
| std::vector< std::pair< Position< D >, size_t > >::iterator nest::ConnectionCreator::PoolWrapper_< D >::end | ( | ) | const |
Referenced by nest::ConnectionCreator::pairwise_bernoulli_on_source_(), nest::ConnectionCreator::pairwise_bernoulli_on_target_(), and nest::ConnectionCreator::pairwise_poisson_().
| Ntree< D, size_t >::masked_iterator nest::ConnectionCreator::PoolWrapper_< D >::masked_begin | ( | const Position< D > & | pos | ) | const |
Referenced by nest::ConnectionCreator::pairwise_bernoulli_on_source_(), nest::ConnectionCreator::pairwise_bernoulli_on_target_(), and nest::ConnectionCreator::pairwise_poisson_().
| Ntree< D, size_t >::masked_iterator nest::ConnectionCreator::PoolWrapper_< D >::masked_end | ( | ) | const |
Referenced by nest::ConnectionCreator::pairwise_bernoulli_on_source_(), nest::ConnectionCreator::pairwise_bernoulli_on_target_(), and nest::ConnectionCreator::pairwise_poisson_().
|
private |
|
private |