(self)
return newcopy
Return a new instace copy of the genome

      Example:
         >>> g = G1DBinaryString(5)
         >>> for i in xrange(len(g)):
         ...    g.append(1)
         >>> clone = g.clone()
         >>> clone[0]
         1

      :rtype: the G1DBinaryString instance clone
Return a new instace copy of the genome
Return a new instace copy of the genome
def clone(self):
      """ Return a new instace copy of the genome

      Example:
         >>> g = G1DBinaryString(5)
         >>> for i in xrange(len(g)):
         ...    g.append(1)
         >>> clone = g.clone()
         >>> clone[0]
         1

      :rtype: the G1DBinaryString instance clone

      """
      newcopy = G1DBinaryString(self.getListSize())
      self.copy(newcopy)
      return newcopy
def clone ( self ) : newcopy = G1DBinaryString ( self . getListSize ( ) ) self . copy ( newcopy ) return newcopy