For Babelfish Release 1.11.1.3

ResultEngine Class

ResultEngine sorts a ResultList

Definition

Namespace: Scopos.BabelFish.DataActors.OrionMatch
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public class ResultEngine
Inheritance
Object    ResultEngine

Constructors

ResultEngine(ResultList) Uses the default RankingRule
ResultEngine(ResultList, RankingRule) Overrides the default RankingRule for the ResultList.

Properties

CompareResultList Sets the Result List to use to calculate the Rank Delta for each participant. The static class ResultListSlidingWindow is written to know which Result List should be set to CompareResultList.

A value of null means dont' calculate a comparision.

CourseOfFire 
DisableScoreProjection Enables or disables projecting scores and ranking participants by their projection. This value is traditionally specified by the COURSE OF FIRE Range Scrip's Command.ResultEngineScoreProjection property. A value of true (to disable) only has an effect if score projection would otherwise be used (e.g. result list status is INTERMEDIATE). A value of false, has no effect.
RankingRule 
ResultList 

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
SortAsync 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.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also