Changeset 231b0fd in git for factory/ffreval.h
- Timestamp:
- Sep 13, 2010, 4:40:35 PM (13 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 018577ef150959aa2cb45fc6f4167e9ef1096972
- Parents:
- 139b671c6c11958a1f538c95dc0ade26520e76b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/ffreval.h
r139b67 r231b0fd 6 6 #include "canonicalform.h" 7 7 #include "cf_eval.h" 8 #include "cf_reval.h" 8 9 9 10 … … 17 18 { 18 19 for( int i=min; i<=max; i++ ) 19 values[i] = start[i] = gen->generate(); //generate random point 20 21 nextpoint(); 20 values[i] = start[i] = 0; 21 } 22 FFREvaluation( int min, int max, const AlgExtRandomF & sample ) : REvaluation( min, max, sample ), start( min, max ) 23 { 24 for( int i=min; i<=max; i++ ) 25 values[i] = start[i] = 0; 26 } 27 FFREvaluation( int min, int max, const GFRandom & sample ) : REvaluation( min, max, sample ), start( min, max ) 28 { 29 for( int i=min; i<=max; i++ ) 30 values[i] = start[i] = 0; 22 31 } 23 32 FFREvaluation& operator= ( const FFREvaluation & e );
Note: See TracChangeset
for help on using the changeset viewer.