Serializable, Cloneable, Comparable<AbstractTerm>, Iterable<Term>, AbstractTermpublic class Operation extends Inheritance
CompoundTerm.ConvRectangle, CompoundTerm.UnableToCloneExceptionStatement.EnumStatementSideTerm.TermVisitor| Modifier and Type | Field | Description |
|---|---|---|
static Term[] |
SELF_TERM_ARRAY |
|
private Task |
task |
complexity, termEmptyTermArray, imagination, index_variable, SELF, SEQ_SPATIAL, SEQ_TEMPORAL, term_indices| Modifier | Constructor | Description |
|---|---|---|
protected |
Operation(Term[] t) |
|
protected |
Operation(Term argProduct,
Term operator) |
Constructor with partial values, called by make
|
| Modifier and Type | Method | Description |
|---|---|---|
Operation |
clone() |
Clone an object
|
Product |
getArguments() |
|
Operator |
getOperator() |
|
Task |
getTask() |
|
static Operation |
make(Operator oper,
Term[] arg,
boolean addSelf) |
Try to make a new compound from two components.
|
protected CharSequence |
makeName() |
Override the default in making the nameStr of the current term from
existing fields
|
static CharSequence |
makeName(CharSequence op,
Term[] arg) |
|
void |
setTask(Task task) |
stores the currently executed task, which can be accessed by Operator execution
|
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, size, termArray, termList, transformIndependentVariableToDependent, UpdateConvRectangleclone, make, makeTerm, operatorforEach, spliteratorfinalize, getClass, notify, notifyAll, wait, wait, waitgetPredicate, getSubject, init, invalid, invalidPair, invalidStatement, invalidStatement, make, make, make, make, makeStatementName, makeSym, retBySide, retOppositeSideget, get, getIsSpatial, getTemporalOrder, hasVar, isConstant, isExecutable, isHigherOrderStatement, isSelf, nameInternal, recurseSubtermsContainingVariables, recurseSubtermsContainingVariables, recurseTerms, setName, subjectOrPredicateIsIndependentVar, text, toSortedSet, toSortedSetArray, toString, validprotected Operation(Term argProduct, Term operator)
protected Operation(Term[] t)
public Operation clone()
clone in class Inheritancepublic static Operation make(Operator oper, Term[] arg, boolean addSelf)
addSelf - include SELF term at end of product termspublic Operator getOperator()
protected CharSequence makeName()
Statementpublic static CharSequence makeName(CharSequence op, Term[] arg)
public void setTask(Task task)
public Task getTask()
public Product getArguments()
Copyright © 2020 OpenNARS. All rights reserved.