This website requires JavaScript.
Explore
Help
Sign In
s452422
/
Inteligentna_smieciarka
Watch
5
Star
0
Fork
You've already forked Inteligentna_smieciarka
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
genetic_algorithm
Inteligentna_smieciarka
/
heuristicfn.py
3 lines
100 B
Python
Raw
Permalink
Blame
History
def
heuristicfn
(
startx
,
starty
,
goalx
,
goaly
)
:
return
abs
(
startx
-
goalx
)
+
abs
(
starty
-
goaly
)
Reference in New Issue
View Git Blame
Copy Permalink