Class RandomRanker
-
- All Implemented Interfaces:
-
com.embabel.agent.spi.Ranker,com.embabel.agent.testing.integration.FakeRanker
public final class RandomRanker implements FakeRanker
-
-
Constructor Summary
Constructors Constructor Description RandomRanker()
-
Method Summary
-
-
Method Detail
-
rank
<T extends Named, Described> Rankings<T> rank(String description, String userInput, Collection<T> rankables)
Rank a set of items based on user input and agent metadata.
- Parameters:
description- Description of the item being rankeduserInput- User input to rank againstrankables- Set of items to rank
-
-
-
-