- Added interfaces for the more interesting Arachne claim checks.

This commit is contained in:
ccremers 2004-08-27 14:48:58 +00:00
parent fd3769d683
commit 68bbdc2794
2 changed files with 9 additions and 1 deletions

View File

@ -542,7 +542,7 @@ int arachne_runs_agree (const System sys, const Claimlist cl, const Termmap runs
* Per default, occurs in run 0, but for generality we have left the run parameter in. * Per default, occurs in run 0, but for generality we have left the run parameter in.
*@returns 1 if the claim is true, 0 if it is not. *@returns 1 if the claim is true, 0 if it is not.
*/ */
int arachne_claim_agree (const System sys, const int claim_run, const int claim_index) int arachne_claim_niagree (const System sys, const int claim_run, const int claim_index)
{ {
Claimlist cl; Claimlist cl;
Roledef rd; Roledef rd;
@ -596,3 +596,9 @@ int arachne_claim_agree (const System sys, const int claim_run, const int claim_
return flag; return flag;
} }
//! Test nisynch
int arachne_claim_nisynch (const System sys, const int claim_run, const int claim_index)
{
//!@todo For now, only agreement claim
return arachne_claim_niagree (sys, claim_run, claim_index);
}

View File

@ -3,5 +3,7 @@
int check_claim_nisynch (const System sys, const int i); int check_claim_nisynch (const System sys, const int i);
int check_claim_niagree (const System sys, const int i); int check_claim_niagree (const System sys, const int i);
int arachne_claim_niagree (const System sys, const int claim_run, const int claim_index);
int arachne_claim_nisynch (const System sys, const int claim_run, const int claim_index);
#endif #endif