Exemplo n.º 1
0
 public OutputStat(string name, double val, CumulationType cumul, bool hidden)
 {
     stat_count = 1;
     stat_name = name;
     stat_value = val;
     stat_hidden = hidden;
     cumulation_type = cumul;
     if (cumulation_type == CumulationType.MIN_MAX_AVG) {
         min_val = stat_value;
         max_val = stat_value;
     }
 }
Exemplo n.º 2
0
 public OutputStat(string name, double val, CumulationType cumul)
     : this(name, val, cumul, false)
 {
 }
Exemplo n.º 3
0
 public void Normalize()
 {
     stat_value = Value;
     stat_count = 1;
     if (cumulation_type == CumulationType.SUM) {
         cumulation_type = CumulationType.AVERAGE;
     }
 }