Exemplo n.º 1
0
	def __init__(self,length = 20):
		genes = []
		for i in range(length):
			genes.append(matrixEvolution.formMatrix(2,2))
		self.genes = genes
Exemplo n.º 2
0
 def __init__(self,Iteration):
     self.genes = matrixEvolution.formMatrix(6,2) #makes a matrix of sprecefied size
     self.strength = 0.0 
     self.identification = [0,Iteration]
     self.Iteration = Iteration
	def __init__(self):
		self.genes = matrixEvolution.formMatrix(3,2)
		self.strength = 0.0