class_docstr: Model object containing the distance for each vertex in the graph to a
  single source vertex, which is specified during
  :func:`turicreate.shortest_path.create`.
  
  The model also allows querying for one of the shortest paths from the source
  vertex to any other vertex in the graph.
  
  Below is a list of queryable fields for this model:
  
  +----------------+------------------------------------------------------------+
  | Field          | Description                                                |
  +================+============================================================+
  | graph          | A new SGraph with the distance as a vertex property        |
  +----------------+------------------------------------------------------------+
  | distance       | An SFrame with each vertex's distance to the source vertex |
  +----------------+------------------------------------------------------------+
  | weight_field   | The edge field for weight                                  |
  +----------------+------------------------------------------------------------+
  | source_vid     | The source vertex id                                       |
  +----------------+------------------------------------------------------------+
  | max_distance   | Maximum distance between any two vertices                  |
  +----------------+------------------------------------------------------------+
  | training_time  | Total training time of the model                           |
  +----------------+------------------------------------------------------------+
  
  This model cannot be constructed directly.  Instead, use
  :func:`turicreate.shortest_path.create` to create an instance
  of this model. A detailed list of parameter options and code samples
  are available in the documentation for the create function.
  
  See Also
  --------
  create
class_docstr_tok: ["Model","object","containing","the","distance","for","each","vertex","in","the","graph","to","a","single","source","vertex",",","which","is","specified","during",":","func",":","`","turicreate.shortest_path.create","`",".","The","model","also","allows","querying","for","one","of","the","shortest","paths","from","the","source","vertex","to","any","other","vertex","in","the","graph",".","Below","is","a","list","of","queryable","fields","for","this","model",":","+","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","Field","|","Description","|","+================+============================================================+","|","graph","|","A","new","SGraph","with","the","distance","as","a","vertex","property","|","+","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","distance","|","An","SFrame","with","each","vertex","'s","distance","to","the","source","vertex","|","+","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","weight_field","|","The","edge","field","for","weight","|","+","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","source_vid","|","The","source","vertex","id","|","+","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","max_distance","|","Maximum","distance","between","any","two","vertices","|","+","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","training_time","|","Total","training","time","of","the","model","|","+","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","This","model","can","not","be","constructed","directly",".","Instead",",","use",":","func",":","`","turicreate.shortest_path.create","`","to","create","an","instance","of","this","model",".","A","detailed","list","of","parameter","options","and","code","samples","are","available","in","the","documentation","for","the","create","function",".","See","Also","--","--","--","--","create"]
docstr: Return results information
  Fields should NOT be wrapped by _precomputed_field
docstr_tok: ["Return","results","information","Fields","should","NOT","be","wrapped","by","_precomputed_field"]
code: def _result_fields(self):
      """
      Return results information
      Fields should NOT be wrapped by _precomputed_field
      """
      ret = super(ShortestPathModel, self)._result_fields()
      ret["vertex distance to the source vertex"] = "SFrame. m.distance"
      return ret
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate
  from turicreate.data_structures.sgraph import SGraph
  from turicreate.toolkits.graph_analytics._model_base import GraphAnalyticsModel
  import copy
label_desc: Use image node_id 2 for calling the ShortestPathModel obj's underlying member method code with example usage: obj._result_fields() and returns: ret