From: cvs@openprivacy.orgCVS update: openprivacy/htdocs/notes/reputations
Date: Monday January 29, 19101 @ 17:48
Author: fen
CVSWEB Options: -------------------
Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/reputations
-----------------------------------
Update of /usr/local/cvs/public/openprivacy/htdocs/notes/reputations
In directory giga:/home/fen/projects/openprivacy/htdocs/notes/reputations
Modified Files:
protocol.txt
Log Message:
bias calc
*****************************************************************
File: openprivacy/htdocs/notes/reputations/protocol.txt
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/reputations/protocol.txt?annotate=1.19
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/reputations/protocol.txt?rev=1.19&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/reputations/protocol.txt.diff?r1=1.19&r2=1.18
-----------------------------------
Index: openprivacy/htdocs/notes/reputations/protocol.txt
diff -u openprivacy/htdocs/notes/reputations/protocol.txt:1.18 openprivacy/htdocs/notes/reputations/protocol.txt:1.19
--- openprivacy/htdocs/notes/reputations/protocol.txt:1.18 Mon Jan 29 12:37:42 2001
+++ openprivacy/htdocs/notes/reputations/protocol.txt Mon Jan 29 17:48:36 2001
@@ -1,4 +1,4 @@
-$Id: protocol.txt,v 1.18 2001/01/29 20:37:42 fen Exp $
+$Id: protocol.txt,v 1.19 2001/01/30 01:48:36 fen Exp $
protocol requirements:
@@ -112,3 +112,14 @@
pub: J1
sig: J1(hash(opinion))
]
+
+putReputation(J, rep)
+ Bias b = Biases.get(J)
+ if (b == NULL)
+ b = new:self
+ Biases.put(b)
+ b.putReputation(J, rep)
+
+=== use case 1 ===
+
+A1
This archive was generated by hypermail 2b30 : Mon Jan 29 2001 - 17:48:37 PST