Serializable
, Cloneable
, Comparable<AbstractTerm>
, AbstractTerm
, Plugin
public class Count extends FunctionOperator
Operator.ExecutionResult
Term.TermVisitor
Modifier and Type | Field | Description |
---|---|---|
(package private) static Term |
counted |
|
(package private) static String |
requireMessage |
EmptyTermArray, imagination, index_variable, SELF, SEQ_SPATIAL, SEQ_TEMPORAL, term_indices
Constructor | Description |
---|---|
Count() |
Modifier and Type | Method | Description |
---|---|---|
protected Term |
function(Memory memory,
Term[] x) |
y = function(x)
|
protected Term |
getRange() |
the term that the output will inherit from; analogous to the 'Range' of a function in mathematical terminology
|
equals, execute
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
static final String requireMessage
static final Term counted
protected Term function(Memory memory, Term[] x)
FunctionOperator
function
in class FunctionOperator
protected Term getRange()
FunctionOperator
getRange
in class FunctionOperator
Copyright © 2020 OpenNARS. All rights reserved.