source:
git/factory/cf_reval.h
@
e4fe2b
Last change on this file since e4fe2b was e4fe2b, checked in by , 12 years ago | |
---|---|
|
|
File size: 707 bytes |
Rev | Line | |
---|---|---|
[493c477] | 1 | /* emacs edit mode for this file is -*- C++ -*- */ |
[341696] | 2 | /* $Id$ */ |
[2dd068] | 3 | |
[493c477] | 4 | #ifndef INCL_CF_REVAL_H |
5 | #define INCL_CF_REVAL_H | |
[2dd068] | 6 | |
[e4fe2b] | 7 | // #include "config.h" |
[b973c0] | 8 | |
[2dd068] | 9 | #include "canonicalform.h" |
10 | #include "cf_eval.h" | |
11 | #include "cf_random.h" | |
12 | ||
13 | /*BEGINPUBLIC*/ | |
14 | ||
15 | class REvaluation : public Evaluation | |
16 | { | |
[49f1f45] | 17 | protected: // neeeded in FFREvaluation |
[2dd068] | 18 | CFRandom * gen; |
19 | public: | |
20 | REvaluation() : Evaluation(), gen(0) {} | |
[3fe8ed4] | 21 | REvaluation( int min0, int max0, const CFRandom & sample ) : Evaluation( min0, max0 ), gen( sample.clone() ) {} |
[2dd068] | 22 | REvaluation( const REvaluation & e ); |
23 | ~REvaluation(); | |
24 | REvaluation& operator= ( const REvaluation & e ); | |
25 | void nextpoint(); | |
[38ac8c] | 26 | void nextpoint(int n); |
[2dd068] | 27 | }; |
28 | ||
29 | /*ENDPUBLIC*/ | |
30 | ||
[493c477] | 31 | #endif /* ! INCL_CF_REVAL_H */ |
Note: See TracBrowser
for help on using the repository browser.