From: cvs@openprivacy.orgCVS update: sierra/src/java/org/openprivacy/sierra/rce
Date: Monday January 15, 19101 @ 7:42
Author: burton
CVSWEB Options: -------------------
Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce
-----------------------------------
Update of /usr/local/cvsroot/sierra/src/java/org/openprivacy/sierra/rce
In directory openprivacy.org:/tmp/cvs-serv14603/src/java/org/openprivacy/sierra/rce
Modified Files:
MeanRCE.java
Log Message:
...
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/rce/MeanRCE.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce/MeanRCE.java?annotate=1.4
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce/MeanRCE.java?rev=1.4&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce/MeanRCE.java.diff?r1=1.4&r2=1.3
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/rce/MeanRCE.java
diff -u sierra/src/java/org/openprivacy/sierra/rce/MeanRCE.java:1.3 sierra/src/java/org/openprivacy/sierra/rce/MeanRCE.java:1.4
--- sierra/src/java/org/openprivacy/sierra/rce/MeanRCE.java:1.3 Mon Jan 15 07:13:27 2001
+++ sierra/src/java/org/openprivacy/sierra/rce/MeanRCE.java Mon Jan 15 07:42:14 2001
@@ -31,7 +31,7 @@
*
* @see http://www.openprivacy.org
* @author <a href="mailto:burton@openprivacy.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.3 2001/01/15 15:13:27 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.4 2001/01/15 15:42:14 burton Exp $
*/
public class MeanRCE implements ReputationCalculationEngine {
@@ -42,13 +42,15 @@
*
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.3 2001/01/15 15:13:27 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.4 2001/01/15 15:42:14 burton Exp $
*/
public Reputation getReputation( String reference ) throws ReputationNotFoundException {
Reputation[] reps = map.getReputations( reference );
- //calclulate the mean repuation via ontology.
+ // calclulate the mean repuation for the reference via ontology.
+
+ // TODO: need an LRU object for caching objects
return null;
@@ -58,7 +60,7 @@
*
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.3 2001/01/15 15:13:27 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.4 2001/01/15 15:42:14 burton Exp $
*/
public void putReputation( Reputation reputation ) {
map.putReputation( reputation );
@@ -70,9 +72,8 @@
* Internally stores a mechanism to map references (URIs) to lists of Reputations.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.3 2001/01/15 15:13:27 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.4 2001/01/15 15:42:14 burton Exp $
*/
-
class ReputationPrincipalMap {
private Hashtable references = new Hashtable();
@@ -98,7 +99,7 @@
* Get a Vector of reputations from the references has or return a new one.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.3 2001/01/15 15:13:27 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.4 2001/01/15 15:42:14 burton Exp $
*/
private Vector getVector( String reference ) {
This archive was generated by hypermail 2b30 : Mon Jan 22 2001 - 15:52:15 PST