Serializable
, Cloneable
, Comparable<AbstractTerm>
, AbstractTerm
, Plugin
public abstract class FunctionOperator extends Operator
Operator.ExecutionResult
Term.TermVisitor
EmptyTermArray, 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, wait
addPrefixIfMissing, call, call, clone, operationExecutionString, reportExecution, setEnabled
cloneDeep, 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, valid
protected 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)
Operator
Copyright © 2020 OpenNARS. All rights reserved.