class_docstr: Base class for all unsupervised sequence aligners.
class_docstr_tok: ["Base","class","for","all","unsupervised","sequence","aligners","."]
docstr: Return overall distance of alignment.
  
      core logic
  
  Behaviour: returns overall distance corresponding to alignment
      not all aligners will return or implement this (optional)
  Accesses in self:
      Fitted model attributes ending in "_".
  
  Returns
  -------
  distance: float - overall distance between all elements of X passed to fit
docstr_tok: ["Return","overall","distance","of","alignment",".","core","logic","Behaviour",":","returns","overall","distance","corresponding","to","alignment","not","all","aligners","will","return","or","implement","this","(","optional",")","Accesses","in","self",":","Fitted","model","attributes","ending","in","``","_","''",".","Returns","--","--","--","-","distance",":","float","-","overall","distance","between","all","elements","of","X","passed","to","fit"]
code: def _get_distance(self):
      """Return overall distance of alignment.
  
          core logic
  
      Behaviour: returns overall distance corresponding to alignment
          not all aligners will return or implement this (optional)
      Accesses in self:
          Fitted model attributes ending in "_".
  
      Returns
      -------
      distance: float - overall distance between all elements of X passed to fit
      """
      raise NotImplementedError
  
file_path: sktime/sktime/alignment/base.py
imports: from sktime.alignment.utils.utils_align import convert_align_to_align_loc, reindex_iloc
  from sktime.base import BaseEstimator
  from sktime.datatypes import check_is_scitype, convert
label_desc: Use image node_id 11 for calling the BaseAligner obj's underlying member method code with example usage: obj._get_distance() without return types