a_star :: Link :: defaultinit
# Link between two nodes and associated to a graph
class Link
serialize
# Type of the nodes in `graph`
type N: Node
# Type of the other links in `graph`
type L: Link
# The graph to which belongs `self`
var graph: Graph[N, L]
# Origin of this link
var from: N
# Endpoint of this link
var to: N
init
do
graph.add_link(self)
end
end
lib/a_star/a_star.nit:220,1--243,3