Class DirectionsModifier

  • public class DirectionsModifier
    extends java.lang.Object
    It represents a modification applied to a graph in order to compute a @{link Route} The basic modifier is considered to be an Action represented by a @{link Actions} options and elements represented by a list of @{link TagModifier} instances where this action would be applied. An example of modifier could be:
         List<TagModifier> prioritizeTags = new ArrayList<>();
         prioritizeTags.add(new TagModifier.Builder().tag("Public").build());
         DirectionsModifier modifier =  new DirectionsModifier.Builder()
    • Method Detail

      • getTags

        public java.util.List<TagModifier> getTags()
        List of elements (tags) that identify the links taking into consideration when applying DirectionsModifier operations.
      • getTagsString

        public java.util.List<java.lang.String> getTagsString()
        List of tags as strings
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object