eckity.creators.ga_creators.float_vector_creator

 1from eckity.creators.ga_creators.simple_vector_creator import GAVectorCreator
 2from eckity.genetic_encodings.ga.float_vector import FloatVector
 3
 4
 5class GAFloatVectorCreator(GAVectorCreator):
 6	def __init__(self,
 7				 length=1,
 8				 gene_creator=None,
 9				 bounds=(0.0, 1.0),
10				 events=None):
11		super().__init__(length=length,
12						 gene_creator=gene_creator,
13						 bounds=bounds,
14						 vector_type=FloatVector,
15						 events=events)
 6class GAFloatVectorCreator(GAVectorCreator):
 7	def __init__(self,
 8				 length=1,
 9				 gene_creator=None,
10				 bounds=(0.0, 1.0),
11				 events=None):
12		super().__init__(length=length,
13						 gene_creator=gene_creator,
14						 bounds=bounds,
15						 vector_type=FloatVector,
16						 events=events)
GAFloatVectorCreator(length=1, gene_creator=None, bounds=(0.0, 1.0), events=None)
 7	def __init__(self,
 8				 length=1,
 9				 gene_creator=None,
10				 bounds=(0.0, 1.0),
11				 events=None):
12		super().__init__(length=length,
13						 gene_creator=gene_creator,
14						 bounds=bounds,
15						 vector_type=FloatVector,
16						 events=events)