提交 23abbcfe 编写于 作者: C ceci3

update sa

上级 35df44ec
...@@ -109,7 +109,7 @@ class SAController(EvolutionaryController): ...@@ -109,7 +109,7 @@ class SAController(EvolutionaryController):
new_tokens = tokens[:] new_tokens = tokens[:]
new_tokens[index] = np.random.randint( new_tokens[index] = np.random.randint(
self._range_table[0][index], self._range_table[0][index],
self._range_table[1][index] + 1) self._range_table[1][index])
else: else:
break break
return new_tokens return new_tokens
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册