Esempio n. 1
0
        public static void calculate(string name)
        {
            var stats = new TestStats(name);

            stats.read_data();

            Serialization.serialize(stats, Serialization.testsFolder + name + "/", Serialization.testStatsFileName);
        }
Esempio n. 2
0
        public void serialize(string folderName)
        {
            string folder = folderName + Serialization.listsFolder;

            Directory.CreateDirectory(folder);

            Serialization.serialize(correct, folder, "correct.xml");
            Serialization.serialize(incorrect, folder, "incorrect.xml");

            Serialization.serialize(positive, folder, "positive.xml");
            Serialization.serialize(negative, folder, "negative.xml");

            Serialization.serialize(positiveCorrect, folder, "positiveCorrect.xml");
            Serialization.serialize(negativeCorrect, folder, "negativeCorrect.xml");

            Serialization.serialize(positiveIncorrect, folder, "positiveIncorrect.xml");
            Serialization.serialize(negativeIncorrect, folder, "negativeIncorrect.xml");
        }
Esempio n. 3
0
        public void serialize(string folderName, int blockCount)
        {
            string folder = folderName + "block" + blockCount.ToString() + "/";

            Directory.CreateDirectory(folder);

            Serialization.serialize(this, folder, Serialization.blockFile);

            Serialization.serialize(prefilteredGuesses, folder, Serialization.originalGuessesFile);

            Serialization.serialize(guesses, folder, Serialization.filteredGuessesFile);
            Serialization.serialize(adjustedGuesses, folder, Serialization.adjustedGuessesFile);

            lists.serialize(folder);

            Serialization.serialize(stats, folder, Serialization.statsFileName);
            Serialization.serialize(statsAdjusted, folder, Serialization.statsAdjustedFileName);

            Serialization.serialize(penalties, folder, "penalties.xml");
        }
Esempio n. 4
0
 void serialize_this(string resultFolder)
 {
     Directory.CreateDirectory(resultFolder);
     Serialization.serialize(this, resultFolder, Serialization.resultsFileName);
 }
Esempio n. 5
0
 void serialize_sd_groups(string resultFolder)
 {
     Serialization.serialize(blockRunGroups, resultFolder, Serialization.sdGroupsFileName);
 }
Esempio n. 6
0
 void serialize_stats(string resultFolder)
 {
     Serialization.serialize(stats, resultFolder, Serialization.statsFileName);
 }
Esempio n. 7
0
 void serialize_test(string resultFolder)
 {
     Serialization.serialize(testTaken, resultFolder, Serialization.testTakenFileName);
 }
Esempio n. 8
0
 void serialize_guesses(string resultFolder)
 {
     Serialization.serialize(allGuesses, resultFolder, Serialization.guessFile);
 }