Package com.semedy.reasoner.api.builtin
Interface FilterBuiltin
- All Superinterfaces:
Builtin
- All Known Implementing Classes:
Assert
,BooleanExpression
,BuiltinsTest.SuperSimpleBuiltin
,ComparisonBuiltin
,ComparisonBuiltin2
,ComparisonBuiltinNew
,ConstraintException
,ContainsSimilar
,Different
,Equal
,Equals
,ExceptionBuiltin
,False
,InstanceFilterBuiltin
,IsCalendar
,IsDouble
,IsEqualSet
,IsFloat
,IsJsonId
,IsJsonTopId
,IsList
,IsNotEqual
,IsNumber
,IsReasoning
,IsSet
,IsString
,IsString
,IsSubset
,IsType
,JaroWinklerSimilarityBuiltin
,MoneyTransfer
,NoneOf
,OldSimiliarityBuiltIn
,OneOf
,OptimizedContainsSequence
,PerformanceTest0.ContainsWord
,Print
,PrintOut
,PrintToFile
,RaspiGpioOut
,RaspiGpioOut
,RegularExpression
,Retract
,Seek
,Select
,SelectOne
,SendMail
,SendMail2
,SimilarityBuiltIn
,StartsWithOneOf
,SubJsonId
,ToCSV
,ToJSON
,Tolerance
,True
Interface for filter built-ins.
A filter built-in has all arguments instantiated and
returns true if it evaluates to true
E.g. less is a filter builtin and less(1,2)
evaluates to true, while less(2,1) evaluates to false
A filter built-in has all arguments instantiated and
returns true if it evaluates to true
E.g. less is a filter builtin and less(1,2)
evaluates to true, while less(2,1) evaluates to false
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isTrue
(long[] input) is built-in true for given argumentsMethods inherited from interface com.semedy.reasoner.api.builtin.Builtin
clear, cloneBuiltin, evaluationFinished, getArgumentDescriptions, getArity, getDescription, getName, getType, getWeight, init, isEvaluable, isInternal, objectGeneratingArguments, readsSymbolTable, setProperties, setSymbolTable, writesSymbolTable
-
Method Details
-
isTrue
is built-in true for given arguments- Parameters:
input
- , the arguments- Returns:
- Throws:
ReasoningException
InterruptedException
IOException
SemReasonerException
-