Serializable
, Cloneable
, Comparable<AbstractTerm>
, Iterable<Term>
, AbstractTerm
Operation
public class Inheritance extends Statement
CompoundTerm.ConvRectangle, CompoundTerm.UnableToCloneException
Statement.EnumStatementSide
Term.TermVisitor
complexity, conceptival, containedTemporalRelations, hash, term
EmptyTermArray, imagination, index_variable, SELF, SEQ_SPATIAL, SEQ_TEMPORAL, term_indices
Modifier | Constructor | Description |
---|---|---|
protected |
Inheritance(Term[] arg) |
Constructor with partial values, called by make
|
protected |
Inheritance(Term subj,
Term pred) |
Modifier and Type | Method | Description |
---|---|---|
Inheritance |
clone() |
Clone an object
|
Inheritance |
clone(Term[] t) |
Must be Term return type because the type of Term may change with different arguments
|
static Inheritance |
make(Term subject,
Term predicate) |
Try to make a new compound from two term.
|
static Term |
makeTerm(Term subject,
Term predicate) |
alternate version of Inheritance.make that allows equivalent subject and predicate
to be reduced to the common term.
|
Symbols.NativeOperator |
operator() |
Get the operator of the 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, invalidateName, isCommutative, isNormalized, iterator, makeCompoundName, name, prepareComponentLinks, replaceIntervals, setComponent, setNormalized, shuffle, size, termArray, termList, transformIndependentVariableToDependent, UpdateConvRectangle
forEach, spliterator
finalize, getClass, notify, notifyAll, wait, wait, wait
getPredicate, getSubject, init, invalid, invalidPair, invalidStatement, invalidStatement, make, make, make, make, makeName, makeStatementName, makeSym, retBySide, retOppositeSide
get, get, getIsSpatial, getTemporalOrder, hasVar, isConstant, isExecutable, isHigherOrderStatement, isSelf, nameInternal, recurseSubtermsContainingVariables, recurseSubtermsContainingVariables, recurseTerms, setName, subjectOrPredicateIsIndependentVar, text, toSortedSet, toSortedSetArray, toString, valid
protected Inheritance(Term[] arg)
arg
- The component list of the termpublic Inheritance clone()
public Inheritance clone(Term[] t)
CompoundTerm
clone
in class CompoundTerm
public static Term makeTerm(Term subject, Term predicate)
public static Inheritance make(Term subject, Term predicate)
subject
- The first componentpredicate
- The second componentpublic Symbols.NativeOperator operator()
operator
in class CompoundTerm
Copyright © 2020 OpenNARS. All rights reserved.