(self)
return ret
Return a string representation of Genome
Return a string representation of Genome
Return a string representation of Genome
def __repr__(self):
      """ Return a string representation of Genome """
      ret = GenomeBase.__repr__(self)
      ret += "- G1DBinaryString\n"
      ret += "\tString length:\t %s\n" % (self.getListSize(),)
      ret += "\tString:\t\t %s\n\n" % (self.getBinary(),)
      return ret
def __repr__ ( self ) : ret = GenomeBase . __repr__ ( self ) ret += "- G1DBinaryString\n" ret += "\tString length:\t %s\n" % ( self . getListSize ( ) , ) ret += "\tString:\t\t %s\n\n" % ( self . getBinary ( ) , ) return ret