Zaktualizuj 'DNA.py'
This commit is contained in:
parent
267dc61621
commit
1e695efca7
6
DNA.py
6
DNA.py
@ -4,12 +4,6 @@ from astar import Astar
|
|||||||
from random import shuffle
|
from random import shuffle
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
A = np.zeros((10, 10), dtype=int)
|
|
||||||
|
|
||||||
goals = [[0, 4], [4, 0], [4, 4]]
|
|
||||||
|
|
||||||
recordDistance = 0
|
|
||||||
|
|
||||||
class DNA:
|
class DNA:
|
||||||
|
|
||||||
def __init__(self, target, recordDistance):
|
def __init__(self, target, recordDistance):
|
||||||
|
Loading…
Reference in New Issue
Block a user