ELASTICPATHING/SOURCECODE/UbiComp2014/Elastic_Pathing_Code/elastic_path.rb
#Need to remember the path of nodes and the landmarks passed
#Also remember a 'unique id' that describes the turns on this path.
#Also store a hash map to check if a node has been travelled on before.
Need to remember the path of nodes and the landmarks passed
Also remember a 'unique id' that describes the turns on this path.
Also store a hash map to check if a node has been travelled on before.
Need to remember the path of nodes and the landmarks passed Also remember a ' unique id ' that describes the turns on this path . Also store a hash map to check if a node has been travelled on before .
def to_s()
    "ID #{@unique_id}: #{path.length} nodes, with distance to next node #{@progress}" +
       " and total movement distance #{@total_distance} (" +
      "overall/seq/max errors are #{@overall_err}/#{@seq_err}/#{@max_err})"
  end
def to_s ( ) "ID #{@unique_id}: #{path.length} nodes, with distance to next node #{@progress}" + " and total movement distance #{@total_distance} (" + "overall/seq/max errors are #{@overall_err}/#{@seq_err}/#{@max_err})" end
Need to remember the path of nodes and the landmarks passed
Also remember a 'unique id' that describes the turns on this path.
Need to remember the path of nodes and the landmarks passed Also remember a ' unique id ' that describes the turns on this path .