Class AbstractActorSwapSuggestion

    • Field Detail

      • LOGGER

        protected static Logger LOGGER
        the logger for static methods.
    • Constructor Detail

      • AbstractActorSwapSuggestion

        public AbstractActorSwapSuggestion()
    • Method Detail

      • doSuggest

        protected abstract List<Actor> doSuggest​(Actor current)
        Performs the actual search for candidates.
        Parameters:
        current - the actor to find potential swaps for
        Returns:
        the list of potential swaps
      • suggest

        public List<Actor> suggest​(Actor current)
        Searches for potential candidates for swaps.
        Parameters:
        current - the actor to find potential swaps for
        Returns:
        the list of potential swaps
      • suggestAll

        public static List<Actor> suggestAll​(Actor current)
        Searches for potential candidates for swaps. Applies all potential swap suggestions and combines the results.
        Parameters:
        current - the actor to find potential swaps for
        Returns:
        the list of potential swaps