Serializable
, Cloneable
, Comparable<AbstractTerm>
, Iterable<Term>
, AbstractTerm
public class Operation extends Inheritance
CompoundTerm.ConvRectangle, CompoundTerm.UnableToCloneException
Statement.EnumStatementSide
Term.TermVisitor
Modifier and Type | Field | Description |
---|---|---|
static Term[] |
SELF_TERM_ARRAY |
|
private Task |
task |
complexity, term
EmptyTermArray, 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, UpdateConvRectangle
clone, make, makeTerm, operator
forEach, spliterator
finalize, getClass, notify, notifyAll, wait, wait, wait
getPredicate, getSubject, init, invalid, invalidPair, invalidStatement, invalidStatement, make, make, make, make, 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 Operation(Term argProduct, Term operator)
protected Operation(Term[] t)
public Operation clone()
clone
in class Inheritance
public static Operation make(Operator oper, Term[] arg, boolean addSelf)
addSelf
- include SELF term at end of product termspublic Operator getOperator()
protected CharSequence makeName()
Statement
public static CharSequence makeName(CharSequence op, Term[] arg)
public void setTask(Task task)
public Task getTask()
public Product getArguments()
Copyright © 2020 OpenNARS. All rights reserved.