PlaceFinderTraverseVisitor Data Type

A TraverseVisitor used in finding various types of places while walking the street graph. TODO Add car and bike parks

Implemented Interfaces
TraverseVisitor
Properties
name data type description
placesFound array of PlaceAtDistance
skipEdgeStrategy SkipEdgeStrategy A SkipEdgeStrategy to be used with this TraverseVisitor. It skips edges when either the maximum number of places or the furthest distance has been reached. However, when the maximum number of places has been reached, it continues searching along other paths until the distance of the place that is furthest away. This is to account for the fact that the a star does not traverse edges ordered by distance.

Example

{
  "placesFound" : [ {
    "place" : { },
    "distance" : 12345.0
  }, {
    "place" : { },
    "distance" : 12345.0
  } ],
  "skipEdgeStrategy" : { }
}