Class SetMatchesBufferTests
Inheritance
SetMatchesBufferTests
Syntax
public class SetMatchesBufferTests
Methods
Add(Int32)
Declaration
public void Add(int setSize)
Parameters
Type |
Name |
Description |
Int32 |
setSize |
|
ChooseHighestRated_WithFirstBehavior(List<KeyValuePair<Int32, Single>[]>, List<Single>, KeyValuePair<Int32, Single>)
Declaration
public void ChooseHighestRated_WithFirstBehavior(List<KeyValuePair<int, float>[]> hypotheses, List<float> ratings, KeyValuePair<int, float> expectedIndexToRating)
Parameters
ChooseHighestRated_WithRandomBehavior(List<KeyValuePair<Int32, Single>[]>, List<Single>, KeyValuePair<Int32, Single>)
Declaration
public void ChooseHighestRated_WithRandomBehavior(List<KeyValuePair<int, float>[]> hypotheses, List<float> ratings, KeyValuePair<int, float> expectedIndexToRating)
Parameters
Constructor(Int32, Int32)
Declaration
public void Constructor(int capacity, int setSize)
Parameters
Type |
Name |
Description |
Int32 |
capacity |
|
Int32 |
setSize |
|
FindHighestRated_HasTies(List<KeyValuePair<Int32, Single>[]>, List<Single>, KeyValuePair<Single, Int32[]>)
Declaration
public void FindHighestRated_HasTies(List<KeyValuePair<int, float>[]> hypotheses, List<float> ratings, KeyValuePair<float, int[]> expectedRatingToIndices)
Parameters
FindHighestRated_NoTies(List<KeyValuePair<Int32, Single>[]>, List<Single>, KeyValuePair<Single, Int32>)
Declaration
public void FindHighestRated_NoTies(List<KeyValuePair<int, float>[]> hypotheses, List<float> ratings, KeyValuePair<float, int> expectedRatingToIndex)
Parameters