|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnars.inference.UtilityFunctions
nars.inference.TruthFunctions
public final class TruthFunctions
All truth-value (and desire-value) functions used in inference rules
| Constructor Summary | |
|---|---|
TruthFunctions()
|
|
| Method Summary | |
|---|---|
(package private) static TruthValue |
abduction(TruthValue v1,
TruthValue v2)
{ M>} |- |
(package private) static TruthValue |
analogy(TruthValue v1,
TruthValue v2)
{ |
(package private) static TruthValue |
comparison(TruthValue v1,
TruthValue v2)
{ |
(package private) static TruthValue |
contraposition(TruthValue v1)
{ B>} |- <(--, B) ==> (--, A)> |
(package private) static TruthValue |
conversion(TruthValue v1)
{ B>} |- A> |
(package private) static TruthValue |
deduction(TruthValue v1,
TruthValue v2)
{ |
(package private) static TruthValue |
desireDed(TruthValue v1,
TruthValue v2)
A function specially designed for desire value [To be refined] |
(package private) static TruthValue |
desireInd(TruthValue v1,
TruthValue v2)
A function specially designed for desire value [To be refined] |
(package private) static TruthValue |
desireStrong(TruthValue v1,
TruthValue v2)
A function specially designed for desire value [To be refined] |
(package private) static TruthValue |
desireWeak(TruthValue v1,
TruthValue v2)
A function specially designed for desire value [To be refined] |
(package private) static TruthValue |
difference(TruthValue v1,
TruthValue v2)
{ |
(package private) static TruthValue |
exemplification(TruthValue v1,
TruthValue v2)
{ M>} |- |
(package private) static TruthValue |
existAnalogy(TruthValue v1,
TruthValue v2)
{(&&, <#x() ==> M>, <#x() ==> P>), S ==> M} |- |
(package private) static TruthValue |
implied(TruthValue v1)
{ B>, B} |- A |
(package private) static TruthValue |
implying(TruthValue v1)
{ B>, A} |- B |
(package private) static TruthValue |
induction(TruthValue v1,
TruthValue v2)
{ |
(package private) static TruthValue |
intersection(TruthValue v1,
TruthValue v2)
{ |
(package private) static TruthValue |
negation(TruthValue v1)
{A} |- (--A) |
(package private) static TruthValue |
negImply(TruthValue v1)
{ (--, B)>, A} |- B |
(package private) static TruthValue |
reduceConjunction(TruthValue v1,
TruthValue v2)
{(--, (&&, A, B)), B} |- (--, A) |
(package private) static TruthValue |
reduceConjunctionNeg(TruthValue v1,
TruthValue v2)
{(--, (&&, A, (--, B))), (--, B)} |- (--, A) |
(package private) static TruthValue |
reduceDisjunction(TruthValue v1,
TruthValue v2)
{(||, A, B), (--, B)} |- A |
(package private) static TruthValue |
resemblance(TruthValue v1,
TruthValue v2)
{ |
(package private) static TruthValue |
revision(TruthValue v1,
TruthValue v2)
{ |
(package private) static TruthValue |
temporalRevision(TruthValue v1,
TruthValue v2,
long t1,
long t2,
long t)
Revision weighted by time difference |
(package private) static TruthValue |
union(TruthValue v1,
TruthValue v2)
{ |
| Methods inherited from class nars.inference.UtilityFunctions |
|---|
and, aveAri, aveGeo, or, w2c |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TruthFunctions()
| Method Detail |
|---|
static TruthValue conversion(TruthValue v1)
v1 - Truth value of the premise
static TruthValue negation(TruthValue v1)
v1 - Truth value of the premise
static TruthValue contraposition(TruthValue v1)
v1 - Truth value of the premise
static TruthValue implying(TruthValue v1)
v1 - Truth value of the premise
static TruthValue implied(TruthValue v1)
v1 - Truth value of the premise
static TruthValue negImply(TruthValue v1)
v1 - Truth value of the premise
static TruthValue revision(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue temporalRevision(TruthValue v1,
TruthValue v2,
long t1,
long t2,
long t)
v1 - Truth value of the first premisev2 - Truth value of the second premiset1 - Creation time of the first truth valuet2 - Creation time of the second truth valuet - Target time of the resulting truth value
static TruthValue deduction(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue analogy(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue resemblance(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue abduction(TruthValue v1,
TruthValue v2)
M>} |- P>
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue induction(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue exemplification(TruthValue v1,
TruthValue v2)
M>} |- P>
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue comparison(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue desireStrong(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue desireWeak(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue desireDed(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue desireInd(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue union(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue intersection(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue difference(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue reduceDisjunction(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue reduceConjunction(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue reduceConjunctionNeg(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
static TruthValue existAnalogy(TruthValue v1,
TruthValue v2)
v1 - Truth value of the first premisev2 - Truth value of the second premise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||