successors method

  1. @override
Iterable<(Pos, double)> successors(
  1. Pos node
)
override

Returns each distinct node that is a direct successor of the given node.

The order of the nodes in the returned iterable is not guaranteed to be consistent between calls to this method, and the returned iterable may contain any number of nodes, including zero if node has no successors.

Implementation

@override
Iterable<(Pos, double)> successors(Pos node) {
  return _GridSuccessorsIterable(this, node);
}