On 10/30/09, Adam Bazinet <[email protected]> wrote: > Hi, > > In the BOINC validator framework, what is the recommended way to validate > just one result? The compare results function takes two results, of course, > so I probably don't want to use that (right?) > > Is there some example code in the documentation or distribution somewhere? > Or would any projects doing single-result validation be willing to share a > template of their code with me? > > Currently we are using a default string comparison validator and the > two_credit function - we're starting with two results/WU, but would like to > cut that down to one for a particular application.
First, like John said, make sure your problem domain actually *has* a way to check, from a single result, if it's valid. >From the programming standpoint, the way you do it is implementing the checking in init_result, and having a no-op compare_results. -- Nicolas _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
