summaryrefslogtreecommitdiff
path: root/Analizator9000/Analizator9000/IScorer.cs
blob: 601a8226173a89c420c0769817d36b395caf60f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
    }
}