Serializable, Cloneable, Comparable<AbstractTerm>, Iterable<Term>, AbstractTermpublic class Conjunction extends CompoundTerm
CompoundTerm.ConvRectangle, CompoundTerm.UnableToCloneExceptionTerm.TermVisitor| Modifier and Type | Field | Description |
|---|---|---|
boolean |
isSpatial |
|
int |
temporalOrder |
complexity, conceptival, containedTemporalRelations, hash, termEmptyTermArray, imagination, index_variable, SELF, SEQ_SPATIAL, SEQ_TEMPORAL, term_indices| Modifier | Constructor | Description |
|---|---|---|
protected |
Conjunction(Term[] arg,
int order,
boolean normalized,
boolean spatial) |
|
protected |
Conjunction(Term[] arg,
int order,
boolean normalized,
boolean spatial,
CompoundTerm.ConvRectangle rect) |
Constructor with partial values, called by make
|
| Modifier and Type | Method | Description |
|---|---|---|
Conjunction |
clone() |
Clone an object
|
Term |
clone(Term[] t) |
Must be Term return type because the type of Term may change with different arguments
|
static Term[] |
flatten(Term[] args,
int order,
boolean isSpatial) |
|
boolean |
getIsSpatial() |
|
int |
getTemporalOrder() |
|
boolean |
isCommutative() |
Check if the compound is commutative.
|
static boolean |
isConjunctionAndHasSameOrder(Term t,
int order) |
|
private static Term |
make(Collection<Term> set,
int temporalOrder,
boolean spatial) |
|
static Term |
make(Term[] argList) |
Try to make a new compound from a list of term.
|
static Term |
make(Term[] argList,
int temporalOrder) |
Try to make a new compound from a list of term.
|
static Term |
make(Term[] argList,
int temporalOrder,
boolean spatial) |
|
static Term |
make(Term prefix,
Interval suffix,
int temporalOrder) |
|
static Term |
make(Term prefix,
Interval ival,
Term suffix,
int temporalOrder) |
|
static Term |
make(Term term1,
Term term2) |
Try to make a new compound from two term.
|
static Term |
make(Term term1,
Term term2,
int temporalOrder) |
|
static Term |
make(Term term1,
Term term2,
int temporalOrder,
boolean spatial) |
|
protected CharSequence |
makeName() |
default method to make the oldName of the current term from existing
fields.
|
Symbols.NativeOperator |
operator() |
Get the operator of the term.
|
static String |
PositiveIntString(int value) |
|
static Term[] |
simplifyIntervals(Term[] components) |
|
static Term |
UpdateRelativeIndices(int minX,
int minY,
int minsX,
int minsY,
Term term) |
addComponentsRecursively, addTermsTo, applySubstitute, applySubstituteToCompound, asTermList, cloneDeep, cloneDeepVariables, cloneTerms, cloneTermsAppend, cloneTermsDeep, cloneTermsExcept, cloneTermsListDeep, cloneTermsReplacing, cloneVariableTermsDeep, compareTo, containedTemporalRelations, containsAllTermsOf, containsTerm, containsTermRecursively, countTermRecursively, equals, extractIntervals, getComplexity, getContainedTerms, hashCode, hasInterval, hasVar, hasVarDep, hasVarIndep, hasVarQuery, init, invalidateName, isNormalized, iterator, makeCompoundName, name, prepareComponentLinks, replaceIntervals, setComponent, setNormalized, shuffle, size, termArray, termList, transformIndependentVariableToDependent, UpdateConvRectangleforEach, spliteratorfinalize, getClass, notify, notifyAll, wait, wait, waitget, get, hasVar, isConstant, isExecutable, isHigherOrderStatement, isSelf, nameInternal, recurseSubtermsContainingVariables, recurseSubtermsContainingVariables, recurseTerms, setName, subjectOrPredicateIsIndependentVar, text, toSortedSet, toSortedSetArray, toString, validprotected Conjunction(Term[] arg, int order, boolean normalized, boolean spatial, CompoundTerm.ConvRectangle rect)
arg - The component list of the termorder - normalized - protected Conjunction(Term[] arg, int order, boolean normalized, boolean spatial)
public Term clone(Term[] t)
CompoundTermclone in class CompoundTermpublic Conjunction clone()
clone in class CompoundTermpublic Symbols.NativeOperator operator()
operator in class CompoundTermpublic boolean isCommutative()
isCommutative in class CompoundTermpublic static final Term make(Term[] argList)
argList - the list of argumentspublic static boolean isConjunctionAndHasSameOrder(Term t, int order)
public static String PositiveIntString(int value)
public static Term UpdateRelativeIndices(int minX, int minY, int minsX, int minsY, Term term)
public static Term[] simplifyIntervals(Term[] components)
components - The componentspublic static final Term make(Term[] argList, int temporalOrder)
temporalOrder - The temporal order among termargList - the list of argumentsprivate static final Term make(Collection<Term> set, int temporalOrder, boolean spatial)
set - a set of Term as termprotected CharSequence makeName()
CompoundTermmakeName in class CompoundTermpublic static final Term make(Term term1, Term term2)
term1 - The first componentterm2 - The second componentpublic int getTemporalOrder()
getTemporalOrder in class Termpublic boolean getIsSpatial()
getIsSpatial in class TermCopyright © 2020 OpenNARS. All rights reserved.