nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
contrib/crazy_moles: intro README.md
[nit.git]
/
lib
/
a_star.nit
diff --git
a/lib/a_star.nit
b/lib/a_star.nit
index
9780e12
..
ba6b45e
100644
(file)
--- a/
lib/a_star.nit
+++ b/
lib/a_star.nit
@@
-316,7
+316,7
@@
class AStarPath[N]
end
# Context related to an evocation of pathfinding
end
# Context related to an evocation of pathfinding
-class PathContext
+abstract class PathContext
serialize
# Type of the nodes in `graph`
serialize
# Type of the nodes in `graph`
@@
-400,7
+400,7
@@
class WeightedLink
end
# Advanced path conditions with customizable accept states
end
# Advanced path conditions with customizable accept states
-class TargetCondition[N: Node]
+abstract class TargetCondition[N: Node]
serialize
# Should the pathfinding accept `node` as a goal?
serialize
# Should the pathfinding accept `node` as a goal?