summaryrefslogtreecommitdiff
path: root/Analizator9000
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2014-12-24 19:11:31 +0000
committeremkael <emkael@tlen.pl>2014-12-24 19:11:31 +0000
commit8338211b242bd0589582eb0be4b4839b6ddebf38 (patch)
treeeab2374cae4a2b2cb621d4d0de6cf8a51d597ca7 /Analizator9000
parent4679b558e7b2d8583ea6f7bb80ca13b195389ff2 (diff)
* removing unused imports
git-svn-id: https://svn.emkael.info/an9k@49 05ec0d5d-773b-4d93-9e23-c81a7ac79feb
Diffstat (limited to 'Analizator9000')
-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
{