Serializable
, Cloneable
, Comparable<AbstractTerm>
, Iterable<Term>
, AbstractTerm
public class Negation extends CompoundTerm
CompoundTerm.ConvRectangle, CompoundTerm.UnableToCloneException
Term.TermVisitor
complexity, conceptival, containedTemporalRelations, hash, term
EmptyTermArray, imagination, index_variable, SELF, SEQ_SPATIAL, SEQ_TEMPORAL, term_indices
Modifier | Constructor | Description |
---|---|---|
protected |
Negation(Term t) |
avoid using this externally, because double-negatives can be unwrapped to the
original term using Negation.make
|
Modifier and Type | Method | Description |
---|---|---|
static boolean |
areMutuallyInverse(Term tc,
Term ptc) |
|
Negation |
clone() |
Clone an object
|
Term |
clone(Term[] replaced) |
Must be Term return type because the type of Term may change with different arguments
|
static Term |
make(Term t) |
Try to make a Negation of one component.
|
static Term |
make(Term[] argument) |
Try to make a new Negation.
|
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.
|
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, isCommutative, isNormalized, iterator, makeCompoundName, name, prepareComponentLinks, replaceIntervals, setComponent, setNormalized, shuffle, size, termArray, termList, transformIndependentVariableToDependent, UpdateConvRectangle
forEach, spliterator
finalize, getClass, notify, notifyAll, wait, wait, wait
get, get, getIsSpatial, getTemporalOrder, hasVar, isConstant, isExecutable, isHigherOrderStatement, isSelf, nameInternal, recurseSubtermsContainingVariables, recurseSubtermsContainingVariables, recurseTerms, setName, subjectOrPredicateIsIndependentVar, text, toSortedSet, toSortedSetArray, toString, valid
protected Negation(Term t)
protected CharSequence makeName()
CompoundTerm
makeName
in class CompoundTerm
public Negation clone()
clone
in class CompoundTerm
public Term clone(Term[] replaced)
CompoundTerm
clone
in class CompoundTerm
public static Term make(Term t)
t
- The componentpublic static Term make(Term[] argument)
argument
- The list of termpublic Symbols.NativeOperator operator()
operator
in class CompoundTerm
Copyright © 2020 OpenNARS. All rights reserved.