Serializable, Cloneable, Comparable<AbstractTerm>, Iterable<Term>, AbstractTermpublic abstract class Image extends CompoundTerm
CompoundTerm.ConvRectangle, CompoundTerm.UnableToCloneExceptionTerm.TermVisitor| Modifier and Type | Field | Description |
|---|---|---|
short |
relationIndex |
The index of relation in the component list
|
complexity, conceptival, containedTemporalRelations, hash, termEmptyTermArray, imagination, index_variable, SELF, SEQ_SPATIAL, SEQ_TEMPORAL, term_indices| Modifier | Constructor | Description |
|---|---|---|
protected |
Image(Term[] components,
short relationIndex) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
compareTo(AbstractTerm that) |
|
Term |
getRelation() |
Get the relation term in the Image
|
Term |
getTheOtherComponent() |
Get the other term in the Image
|
protected void |
init(Term[] components) |
call this after changing Term[] contents
|
static boolean |
isPlaceHolder(Term t) |
|
protected static String |
makeImageName(Symbols.NativeOperator op,
Term[] arg,
int relationIndex) |
default method to make the oldName of an image term from given fields
|
CharSequence |
makeName() |
Get the other term in the Image
|
addComponentsRecursively, addTermsTo, applySubstitute, applySubstituteToCompound, asTermList, clone, clone, cloneDeep, cloneDeepVariables, cloneTerms, cloneTermsAppend, cloneTermsDeep, cloneTermsExcept, cloneTermsListDeep, cloneTermsReplacing, cloneVariableTermsDeep, containedTemporalRelations, containsAllTermsOf, containsTerm, containsTermRecursively, countTermRecursively, equals, extractIntervals, getComplexity, getContainedTerms, hashCode, hasInterval, hasVar, hasVarDep, hasVarIndep, hasVarQuery, invalidateName, isCommutative, isNormalized, iterator, makeCompoundName, name, operator, prepareComponentLinks, replaceIntervals, setComponent, setNormalized, shuffle, size, termArray, termList, transformIndependentVariableToDependent, UpdateConvRectangleforEach, spliteratorfinalize, getClass, notify, notifyAll, wait, wait, waitget, get, getIsSpatial, getTemporalOrder, hasVar, isConstant, isExecutable, isHigherOrderStatement, isSelf, nameInternal, recurseSubtermsContainingVariables, recurseSubtermsContainingVariables, recurseTerms, setName, subjectOrPredicateIsIndependentVar, text, toSortedSet, toSortedSetArray, toString, validpublic final short relationIndex
protected Image(Term[] components, short relationIndex)
protected void init(Term[] components)
CompoundTerminit in class CompoundTermpublic int compareTo(AbstractTerm that)
compareTo in interface Comparable<AbstractTerm>compareTo in class CompoundTermthat - The Term to be compared with the current Termpublic static boolean isPlaceHolder(Term t)
protected static String makeImageName(Symbols.NativeOperator op, Term[] arg, int relationIndex)
op - the term operatorarg - the list of termrelationIndex - the location of the place holderpublic CharSequence makeName()
makeName in class CompoundTermpublic Term getRelation()
public Term getTheOtherComponent()
Copyright © 2020 OpenNARS. All rights reserved.