public interface BeamSearchContextGenerator<T>
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getContext(int index,
T[] sequence,
java.lang.String[] priorDecisions,
java.lang.Object[] additionalContext)
Returns the context for the specified position in the specified sequence (list).
|
java.lang.String[] getContext(int index, T[] sequence, java.lang.String[] priorDecisions, java.lang.Object[] additionalContext)
index
- The index of the sequence.sequence
- The sequence of items over which the beam search is performed.priorDecisions
- The sequence of decisions made prior to the context for which this decision is being made.additionalContext
- Any addition context specific to a class implementing this interface.Copyright © 2010 - 2020 Adobe. All Rights Reserved