Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/Evaluation/SelectionIndicator.cs @ 12824

Last change on this file since 12824 was 12824, checked in by aballeit, 9 years ago

#2283 added copy to clipboard function (export for excel)

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