8.2.15.1.35. _add_initial_value

Solution._add_initial_value(data_id, value, initial_dist=0.0, fringe=None, no_call=None)[source]

Add initial values updating workflow, seen, and fringe.

Parameters:
  • fringe (list[(float | int, bool, (str, Dispatcher)]) – Heapq of closest available nodes.

  • no_call (bool) – If True data node estimation function is not used.

  • data_id (str) – Data node id.

  • value (dict[str, T]) – Data node value e.g., {‘value’: val}.

  • initial_dist (float, int, optional) – Data node initial distance in the ArciDispatch algorithm.

Returns:

True if the data has been visited, otherwise false.

Return type:

bool