public interface IDfResultsManipulator
Modifier and Type | Method and Description |
---|---|
IDfResultRaterFactory |
newPerceptualRaterFactory(IDfResultRaterConfig resultRaterConfig,
IDfPerceptualRaterConfig perceptualRaterConfig)
Creates an IDfResultRaterFactory that implements the IPR algorithm (Incremental Perceptual Ranking).
|
IDfResultsSet |
sortBy(IDfResultsSet results,
java.util.Comparator comparer)
Gets a sorted view of the specified list of results, sorted according to a provided comparator.
|
IDfResultsSet |
sortBy(IDfResultsSet results,
java.lang.String attrName,
boolean ascend)
Gets a view of the specified list of results, sorted by a specific attribute.
|
IDfResultsSet sortBy(IDfResultsSet results, java.lang.String attrName, boolean ascend)
results
- A list of results.attrName
- The name of the attribute to sort by.ascend
- true
, to sort in the ascendant order, false
to sort by the reverse order.IDfResultsSet sortBy(IDfResultsSet results, java.util.Comparator comparer)
results
- a list of resultscomparer
- a custom comparerIDfResultRaterFactory newPerceptualRaterFactory(IDfResultRaterConfig resultRaterConfig, IDfPerceptualRaterConfig perceptualRaterConfig)
resultRaterConfig
- The rating configuration which tunes precisely the different factors used by the IPR algorithm.perceptualRaterConfig
- The configuration of the algorithm criteria weights.Copyright 1994-2023 OpenText Corporation. All rights reserved.