Class TrackNameLookup

java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_data.TrackNameLookup

public class TrackNameLookup extends Object
  • Field Details

    • trackToNameMap

      private static final Map<Track,List<String>> trackToNameMap
      A map linking from each track to the allowed string representations to identify the track. The List order matters: The first string will be the preferred string which will show up in the command line client. The preferred strings must be lower-cased.

      The map is not complete. It contains only the latest version of the most-used tracks.

    • nameToTrackMap

      private static final Map<String,Track> nameToTrackMap
  • Constructor Details

    • TrackNameLookup

      public TrackNameLookup()
  • Method Details

    • add

      private static void add(Track track, String... names)
    • getTrackOptions

      public static List<String> getTrackOptions()
      Get all default string representations for each track. For example, the result will contain "instancematching" but not "instancematching-geolink-cruise" because the latter is not the default identifying name.
      Returns:
      A list of default names.
    • getTrackByString

      public static Track getTrackByString(String trackString)
    • main

      public static void main(String[] args)