Changes between Version 2 and Version 3 of ValidationSimple
- Timestamp:
- Apr 24, 2007, 11:16:19 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ValidationSimple
v2 v3 23 23 extern double compute_granted_credit(WORKUNIT&, vector<RESULT>& results); 24 24 }}} 25 Given a set of results (at least one of which is valid) compute the credit to be granted to all of them. Normally this function simply returns median_mean_credit(results). If [ http://boinc.berkeley.edu/tools_work.phpcredit is specified in the workunit], call get_credit_from_wu().25 Given a set of results (at least one of which is valid) compute the credit to be granted to all of them. Normally this function simply returns median_mean_credit(results). If [WorkGeneration credit is specified in the workunit], call get_credit_from_wu(). 26 26 27 27 You must link these functions with the files validator.C, validate_util.C, and validate_util2.C. The result is your custom validator.