高度なバリデータ用の雛形 |
|
To make a validator program using the advanced framework, link validator.C with two application-specific functions:
int check_set(
vector<RESULT> results, DB_WORKUNIT& wu, int& canonicalid,
double& credit, bool& retry
);
Note: use BOINC's back-end utility functions to get file pathnames and to distinguish recoverable and nonrecoverable file-open errors.
int check_pair(RESULT& new_result, RESULT& canonical_result, bool& retry);
Neither function should delete files or access the BOINC database.
A more detailed description is here.
最終更新時刻 00:54:08, 2006年08月12日(JST)
Copyright © 2009 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.
Copyright © 2009 Komori Hitoshi(je2bwm at jarl.com).
Japanese translation from English web pages on BOINC.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.