Rev | Line | |
---|
[12815] | 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 | {
|
---|
[12824] | 11 | public SelectionIndicator()
|
---|
| 12 | {
|
---|
| 13 |
|
---|
| 14 | }
|
---|
[12840] | 15 | public SelectionIndicator(int goodSelections, int totalSelections, int evaluation)
|
---|
[12815] | 16 | {
|
---|
| 17 | GoodSelections = goodSelections;
|
---|
| 18 | TotalSelections = totalSelections;
|
---|
[12840] | 19 | Evaluation = evaluation;
|
---|
[12815] | 20 | }
|
---|
| 21 |
|
---|
| 22 | public int GoodSelections { get; set; }
|
---|
| 23 | public int TotalSelections { get; set; }
|
---|
| 24 |
|
---|
[12840] | 25 | public int Evaluation { get; set; }
|
---|
| 26 |
|
---|
[12815] | 27 | public double Indicator { get { return Math.Round((double)GoodSelections / TotalSelections, 5); } }
|
---|
| 28 | }
|
---|
| 29 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.