(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 += "- G2DList\n"
        ret += "\tList size:\t %s\n" % (self.getSize(),)
        ret += "\tList:\n"
        for line in self.genomeList:
            ret += "\t\t\t"
            for item in line:
                ret += "[%s] " % (item)
            ret += "\n"
        ret += "\n"
        return ret
def __repr__ ( self ) : ret = GenomeBase . __repr__ ( self ) ret += "- G2DList\n" ret += "\tList size:\t %s\n" % ( self . getSize ( ) , ) ret += "\tList:\n" for line in self . genomeList : ret += "\t\t\t" for item in line : ret += "[%s] " % ( item ) ret += "\n" ret += "\n" return ret