summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Analizator9000/Analizator9000/Accumulator.cs2
-rw-r--r--Analizator9000/Analizator9000/BCalcWrapper.cs3
-rw-r--r--Analizator9000/Analizator9000/Contract.cs3
-rw-r--r--Analizator9000/Analizator9000/DealerParser.cs1
-rw-r--r--Analizator9000/Analizator9000/DealerWrapper.cs3
-rw-r--r--Analizator9000/Analizator9000/ImpScorer.cs1
-rw-r--r--Analizator9000/Analizator9000/MaxScorer.cs3
-rw-r--r--Analizator9000/Analizator9000/Program.cs2
-rw-r--r--Analizator9000/Analizator9000/ScoreAccumulator.cs5
-rw-r--r--Analizator9000/Analizator9000/Utils.cs3
10 files changed, 6 insertions, 20 deletions
diff --git a/Analizator9000/Analizator9000/Accumulator.cs b/Analizator9000/Analizator9000/Accumulator.cs
index 3f52a8c..00e7d23 100644
--- a/Analizator9000/Analizator9000/Accumulator.cs
+++ b/Analizator9000/Analizator9000/Accumulator.cs
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.IO;
namespace Analizator9000
diff --git a/Analizator9000/Analizator9000/BCalcWrapper.cs b/Analizator9000/Analizator9000/BCalcWrapper.cs
index fb8a87f..9c0a5fa 100644
--- a/Analizator9000/Analizator9000/BCalcWrapper.cs
+++ b/Analizator9000/Analizator9000/BCalcWrapper.cs
@@ -1,7 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
diff --git a/Analizator9000/Analizator9000/Contract.cs b/Analizator9000/Analizator9000/Contract.cs
index 26e1d07..1920b79 100644
--- a/Analizator9000/Analizator9000/Contract.cs
+++ b/Analizator9000/Analizator9000/Contract.cs
@@ -1,7 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
namespace Analizator9000
{
diff --git a/Analizator9000/Analizator9000/DealerParser.cs b/Analizator9000/Analizator9000/DealerParser.cs
index b542554..e6cadad 100644
--- a/Analizator9000/Analizator9000/DealerParser.cs
+++ b/Analizator9000/Analizator9000/DealerParser.cs
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using System.Text;
using System.IO;
using System.Text.RegularExpressions;
diff --git a/Analizator9000/Analizator9000/DealerWrapper.cs b/Analizator9000/Analizator9000/DealerWrapper.cs
index e7ade21..15db4d2 100644
--- a/Analizator9000/Analizator9000/DealerWrapper.cs
+++ b/Analizator9000/Analizator9000/DealerWrapper.cs
@@ -1,11 +1,8 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Text;
using System.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;
-using System.Globalization;
namespace Analizator9000
{
diff --git a/Analizator9000/Analizator9000/ImpScorer.cs b/Analizator9000/Analizator9000/ImpScorer.cs
index 83bef94..2f3671e 100644
--- a/Analizator9000/Analizator9000/ImpScorer.cs
+++ b/Analizator9000/Analizator9000/ImpScorer.cs
@@ -1,4 +1,5 @@
using System;
+
namespace Analizator9000
{
/// <summary>
diff --git a/Analizator9000/Analizator9000/MaxScorer.cs b/Analizator9000/Analizator9000/MaxScorer.cs
index 8d3b8a9..e92f506 100644
--- a/Analizator9000/Analizator9000/MaxScorer.cs
+++ b/Analizator9000/Analizator9000/MaxScorer.cs
@@ -24,6 +24,7 @@
protected override double getDivisorFromScoreCount(int scoreCount)
{
return 2.0 * (scoreCount - 1);
- }
+ }
+
}
}
diff --git a/Analizator9000/Analizator9000/Program.cs b/Analizator9000/Analizator9000/Program.cs
index b8c04a6..63e01c2 100644
--- a/Analizator9000/Analizator9000/Program.cs
+++ b/Analizator9000/Analizator9000/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Analizator9000
diff --git a/Analizator9000/Analizator9000/ScoreAccumulator.cs b/Analizator9000/Analizator9000/ScoreAccumulator.cs
index f850e63..4dfad73 100644
--- a/Analizator9000/Analizator9000/ScoreAccumulator.cs
+++ b/Analizator9000/Analizator9000/ScoreAccumulator.cs
@@ -97,8 +97,9 @@ namespace Analizator9000
sw.WriteLine(" KONTRAKT LEWY ZAPIS MAX IMP ");
foreach (KeyValuePair<Contract, long> tricks in this.trickSums)
{
- sw.WriteLine(" {0,6} (x{1,3}) {2,5:0.00} {3,9:0.00} {4,5:0.00} {5,7:0.00} ", this.getContractLogLine(tricks.Key), tricks.Key.Frequency,
- tricks.Value / this.dealsScored, this.scoreSums[tricks.Key] / this.dealsScored,
+ sw.WriteLine(" {0,6} (x{1,3}) {2,5:0.00} {3,9:0.00} {4,5:0.00} {5,7:0.00} ",
+ this.getContractLogLine(tricks.Key), tricks.Key.Frequency,
+ (double)tricks.Value / this.dealsScored, (double)this.scoreSums[tricks.Key] / this.dealsScored,
this.maxScoreSums[tricks.Key] / this.dealsScored, this.impScoreSums[tricks.Key] / this.dealsScored);
}
sw.Close();
diff --git a/Analizator9000/Analizator9000/Utils.cs b/Analizator9000/Analizator9000/Utils.cs
index 0cca0a5..4043a04 100644
--- a/Analizator9000/Analizator9000/Utils.cs
+++ b/Analizator9000/Analizator9000/Utils.cs
@@ -1,7 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
namespace Analizator9000
{