GraphState.init constructor

GraphState.init(
  1. ID startId,
  2. ID targetId,
  3. HashMap<ID, (double, double)> coords,
  4. HashMap<ID, List<ID>> edges,
)

Implementation

GraphState.init(
  this.startId,
  this.targetId,
  this.coords,
  this.edges,
)   : parents = HashMap(),
      status = Status.searching,
      nodes = HashMap();