public class TemporalRules extends Object
Modifier and Type | Field | Description |
---|---|---|
static int |
ORDER_BACKWARD |
|
static int |
ORDER_CONCURRENT |
|
static int |
ORDER_FORWARD |
|
static int |
ORDER_INVALID |
|
static int |
ORDER_NONE |
Constructor | Description |
---|---|
TemporalRules() |
Modifier and Type | Method | Description |
---|---|---|
static int |
abdIndComOrder(int order1,
int order2) |
|
static int |
analogyOrder(int order1,
int order2,
int figure) |
|
private static void |
appendConclusion(DerivationContext nal,
TruthValue truth1,
BudgetValue budget1,
Statement statement1,
List<Task> success) |
|
static int |
composeOrder(int order1,
int order2) |
|
static boolean |
concurrent(long a,
long b,
int durationCycles) |
|
static int |
dedExeOrder(int order1,
int order2) |
|
static boolean |
matchingOrder(int order1,
int order2) |
|
static boolean |
matchingOrder(Sentence a,
Sentence b) |
|
static int |
order(long timeDiff,
int durationCycles) |
|
static int |
order(long a,
long b,
int durationCycles) |
if (relative) event B after (stationary) event A then order=forward;
event B before then order=backward
occur at the same time, relative to duration: order = concurrent
|
static int |
resemblanceOrder(int order1,
int order2,
int figure) |
|
static int |
reverseOrder(int order) |
|
static List<Task> |
temporalInduction(Sentence s1,
Sentence s2,
DerivationContext nal,
boolean SucceedingEventsInduction,
boolean addToMemory,
boolean allowSequence) |
|
protected static boolean |
termForTemporalInduction(Term t) |
whether a term can be used in temoralInduction(,,)
|
static boolean |
tooMuchTemporalStatements(Term t) |
whether temporal induction can generate a task by avoiding producing wrong terms; only one temporal operator is allowed
|
public static final int ORDER_NONE
public static final int ORDER_FORWARD
public static final int ORDER_CONCURRENT
public static final int ORDER_BACKWARD
public static final int ORDER_INVALID
public static final int reverseOrder(int order)
public static final boolean matchingOrder(int order1, int order2)
public static final int dedExeOrder(int order1, int order2)
public static final int abdIndComOrder(int order1, int order2)
public static final int analogyOrder(int order1, int order2, int figure)
public static final int resemblanceOrder(int order1, int order2, int figure)
public static final int composeOrder(int order1, int order2)
public static final boolean tooMuchTemporalStatements(Term t)
protected static boolean termForTemporalInduction(Term t)
public static List<Task> temporalInduction(Sentence s1, Sentence s2, DerivationContext nal, boolean SucceedingEventsInduction, boolean addToMemory, boolean allowSequence)
private static void appendConclusion(DerivationContext nal, TruthValue truth1, BudgetValue budget1, Statement statement1, List<Task> success)
public static int order(long timeDiff, int durationCycles)
public static int order(long a, long b, int durationCycles)
public static boolean concurrent(long a, long b, int durationCycles)
Copyright © 2020 OpenNARS. All rights reserved.