Serializable
, Cloneable
, Comparable<AbstractTerm>
, Iterable<Term>
, AbstractTerm
public class Implication extends Statement
CompoundTerm.ConvRectangle, CompoundTerm.UnableToCloneException
Statement.EnumStatementSide
Term.TermVisitor
Modifier and Type | Field | Description |
---|---|---|
long |
counter |
|
private int |
temporalOrder |
complexity, conceptival, containedTemporalRelations, hash, term
EmptyTermArray, imagination, index_variable, SELF, SEQ_SPATIAL, SEQ_TEMPORAL, term_indices
Constructor | Description |
---|---|
Implication(Term[] arg,
int order) |
Constructor with partial values, called by make
|
Implication(Term[] arg,
int order,
long counter) |
Constructor with partial values, called by make
|
Implication(Term subject,
Term predicate,
int order) |
Modifier and Type | Method | Description |
---|---|---|
Implication |
clone() |
Clone an object
|
Implication |
clone(Term[] t) |
Must be Term return type because the type of Term may change with different arguments
|
int |
getTemporalOrder() |
|
boolean |
isBackward() |
|
boolean |
isConcurrent() |
|
boolean |
isForward() |
|
static Implication |
make(Term subject,
Term predicate) |
Try to make a new compound from two term.
|
static Implication |
make(Term subject,
Term predicate,
int temporalOrder) |
|
static CharSequence |
makeName(Term subject,
int temporalOrder,
Term predicate) |
|
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, hasVar, isConstant, isExecutable, isHigherOrderStatement, isSelf, nameInternal, recurseSubtermsContainingVariables, recurseSubtermsContainingVariables, recurseTerms, setName, subjectOrPredicateIsIndependentVar, text, toSortedSet, toSortedSetArray, toString, valid
public Implication(Term[] arg, int order)
arg
- The component list of the termpublic Implication(Term[] arg, int order, long counter)
arg
- The component list of the termpublic Implication clone()
public Implication clone(Term[] t)
CompoundTerm
clone
in class CompoundTerm
public static Implication make(Term subject, Term predicate)
subject
- The first componentpredicate
- The second componentpublic static CharSequence makeName(Term subject, int temporalOrder, Term predicate)
public static Implication make(Term subject, Term predicate, int temporalOrder)
public Symbols.NativeOperator operator()
operator
in class CompoundTerm
public int getTemporalOrder()
getTemporalOrder
in class Term
public boolean isForward()
public boolean isBackward()
public boolean isConcurrent()
Copyright © 2020 OpenNARS. All rights reserved.