diff options
Diffstat (limited to 'Analizator9000/Analizator9000/IScorer.cs')
-rw-r--r-- | Analizator9000/Analizator9000/IScorer.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Analizator9000/Analizator9000/IScorer.cs b/Analizator9000/Analizator9000/IScorer.cs new file mode 100644 index 0000000..601a822 --- /dev/null +++ b/Analizator9000/Analizator9000/IScorer.cs @@ -0,0 +1,17 @@ +using System.Collections.Generic;
+
+namespace Analizator9000
+{
+ /// <summary>
+ /// Interface for board scoring utilities
+ /// </summary>
+ interface IScorer
+ {
+ /// <summary>
+ /// Main method, takes dictionary of contract scores and calculates board scores for each contract
+ /// </summary>
+ /// <param name="scores">Dictionary of scored contracts</param>
+ /// <returns>Dictionary containing board scores for each contract</returns>
+ Dictionary<Contract, double> scoreBoard(Dictionary<Contract, long> scores);
+ }
+}
|