copy method

  1. @override
GraphBFSState copy()
override

Implementation

@override
GraphBFSState copy() {
  return GraphBFSState(
    startId: startId,
    targetId: targetId,
    coords: HashMap.from(coords),
    edges: HashMap.from(edges),
    parents: HashMap.from(parents),
    nodes: HashMap.from(nodes),
    open: Queue.from(open),
    status: status,
  );
}