示例#1
0
 private static List <IExam> GetExams()
 {
     return(new List <IExam>
     {
         new ExamTree()
         {
             RootPage = new SimilarPageExam(new List <SimilarPageExam>()
             {
                 new SimilarPageExam(Questions.CHOOSE_SUBJECT, Answers.Subjects.MATH, Answers.Subjects.PHYSICS, 1.15, 0.9),
                 new SimilarPageExam(ExamPages.FROM_WHAT_BEGIN()),
                 new SimilarPageExam(Questions.TRY_TO_CHEAT, Answers.YES, Answers.NO, 0.5, 1.5),
             }),
             Type = ExamType.EIT,
             ExclusionProbability = 0.5
         },
         new ExamTree()
         {
             RootPage = new SimilarPageExam(Questions.CHOOSE_SUBJECT, Answers.Subjects.LITERATURE,
                                            Answers.Subjects.SPANISH, 0.75, 0.9, FullExamPages.DoNotKnowAnswersContinueBomb()),
             Type = ExamType.Universal,
             ExclusionProbability = 0.5
         },
         new ExamTree()
         {
             RootPage = FullExamPages.MathChemistryAskHelp(),
             Type = ExamType.EIT,
             ExclusionProbability = 0.5
         },
     });
 }
示例#2
0
        public static ExamPage AskForHelpDenisAnton(double coefHelp = 1.4, double coefNoHelp = 1)
        {
            ExamPage page = ExamPages.ASK_FOR_HELP();

            page.LeftPage            = ExamPages.ASK_HELP_ANTON_DENIS();
            page.RightPage           = ExamPages.HELP_FRIEND(coefHelp, coefNoHelp);
            page.RightPage.LeftPage  = ExamPages.ONE_MINUTE_LEFT();
            page.RightPage.RightPage = ExamPages.ONE_MINUTE_LEFT(1, 0.66);
            return(page);
        }
示例#3
0
        public static ExamPage DoNotKnowAnswersContinueBomb()
        {
            ExamPage currPage;
            ExamPage page = ExamPages.DONT_KNOW_ANSWERS_CONTINUE();

            currPage           = page.RightPage = ExamPages.REPORT_ABOUT_BOMB();
            currPage           = currPage.LeftPage = ExamPages.POLICE_FOUND_NO_BOMB();
            currPage.RightPage = ExamPages.BLAME_ANTON_DENIS();
            return(page);
        }
示例#4
0
        public static ExamPage MathChemistryAskHelp()
        {
            ExamPage leftPage, rightPage;
            ExamPage page = ExamPages.CHOOSE_CHEMISTRY_MATH();

            leftPage            = page.LeftPage = ExamPages.H2O_IS();
            rightPage           = page.RightPage = ExamPages.MINUS_1_MINUS_1();
            leftPage.LeftPage   = AskForHelpDenisAnton(0.45, 1.1);
            leftPage.RightPage  = AskForHelpDenisAnton(1.5, 0.8);
            rightPage.RightPage = AskForHelpDenisAnton(0.5, 1.2);
            rightPage.LeftPage  = AskForHelpDenisAnton(1.85, 0.82);
            return(page);
        }