spielwiese
Last change
on this file since afd067 was
afd067,
checked in by Hans Schönemann <hannes@…>, 19 years ago
|
*hannes: gcd/ezgcd revisited
(fac_ezgcd.cc: OPTIMALVAR, cf_reval.cc: MORE_ZEROES)
git-svn-id: file:///usr/local/Singular/svn/trunk@8542 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
739 bytes
|
Line | |
---|
1 | /* emacs edit mode for this file is -*- C++ -*- */ |
---|
2 | /* $Id: cf_reval.h,v 1.4 2005-08-22 17:24:01 Singular Exp $ */ |
---|
3 | |
---|
4 | #ifndef INCL_CF_REVAL_H |
---|
5 | #define INCL_CF_REVAL_H |
---|
6 | |
---|
7 | #include <config.h> |
---|
8 | |
---|
9 | #include "canonicalform.h" |
---|
10 | #include "cf_eval.h" |
---|
11 | #include "cf_random.h" |
---|
12 | |
---|
13 | /*BEGINPUBLIC*/ |
---|
14 | |
---|
15 | class REvaluation : public Evaluation |
---|
16 | { |
---|
17 | private: |
---|
18 | CFRandom * gen; |
---|
19 | int cnt; |
---|
20 | public: |
---|
21 | REvaluation() : Evaluation(), gen(0) {} |
---|
22 | REvaluation( int min, int max, const CFRandom & sample ) : Evaluation( min, max ), gen( sample.clone() ) { cnt=1;} |
---|
23 | REvaluation( const REvaluation & e ); |
---|
24 | ~REvaluation(); |
---|
25 | REvaluation& operator= ( const REvaluation & e ); |
---|
26 | void nextpoint(); |
---|
27 | void nextpoint_0(); |
---|
28 | }; |
---|
29 | |
---|
30 | /*ENDPUBLIC*/ |
---|
31 | |
---|
32 | #endif /* ! INCL_CF_REVAL_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.