Class DynamicOptionGroupDeterminer

    • Constructor Detail

      • DynamicOptionGroupDeterminer

        public DynamicOptionGroupDeterminer​(List<Option> dynamicTransportOptions)
    • Method Detail

      • decideGroup

        public String decideGroup​(Event event)
        Deciding the group of a given event and returning a unique identifier to identify the group. A correct implementation of this method should be returning the same group identifier for all events belongs a give group.
        Specified by:
        decideGroup in interface OutputGroupDeterminer
        Parameters:
        event - Event that needs to be decided to which group it belongs to
        Returns:
        Unique Identifier to identify the group of the event