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