|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnars.inference.SyllogisticRules
public final class SyllogisticRules
Syllogisms: Inference rules based on the transitivity of the relation.
| Constructor Summary | |
|---|---|
SyllogisticRules()
|
|
| Method Summary | |
|---|---|
(package private) static void |
abdIndCom(Term term1,
Term term2,
Sentence taskSentence,
Judgment belief,
int figure)
{ S>, |
(package private) static void |
analogy(Term term1,
Term term2,
Sentence asym,
Sentence sym,
int figure)
{ |
(package private) static boolean |
conditionalAbd(Term cond1,
Term cond2,
Statement st1,
Statement st2)
{<(&&, S2, S3) ==> P>, <(&&, S1, S3) ==> P>} |- |
(package private) static void |
conditionalDedInd(Implication premise1,
short index,
Term premise2,
int side)
{<(&&, S1, S2, S3) ==> P>, S1} |- <(&&, S2, S3) ==> P> {<(&&, S2, S3) ==> P>, |
(package private) static void |
dedExe(Term term1,
Term term2,
Sentence sentence,
Judgment belief)
{ S>} |
(package private) static void |
detachment(Sentence mainSentence,
Sentence subSentence,
int s)
{< |
private static Statement |
introVarInd(Sentence sentence1,
Sentence sentence2,
int figure,
boolean isImplication)
{ |
(package private) static void |
introVarIndInner(Statement premise1,
Statement premise2,
CompoundTerm oldCompound)
{ |
(package private) static void |
resemblance(Term term1,
Term term2,
Judgment belief,
Sentence sentence,
int figure)
{ |
static void |
temporalIndCom(Task task1,
Task task2,
TemporalValue order)
{ S>, |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SyllogisticRules()
| Method Detail |
|---|
static void dedExe(Term term1,
Term term2,
Sentence sentence,
Judgment belief)
S>}
term1 - Subject of the first new taskterm2 - Predicate of the first new tasksentence - The first premisebelief - The second premise
static void abdIndCom(Term term1,
Term term2,
Sentence taskSentence,
Judgment belief,
int figure)
S>, P>}
term1 - Subject of the first new taskterm2 - Predicate of the first new tasktaskSentence - The first premisebelief - The second premisefigure - Locations of the shared term in premises
static void analogy(Term term1,
Term term2,
Sentence asym,
Sentence sym,
int figure)
term1 - Subject of the new taskterm2 - Predicate of the new taskasym - The asymmetric premisesym - The symmetric premisefigure - Locations of the shared term in premises
static void resemblance(Term term1,
Term term2,
Judgment belief,
Sentence sentence,
int figure)
term1 - Subject of the new taskterm2 - Predicate of the new taskbelief - The first premisesentence - The second premisefigure - Locations of the shared term in premises
static void detachment(Sentence mainSentence,
Sentence subSentence,
int s)
mainSentence - The implication/equivalence premisesubSentence - The premise on part of s1s - The location of s2 in s1
static void conditionalDedInd(Implication premise1,
short index,
Term premise2,
int side)
premise1 - The conditional premiseindex - The location of the shared term in the condition of premise1premise2 - The premise which, or part of which, appears in the condition of premise1side - The location of the shared term in premise2: 0 for subject, 1 for predicate, -1 for the whole term
static boolean conditionalAbd(Term cond1,
Term cond2,
Statement st1,
Statement st2)
cond1 - The condition of the first premisecond2 - The condition of the second premisest1 - The first premisest2 - The second premise
private static Statement introVarInd(Sentence sentence1,
Sentence sentence2,
int figure,
boolean isImplication)
sentence1 - The first premise sentence2 - The second premise figure - The figure indicating the location of the shared termisImplication - The conclusion is Implication, not Equivalence
static void introVarIndInner(Statement premise1,
Statement premise2,
CompoundTerm oldCompound)
premise1 - The first premise directly used in internal induction, premise2 - The component to be used as a premise in internal induction, oldCompound - The whole content of the first premise, Implication or Conjunction
public static void temporalIndCom(Task task1,
Task task2,
TemporalValue order)
S>, P>}
task1 - The first premisetask2 - The second premiseorder - Temporal order of the terms in conclusion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||