Serializable, Cloneable, Comparable<AbstractTerm>, AbstractTerm, Pluginpublic abstract class FunctionOperator extends Operator
Operator.ExecutionResultTerm.TermVisitorEmptyTermArray, imagination, index_variable, SELF, SEQ_SPATIAL, SEQ_TEMPORAL, term_indices| Modifier | Constructor | Description |
|---|---|---|
protected |
FunctionOperator(String name) |
| Modifier and Type | Method | Description |
|---|---|---|
float |
equals(Term a,
Term b) |
(can be overridden in subclasses) the extent to which it is truth
that the 2 given terms are equal.
|
protected List<Task> |
execute(Operation operation,
Term[] args,
Memory m,
Timable time) |
Required method for every operator, specifying the corresponding
operation
|
protected abstract Term |
function(Memory memory,
Term[] x) |
y = function(x)
|
protected abstract Term |
getRange() |
Deprecated.
|
finalize, getClass, notify, notifyAll, wait, wait, waitaddPrefixIfMissing, call, call, clone, operationExecutionString, reportExecution, setEnabledcloneDeep, compareTo, containedTemporalRelations, containsTerm, containsTermRecursively, countTermRecursively, equals, get, get, getComplexity, getIsSpatial, getTemporalOrder, hashCode, hasInterval, hasVar, hasVar, hasVarDep, hasVarIndep, hasVarQuery, isConstant, isExecutable, isHigherOrderStatement, isSelf, name, nameInternal, operator, recurseSubtermsContainingVariables, recurseSubtermsContainingVariables, recurseTerms, setName, subjectOrPredicateIsIndependentVar, text, toSortedSet, toSortedSetArray, toString, validprotected FunctionOperator(String name)
protected abstract Term function(Memory memory, Term[] x)
@Deprecated protected abstract Term getRange()
protected List<Task> execute(Operation operation, Term[] args, Memory m, Timable time)
OperatorCopyright © 2020 OpenNARS. All rights reserved.