For Babelfish Release 1.11.1.3

ResultEngineSortAsync Method

Sorts the ResultLists's Items array using each participant's absolute score and the specified RankingRule definition. If the status of the ResultList is INTERMEDIATE then it also calculates Projected scores usiing the passed in ProjectorOfScores. It then calculates the projected rank based on the Projected Scores. In most cases, the ResultList.Items array remains sorted by absolute score. However, if the Status is INTERMEDIATE and the parameter listAccordingToProjectedScores is true, then .Items is sorted using the projected scores.

Definition

Namespace: Scopos.BabelFish.DataActors.OrionMatch
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public Task SortAsync(
	ProjectorOfScores ps,
	bool listAccordingToProjectedScores
)

Parameters

ps  ProjectorOfScores
 
listAccordingToProjectedScores  Boolean
 

Return Value

Task

Exceptions

ScoposException Thrown if the function could not learn the Course of Fire or Ranking Rule definitions. Either because the values could not be parsed, don't exists as definitions, or networking errors.

See Also