예제 #1
0
파일: tree.py 프로젝트: wdobbels/CAAPR
    def copy(self, g):
        """ Copy the contents to the destination g
        :param g: the GTreeNode genome destination
        """

        GTreeNodeBase.copy(self, g)
        g.node_data = self.node_data
예제 #2
0
    def copy(self, g):

        """ Copy the contents to the destination g
        :param g: the GTreeNode genome destination
        """

        GTreeNodeBase.copy(self, g)
        g.node_data = self.node_data
예제 #3
0
파일: tree.py 프로젝트: wdobbels/CAAPR
    def __repr__(self):

        str_repr = GTreeNodeBase.__repr__(self)
        str_repr += " - [%s]" % self.node_data
        return str_repr
예제 #4
0
    def __repr__(self):

        str_repr = GTreeNodeBase.__repr__(self)
        str_repr += " - [%s]" % self.node_data
        return str_repr