Logo Search packages:      
Sourcecode: python-biopython version File versions

def Bio::GA::Crossover::GeneralPoint::InterleaveCrossover::_generate_locs (   self,
) [private]

Generalized Location Generator:
 bound (int)   - upper bound 
   returns: [0]+x_0...x_n+[bound]
 where n=self._npoints-1
 and 0 < x_0 < x_1 ... < bound

Reimplemented from Bio::GA::Crossover::GeneralPoint::GeneralPointCrossover.

Definition at line 169 of file GeneralPoint.py.

00169                                   :
      return range(-1,bound+1)
    def _crossover( self, x, no, locs ):

Generated by  Doxygen 1.6.0   Back to index