[jboss-svn-commits] JBL Code SVN: r25408 - labs/jbossrules/branches/uncDrools5x/drools-core/src/main/java/org/drools.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Feb 24 09:53:29 EST 2009
Author: dsotty
Date: 2009-02-24 09:53:29 -0500 (Tue, 24 Feb 2009)
New Revision: 25408
Added:
labs/jbossrules/branches/uncDrools5x/drools-core/src/main/java/org/drools/IUncertainRuleBase.java
Log:
updates
Added: labs/jbossrules/branches/uncDrools5x/drools-core/src/main/java/org/drools/IUncertainRuleBase.java
===================================================================
--- labs/jbossrules/branches/uncDrools5x/drools-core/src/main/java/org/drools/IUncertainRuleBase.java (rev 0)
+++ labs/jbossrules/branches/uncDrools5x/drools-core/src/main/java/org/drools/IUncertainRuleBase.java 2009-02-24 14:53:29 UTC (rev 25408)
@@ -0,0 +1,30 @@
+/**
+ *
+ */
+package org.drools;
+
+import uncertainty.factory.IDegreeFactory;
+
+/**
+ * @author sotty
+ *
+ */
+public interface IUncertainRuleBase extends RuleBase {
+
+
+ public static final int RETEOO_UNCERTAIN = 11281;
+
+ /**
+ * For coherence reasons, whenever the rules in a RuleBase support uncertainty,
+ * a factory is provided to build the concrete instances of truth degrees.
+ * This allows the same rules to use different types of uncertainty
+ * by changing the centralized factory
+ *
+ * @return A factory to build the concrete truth degrees
+ */
+ public IDegreeFactory getTruthFactory();
+
+
+
+
+}
More information about the jboss-svn-commits
mailing list