eckity.creators.ga_creators.bit_string_vector_creator
1from eckity.creators.ga_creators.simple_vector_creator import GAVectorCreator 2from eckity.genetic_encodings.ga.bit_string_vector import BitStringVector 3 4 5class GABitStringVectorCreator(GAVectorCreator): 6 def __init__(self, 7 length=1, 8 bounds=(0, 1), 9 gene_creator=None, 10 events=None): 11 super().__init__(length=length, bounds=bounds, gene_creator=gene_creator, vector_type=BitStringVector, 12 events=events)
6class GABitStringVectorCreator(GAVectorCreator): 7 def __init__(self, 8 length=1, 9 bounds=(0, 1), 10 gene_creator=None, 11 events=None): 12 super().__init__(length=length, bounds=bounds, gene_creator=gene_creator, vector_type=BitStringVector, 13 events=events)