(self, g)
Copy the current contents GTreeNodeBase to 'g'

      :param g: the destination node

      .. note:: If you are planning to create a new chromosome representation, you
                **must** implement this method on your class.
Copy the current contents GTreeNodeBase to 'g'
Copy the current contents GTreeNodeBase to g
def copy(self, g):
      """ Copy the current contents GTreeNodeBase to 'g'

      :param g: the destination node

      .. note:: If you are planning to create a new chromosome representation, you
                **must** implement this method on your class.
      """
      g.parent = self.parent
      g.childs = self.childs[:]
def copy ( self , g ) : g . parent = self . parent g . childs = self . childs [ : ]