popution[=2
history=[]
forstepinraeps):
new_popution=popution.copy()
foriinrange(pop_size):
ifpopution[==2:
#试着影响k随机接触者
tacts=random.sample(range(pop_size),k=5)
fortacts:
ifpopution[c]==0:
内容未完,下一页继续阅读