update dict
[QFreeRecite.git] / src / core / Stress.h
blob58d0280f28fafe4e1adaec78e5421fae435a13a5
1 /**
2 * FileName: Stress.h
3 * Used to test the stress words.
5 * Copyright (C) 2008 Kermit Mei<kermit.mei@gmail.com>.
6 * All Rights Reserved.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 3 as
10 * published by the Free Software Foundation.
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 3 of the License.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation.
25 * Written by Kermit Mei <kermit.mei@gmail.com>
27 * Many of the ideas implemented here are from the author's experiment.
28 * But the dictionary's format coincide with the other word recite software
29 * to help the users get more available data. And the review times designed
30 * by means of the theory named Forgetting Curve which dicoveried by the
31 * German psychologist named Hermann Ebbinghaus(1850–1909).
33 **/
35 #ifndef STRESS_H_
36 #define STRESS_H_
38 #include <set>
39 #include "Tester.h"
40 #include "Debug.h"
42 namespace freeRecite {
44 class Stress : public Tester
46 public:
47 Stress()
48 { /* Do Nothing Here! */ }
49 virtual ~Stress()
50 { D_OUTPUT("~Stress()"); }
51 //Load the task. This method is a implementation of Scnner::load();
52 bool load();
53 void test(bool result);
54 virtual bool remove(const std::string &word);
57 } //End of namespace freeRecite.
59 #endif //STRESS_H_