public interface Policy<T>
| Modifier and Type | Method and Description |
|---|---|
int |
chooseAction(T context)
Determines the action to take for a given context.
|
int chooseAction(T context)
context - A user-defined context for the decisionCopyright © 2016. All Rights Reserved.