Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Threading.Tasks;
|
---|
6 |
|
---|
7 | namespace Evaluation
|
---|
8 | {
|
---|
9 | public class SelectionIndicator
|
---|
10 | {
|
---|
11 | public SelectionIndicator()
|
---|
12 | {
|
---|
13 |
|
---|
14 | }
|
---|
15 | public SelectionIndicator(int goodSelections, int totalSelections, int evaluation)
|
---|
16 | {
|
---|
17 | GoodSelections = goodSelections;
|
---|
18 | TotalSelections = totalSelections;
|
---|
19 | Evaluation = evaluation;
|
---|
20 | }
|
---|
21 |
|
---|
22 | public int GoodSelections { get; set; }
|
---|
23 | public int TotalSelections { get; set; }
|
---|
24 |
|
---|
25 | public int Evaluation { get; set; }
|
---|
26 |
|
---|
27 | public double Indicator { get { return Math.Round((double)GoodSelections / TotalSelections, 5); } }
|
---|
28 | }
|
---|
29 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.