コード例 #1
0
 def __init__(self, value):
     """ Instantiates this binary gene with the given value. """
     Gene.__init__(self, value)
コード例 #2
0
 def __init__(self, contents):
     """ Initialises the components of this sub-matrix. """
     Gene.__init__(
         self, contents)  # Contents is a string grammatical representation.