Uses of Class
com.semedy.reasoner.api.reasoning.SemReasonerException
Package
Description
-
Uses of SemReasonerException in com.semedy.reasoner.api.builtin
Modifier and TypeMethodDescriptionboolean
AbstractConnector.eval()
Create queries from available restrictions.void
Aggregation.evaluate
(BuiltinReceiver receiver) Evaluate the aggregation.boolean
Given the input tuple and the instantiated arguments.void
RelationalBuiltin.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) Evaluate the built-in given the input tuple.boolean
void
initialize the builtinabstract void
initialize the built-invoid
void
AbstractConnector.input
(long[] input) void
Aggregation.input
(long[] input) feed aggregation with input tuplevoid
Connector.input
(long[] input) Feed the built-in with an input tuple.boolean
FilterBuiltin.isTrue
(long[] input) is built-in true for given argumentsvoid
SensorBuiltin.receiveEncodedEvent
(Object[] tuple) receives an event with already coded values (longs)
triggers reasoning with this new infovoid
SensorBuiltinSingleValue.receiveEncodedEvent
(Object[] tuple) receives an event with already coded values (longs)
retracts the previous event
triggers reasoning with this new infovoid
SensorBuiltin.receiveEvent
(Object[] tuple) receives an event from an external system/sensor and
triggers reasoning with this new infovoid
SensorBuiltinSingleValue.receiveEvent
(Object[] tuple) receives an event from an external system/sensor and
retracts the previous event
triggers reasoning with this new infovoid
SensorBuiltin.retractEncodedEvent
(Object[] tuple) retracts an event with already coded values (longs)
triggers reasoning with this new infovoid
SensorBuiltin.retractEvent
(Object[] tuple) withdraws an event from an external system/sensor and triggers reasoning with this new infovoid
BuiltinReceiver.send
(long[] buffer) gets the results of a built-in.void
BuiltinReceiver.send
(TupleBuffer buffer) gets the results of a built-in.void
CollectorBuiltinReceiver.send
(long[] buffer) void
CollectorBuiltinReceiver.send
(TupleBuffer buffer) void
start feeding the aggregation with input.void
AbstractConnector.stop()
void
Aggregation.stop()
stop feeding the aggregation with inputabstract void
CachedConnector.stop()
void
Connector.stop()
stop feeding the built-in with input values -
Uses of SemReasonerException in com.semedy.reasoner.api.core
Modifier and TypeMethodDescriptionboolean
JSONDeductiveDatabase.addJsonObject
(org.json.JSONObject json) add a JSON objectboolean
JSONDeductiveDatabase.addJsonObject
(org.json.JSONObject json, Object module) add a JSON objectboolean
JSONDeductiveDatabase.addJsonObjects
(String objects) add a set of JSON objects, given as a Json array in a string.boolean
JSONDeductiveDatabase.addJsonObjects
(String objects, Object module) add a set of JSON objects, given as a Json array in a string.boolean
JSONDeductiveDatabase.addJsonObjects
(Collection<org.json.JSONObject> objects) add a set of JSON objects.boolean
JSONDeductiveDatabase.addJsonObjects
(Collection<org.json.JSONObject> objects, Object module) add a set of JSON objects.boolean
JSONDeductiveDatabase.addJsonObjects
(org.json.JSONArray objects) add a set of JSON objects given in a Json arrayboolean
JSONDeductiveDatabase.addJsonObjects
(org.json.JSONArray objects, String module) add a set of JSON objects given in a Json arrayboolean
add a rule to the deductive database.boolean
add a rule to the deductive database.boolean
DeductiveDatabase.addRules
(Collection<Rule> rules, boolean parsed) Add rules to the deductive database.void
DeductiveDatabase.addRulesAndFacts
(String rulesAndFacts) add rules and facts from textvoid
DeductiveDatabase.applyChangeSet
(List<String> paths) Applies changes to the extensional database.
During this operation the to be modified predicates
are read locked.void
create a backup for the databaseboolean
Core.checkSanity()
void
Core.delete()
deletes all resources (files)void
MaterializationReceiver.evaluationFinished()
After finishing the evaluation the buffered results (either in a main memory relation or in a file)
are stored in the edb.void
MaterializationReceiver.evaluationFinished
(long querykey) After finishing the evaluation the buffered results (either in a main memory relation or in a file)
are stored in the edb.void
StoreEventResultReceiver.evaluationFinished()
After finishing the evaluation the buffered results (either in a main memory relation or in a file)
are stored in the edb.void
StoreEventResultReceiver.evaluationFinished
(long querykey) After finishing the evaluation the buffered results (either in a main memory relation or in a file)
are stored in the edb.void
DeductiveDatabase.export
(InterruptFlag interrupt, List<String> predicates, String resultdirectory) bulk export of facts for predicates to raw files in result directoryvoid
JSONDeductiveDatabase.exportJson
(String path, Set<String> excludedProperties) Export jsons into filevoid
JSONDeductiveDatabase.exportJSONSchemas
(Writer writer, boolean inherit) export OO-Logic classes as Json Schemas.void
JSONDeductiveDatabase.exportJSONSchemas
(String path, boolean inherit) export OO-Logic classes as Json Schemas.void
DeductiveDatabase.exportNQuads
(Writer writer, String iri) export of facts as N-Quads.void
DeductiveDatabase.exportNQuads
(String resultpath, String iri) export of facts as N-Quadsvoid
DeductiveDatabase.exportOOLogic
(InterruptFlag interrupt, Writer writer, String module) export of facts and rules for predicates to file in OO-logic into a module.void
DeductiveDatabase.exportOOLogic
(InterruptFlag interrupt, String resultpath, String module) export of facts and rules for predicates to file in OO-logic into a module.void
DeductiveDatabase.exportOOLogic
(InterruptFlag interrupt, List<Filter> filters, Writer writer, String module) export of facts and rules for predicates to file in OO-logic into a module.void
DeductiveDatabase.exportOOLogic
(InterruptFlag interrupt, List<Filter> filter, String resultpath, String module) export of facts and rules for predicates to file in OO-logic into a module.void
DeductiveDatabase.exportRules
(Writer writer) store all rules in file given by file pathvoid
DeductiveDatabase.exportRules
(String filepath, boolean append) store all rules in file given by file pathResultBuffer.get
(int index) Get object at argument indexGet object with variable name.JSONDeductiveDatabase.getAvailableIdentifiers
(List<String> identifiers) Which of the given json identifiers are there?JSONDeductiveDatabase.getAvailableIdentifiers
(List<String> identifiers, Configuration config, Properties builtinConfig) Which of the given json identifiers are there?JSONDeductiveDatabase.getAvailableIdentifiers
(List<String> identifiers, String module, Configuration config, Properties builtinConfig) Which of the given json identifiers are there?JSONDeductiveDatabase.getJSONSchemas
(boolean inherit) get OO-Logic classes as Json Schemas.Core.getPartitioningLiterals()
get partitioning literalsDeductiveDatabase.getRuleById
(String ruleIdentifier) get a rule by its rule identifierDeductiveDatabase.getRules()
get all rulesorg.json.JSONObject
JSONDeductiveDatabase.getSchema
(String schemaid, Configuration config, Properties builtinConfig) get schema with id schemaidJSONDeductiveDatabase.introspectionQueryGraphQL
(String graphQLQuery, String module, String variables, Configuration config, Properties builtinConfig) boolean
JSONDeductiveDatabase.isIdentifierAvailable
(String identifier) Is this identifier for a json object there?boolean
JSONDeductiveDatabase.isIdentifierAvailable
(String identifier, Configuration config, Properties builtinConfig) Is this identifier for a json object there?boolean
JSONDeductiveDatabase.isIdentifierAvailable
(String identifier, String module, Configuration config, Properties builtinConfig) Is this identifier for a json object there?void
load files from file path
path can be a directory or a single file
files are distinguished by their endings:
.raw, .raw.zip, .rls, .fctvoid
load files from file paths
files are distinguished by their endings:
.raw, .raw.zip, .rls, .fctvoid
Import from a json filesvoid
Import from a list of json filesvoid
DeductiveDatabase.loadByStream
(InputStream in, InputStream companionstream, String format) load facts by stream. format is either the file format like raw,json,nq etc.void
JSONDeductiveDatabase.loadByStream
(InputStream in, InputStream companionstream, String format) load facts by stream.void
DeductiveDatabase.loadPredicates
(InputStream input) Load facts and/or rules in predicate format from an input stream.boolean
DeductiveDatabase.longTransactionBegin()
start a long transaction
If a long transaction is already running false is returnedboolean
DeductiveDatabase.longTransactionCommit()
commit a long transactionvoid
DeductiveDatabase.longTransactionRollback()
discard all changesvoid
DeductiveDatabase.materializeQueries
(InterruptFlag interruptFlag, String squeries, ReasoningMonitor monitor) Materialize queries.void
DeductiveDatabase.materializeQueries
(InterruptFlag interruptFlag, String squeries, ReasoningMonitor monitor, Configuration config, Properties builtinConfig) Materialize queries.void
DeductiveDatabase.materializeQueries
(InterruptFlag interruptFlag, List<Rule> queries, ReasoningMonitor monitor) Materialize queries.void
DeductiveDatabase.materializeQueries
(InterruptFlag interruptFlag, List<Rule> queries, ReasoningMonitor monitor, Configuration config, Properties builtinConfig) Materialize queries.void
StreamReasoningDB.materializeQueries
(InterruptFlag interruptFlag, String squeries, ReasoningMonitor monitor) Materialize queries.void
StreamReasoningDB.materializeQueries
(InterruptFlag interruptFlag, String squeries, ReasoningMonitor monitor, Configuration config, Properties builtinConfig) Materialize queries.void
StreamReasoningDB.materializeQueries
(InterruptFlag interruptFlag, List<Rule> queries, ReasoningMonitor monitor) Materialize queries.void
StreamReasoningDB.materializeQueries
(InterruptFlag interruptFlag, List<Rule> queries, ReasoningMonitor monitor, Configuration config, Properties builtinConfig) Materialize queries.DeductiveDatabase.query
(InterruptFlag interruptFlag, Rule query, int maxNumberOfResults, ReasoningMonitor monitor) Pose a query.DeductiveDatabase.query
(InterruptFlag interruptFlag, Rule query, int maxNumberOfResults, ReasoningMonitor monitor, Configuration config, Properties builtinConfig) Pose a query.DeductiveDatabase.query
(InterruptFlag interruptFlag, String query, int maxNumberOfResults, Configuration config, Properties builtinConfig) Pose a query.DeductiveDatabase.query
(InterruptFlag interruptFlag, String query, int maxNumberOfResults, ReasoningMonitor monitor) Pose a query.DeductiveDatabase.query
(InterruptFlag interruptFlag, String query, int maxNumberOfResults, ReasoningMonitor monitor, Configuration config, Properties builtinConfig) Pose a query.DeductiveDatabase.query
(InterruptFlag interruptFlag, String query, Properties builtinConfig) Pose a query.DeductiveDatabase.query
(InterruptFlag interruptFlag, List<Rule> queries, int maxNumberOfResults, ReasoningMonitor monitor) Pose a query and several rulesDeductiveDatabase.query
(InterruptFlag interruptFlag, List<Rule> queries, int maxNumberOfResults, ReasoningMonitor monitor, Configuration config, Properties builtinConfig) Pose a query and several rulesDeductiveDatabase.query
(InterruptFlag interruptFlag, List<Rule> queries, int maxNumberOfResults, ReasoningMonitor monitor, ExtensionalDB[] additionalEDBs, IntensionalDB[] additionalIDBs, boolean skipAnswers, Configuration config, Properties builtinConfig) Pose a query and several rules.TripleCache.query
(DeductiveDatabase ddb, String ooquery, int maxNumberOfResults) Retrieve triples using an OO-logic query.TripleCache.query
(DeductiveDatabase ddb, String ooquery, int maxNumberOfResults, boolean withCodes) Retrieve triples using an OO-logic query.List<org.json.JSONObject>
JSONDeductiveDatabase.queryJsonObjects
(String ooquery) Query JSON Objects using an OO-logic query.List<org.json.JSONObject>
JSONDeductiveDatabase.queryJsonObjects
(String ooquery, String module) Query JSON Objects using an OO-logic query.List<org.json.JSONObject>
JSONDeductiveDatabase.queryJsonObjects
(String ooquery, String module, Configuration config, Properties builtinConfig) Query JSON Objects using an OO-logic query.List<org.json.JSONObject>
JSONDeductiveDatabase.queryJsonObjects
(String ooquery, Properties builtinProperties) Query JSON Objects using an OO-logic query.List<org.json.JSONObject>
JSONDeductiveDatabase.queryJsonObjects
(Collection<String> identifiers) query JSON objects using the json identifiers (@id) in module
Json objects can be derivedList<org.json.JSONObject>
JSONDeductiveDatabase.queryJsonObjects
(Collection<String> identifiers, Configuration config, Properties builtinConfig) query JSON objects using the json identifiers (@id) in module
Json objects can be derivedList<org.json.JSONObject>
JSONDeductiveDatabase.queryJsonObjects
(Collection<String> identifiers, Object module, Configuration config, Properties builtinConfig) query JSON objects using the json identifiers (@id) in module
Json objects can be derivedorg.json.JSONObject
JSONDeductiveDatabase.queryJsonObjectsByGraphQL
(String graphQLQuery, String module, String variables, Configuration config, Properties builtinConfig) Query JSON Objects using a GraphQL query.boolean
EventResultReceiver.receiveRelation
(ReasoningRelation tuples) abstract void
EventResultReceiver.receiveResult
(long[] result) a new result has been receivedabstract void
EventResultReceiver.receiveResult
(TupleBuffer result) a new result has been receivedvoid
MaterializationReceiver.receiveResult
(long[] tuple) Receive a new result as a tuple of codes.boolean
MaterializationReceiver.receiveTuple
(int tuple) void
StreamReasoningDB.registerQueries
(InterruptFlag interruptFlag, String queries, ReasoningMonitor monitor, List<EventResultReceiver> receiver) Register a set of queries for stream reasoning.void
StreamReasoningDB.registerQueries
(InterruptFlag interruptFlag, String queries, ReasoningMonitor monitor, List<EventResultReceiver> receiver, Properties builtinConfig) Register a set of queries for stream reasoning.void
StreamReasoningDB.registerQueries
(InterruptFlag interruptFlag, List<Rule> queries, ReasoningMonitor monitor, List<EventResultReceiver> receiver) Register a set of queries for stream reasoning.void
StreamReasoningDB.registerQueries
(InterruptFlag interruptFlag, List<Rule> queries, ReasoningMonitor monitor, List<EventResultReceiver> receiver, Properties builtinConfig) Register a set of queries for stream reasoning.boolean
DeductiveDatabase.removeFactEncoded
(Literal L) Remove a fact from the deductive database.boolean
DeductiveDatabase.removeFactsEncoded
(Collection<Literal> facts) Remove facts from the deductive database.boolean
JSONDeductiveDatabase.removeJsonObject
(String identifier) Json object with given id (@id) is deletedboolean
JSONDeductiveDatabase.removeJsonObject
(String identifier, Configuration config, Properties builtinConfig) Json object with given id (@id) is deletedboolean
JSONDeductiveDatabase.removeJsonObjects
(Collection<String> identifiers) Json objects with given ids (@id) are deletedboolean
JSONDeductiveDatabase.removeJsonObjects
(Collection<String> identifiers, Configuration config, Properties builtinConfig) Json objects with given ids (@id) are deletedboolean
JSONDeductiveDatabase.removeJsonObjects
(Collection<String> identifiers, String module, Configuration config, Properties builtinConfig) Json objects with given ids (@id) are deletedboolean
DeductiveDatabase.removeRuleById
(String id) remove a rule identified by the unique id.boolean
DeductiveDatabase.removeRules
(Collection<Rule> rules) Remove rules from the deductive database.void
DeductiveDatabase.removeRulesAndFacts
(String rulesAndFacts) remove rules and facts from textvoid
Core.reOpen()
reopen a coreJavaDeductiveDatabase.retrieveJavaObjects
(JavaObject object, String conditions) Retrieve JavaObjects of class A.JavaDeductiveDatabase.retrieveJavaObjects
(JavaObject object, String conditions, Configuration config, Properties builtinConfig) Retrieve JavaObjects of class A.org.json.JSONObject
JSONDeductiveDatabase.retrieveJsonObject
(String identifier, Configuration config, Properties builtinConfig) retrieve JSON object using the json identifier (@id)List<org.json.JSONObject>
JSONDeductiveDatabase.retrieveJsonObjects
(String ooquery) Retrieve JSON Objects using an OO-logic query and a module.List<org.json.JSONObject>
JSONDeductiveDatabase.retrieveJsonObjects
(String ooquery, Configuration config, Properties builtinConfig) Retrieve JSON Objects using an OO-logic query.List<org.json.JSONObject>
JSONDeductiveDatabase.retrieveJsonObjects
(String ooquery, Properties builtinProperties) Retrieve JSON Objects using an OO-logic query and a module.List<org.json.JSONObject>
JSONDeductiveDatabase.retrieveJsonObjects
(Collection<String> identifiers) retrieve JSON objects using the json identifiers (@id)List<org.json.JSONObject>
JSONDeductiveDatabase.retrieveJsonObjects
(Collection<String> identifiers, boolean initializeTransaction) retrieve JSON objects using the json identifiers (@id)List<org.json.JSONObject>
JSONDeductiveDatabase.retrieveJsonObjects
(Collection<String> identifiers, boolean initializeTransaction, Properties builtinConfig) retrieve JSON objects using the json identifiers (@id)List<org.json.JSONObject>
JSONDeductiveDatabase.retrieveJsonObjects
(Collection<String> identifiers, Configuration config, Properties builtinConfig) retrieve JSON objects using the json identifiers (@id)List<org.json.JSONObject>
JSONDeductiveDatabase.retrieveJsonObjects
(Collection<String> identifiers, Configuration config, Properties builtinConfig, boolean initializeTransaction) retrieve JSON objects using the json identifiers (@id)JSONCache.retrieveJsons
(JSONDeductiveDatabase jdb, String ooquery, int maxNumberOfResults, Properties builtinConfig) Retrieve JSON Objects as strings using an OO-logic query.JSONDeductiveDatabase.retrieveJsons
(String ooquery, int maxNumberOfResults, Configuration config, Properties builtinConfig) Retrieve JSON Objects using an OO-logic query.JSONDeductiveDatabase.retrieveJsons
(String ooquery, Configuration config, Properties builtinConfig) Retrieve JSON Objects using an OO-logic query.List<org.json.JSONObject>
JSONDeductiveDatabase.retrieveTuples
(String query, Configuration config, Properties builtinConfig) Retrieve tuples (variable substitutions) for a given query
E.g. query ?void
Core.shutdown()
Shutdown this deductive database instance (and closes the core).void
Core.slowLoadMixed
(InputStream input) Loads from an input stream facts and rules in usual predicate syntax.void
Core.slowLoadMixedFiles
(List<String> files) Loads files for facts and rules in usual predicate syntax.MaterializationReceiver.substitute
(Object t, Object[] substitutions) Object[]
ResultBuffer.toArray()
get an array of result objectsvoid
DeductiveDatabase.transactionBegin()
start a transactionvoid
JavaDeductiveDatabase.transactionBegin()
void
JSONDeductiveDatabase.transactionBegin()
start a transactionvoid
DeductiveDatabase.transactionCommit()
commit all modificationsvoid
JavaDeductiveDatabase.transactionCommit()
void
JSONDeductiveDatabase.transactionCommit()
commit transactionvoid
DeductiveDatabase.transactionRollback()
discard all changesvoid
JavaDeductiveDatabase.transactionRollback()
void
JSONDeductiveDatabase.transactionRollback()
rollback transactionboolean
Core.tryShutdown()
Tries to shutdown this deductive database instance (and closes the core).void
MaterializationReceiver.tuplesFinished
(boolean isBottomUp) boolean
JSONDeductiveDatabase.validateJsonObjects
(List<org.json.JSONObject> jsons, String schemaid) Validate json objects against a stored schema with @id "schema".
Returns true if the schema was available and it has been successfully validated.boolean
JSONDeductiveDatabase.validateJsonObjects
(List<org.json.JSONObject> jsons, String schemaid, Configuration config, Properties builtinConfig) Validate json objects against a stored schema with @id "schema".
Returns true if the schema was available and it has been successfully validated.void
JSONDeductiveDatabase.validateJsonObjects
(List<org.json.JSONObject> jsons, org.json.JSONObject schema, Properties builtinConfig) Validate json objects against a schema.ModifierConstructorDescriptionCore()
Core
(Configuration configuration) DeductiveDatabase
(Core core) JavaDeductiveDatabase
(Core core) JSONDeductiveDatabase
(Core core) StreamReasoningDB
(Core core) create a new stream reasoning database -
Uses of SemReasonerException in com.semedy.reasoner.api.edb
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionvoid
ExtensionalDB.addRelation
(String pname, Relation T) add a whole relation R to a predicateboolean
ExtensionalDB.addTuple
(String predicate, TupleBuffer tuple) add tuple to edb.void
create a backup for the extensional databasevoid
ExtensionalDB.backupOld
(String backupfile, SymbolTable symbolTable) Deprecated.void
ExtensionalDB.bulkExport
(InterruptFlag interrupt, List<Filter> filters, String resultdirectory, SymbolTable symbolTable) Bulk export of facts for predicate symbols to raw files in result directoryvoid
ExtensionalDB.bulkLoadFiles
(List<File>[] files, Map<String, Long> counts, Map<String, String> indexToPredicates, String tempdir, SymbolTable symbols) void
void
ExtensionalDB.createIndex
(SymbolTable symbols, long propCode) create indices for propertyExtensionalDB.createSchemas
(SymbolTable symbols) Create a cache for the hierarchyvoid
ExtensionalDB.exportNQuads
(List<String> predicates, Writer writer, SymbolTable symbolTable, String iri) export of facts for predicate symbols to N-Quads filevoid
ExtensionalDB.exportOOLogic
(InterruptFlag interrupt, List<Filter> filters, Writer writer, SymbolTable symbolTable) export of facts for predicate symbols to OO-logic filevoid
ExtensionalDB.exportOOLogic
(InterruptFlag interrupt, List<Filter> filters, Writer writer, SymbolTable symbolTable, String module) export of facts for predicate symbols to OO-logic file.void
ExtensionalDB.exportOOLogic
(InterruptFlag interrupt, List<Filter> filters, String resultFile, SymbolTable symbolTable) export of facts for predicate symbols to OO-logic filevoid
ExtensionalDB.exportOOLogic
(InterruptFlag interrupt, List<Filter> filters, String resultFile, SymbolTable symbolTable, String module) export of facts for predicate symbols to OO-logic file.void
LoaderProvider.load
(Collection<String> paths, SymbolTable symbols, ExternalDataTypeProvider dataTypes) load facts from filesvoid
LoaderProvider.loadByStream
(InputStream stream, InputStream companionstream, String format, SymbolTable symbols, ExternalDataTypeProvider dataTypes) load facts by stream. format is either the file format like json,nq etc.void
ExtensionalDB.loadFactsFiles
(List<String> files, boolean deleteold, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, BuiltinProvider builtins) reads facts files in ordinary predicate formvoid
ExtensionalDB.loadFiles
(List<String> files, SymbolTable symbols, ExternalDataTypeProvider dataTypes) load all kind of files (besides OO-logic files)void
ExtensionalDB.recreateIndices
(SymbolTable symbols) recreate indices for propertiesboolean
ExtensionalDB.removeTuple
(String predicate, TupleBuffer tuple) remove a tuple from edb.void
ExtensionalDB.reOpen()
reopens a closed extensional databasevoid
restore the edb from a backup file.void
ExtensionalDB.restore
(List<String> predicatesToRestore, boolean restoreSymbolTable, String edbdir, String workdir, String logDir, String backupfile, ExternalDataTypeProvider datatypes, int maxTermLength) restore single predicates and/or symbol table from a backup file.void
ExtensionalDB.restoreOld
(String edbdir, String workdir, String logdir, String backupfile, ExternalDataTypeProvider datatypes, int maxTermLength) restore the edb from a backup file.ModifierConstructorDescriptiona no name main memory edb without transactionsExtensionalDB
(String edbdir, String tempdir, String logDir, Configuration.StorageType storage, Set<String> excludedPredicates, long maxtermstoload, boolean compress, List<Literal> partition, boolean transactionLog, String[] indexedprops, Configuration config) ExtensionalDB
(List<Literal> partitions, Configuration config) -
Uses of SemReasonerException in com.semedy.reasoner.api.idb
Modifier and TypeMethodDescriptionboolean
IntensionalDB.addAllRules
(Collection<Rule> rules) Add a whole collection of rules.boolean
Add a query which is a rule without head.boolean
Add a rule.boolean
Add rulesvoid
IntensionalDB.createAxioms
(SymbolTable symbols, ExternalDataTypeProvider datatypes, Configuration config) create the relevant axiomsvoid
IntensionalDB.createRuleGraph
(SymbolTable symboltable) Creates a rule graph.void
IntensionalDB.exportRules
(Writer out, SymbolTable symbolTable) export all rulesvoid
IntensionalDB.exportRules
(String filepath, boolean append, SymbolTable symbolTable) store all rules in file given by file pathvoid
IntensionalDB.loadRuleFiles
(List<String> files, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, BuiltinProvider builtins) load rules from filevoid
IntensionalDB.removeAxioms
(SymbolTable symbols, ExternalDataTypeProvider datatypes, Configuration config) remove the relevant axiomsIntensionalDB.ruleToString
(Rule r, SymbolTable symbols) return an OO-Logic representation of the ruleIntensionalDB.selectRules
(List<Rule> rules, BuiltinProvider builtins) select all rules transitively feeding into rulesIntensionalDB.toString
(SymbolTable symbols) -
Uses of SemReasonerException in com.semedy.reasoner.api.induction
Modifier and TypeMethodDescriptionvoid
SimilarityTrainer.trainRules
(Collection<String> ruleNames, String query4Positives, String query4Negatives, int stepRate) adapt similarity built-ins in rules to cover max positives and min negatives. -
Uses of SemReasonerException in com.semedy.reasoner.api.logic
Modifier and TypeMethodDescriptionLiteral.toString
(SymbolTable symbols) Rule.toString
(SymbolTable symbols) Rule.toString
(SymbolTable symbols, List<Rule> aggregationRules) -
Uses of SemReasonerException in com.semedy.reasoner.api.parser
Modifier and TypeMethodDescriptionstatic void
ParserUtils.loadAllFactsAndRulesInDirectory
(String directoryPath, Set<Rule> rules, Set<Literal> facts, int maxTermLength) load all rules and facts in files in same (flat) directoryvoid
GraphQLParser.parseQuery
(InputStream input, Map<String, Object> variables) parse GraphQL query and create (several) OO-logic queriesvoid
GraphQLParser.parseQuery
(Reader input, Map<String, Object> variables) parse GraphQL query and create an OO-logic queryvoid
GraphQLParser.parseQuery
(StringReader input, Map<String, Object> variables) parse GraphQL query and create an OO-logic queryvoid
GraphQLParser.parseQuery
(String input, Map<String, Object> variables) parse GraphQL query and create an OO-logic queryparse rule from a stringRuleParser.parseRules
(String input) parse several rules from input stringvoid
RuleParser.parseRulesOrFacts
(InputStream input, Collection<Rule> parsedRules, Collection<Literal> parsedFacts) parse rules and facts in input stream to the containers parsedRules and parsedFactsvoid
RuleParser.parseRulesOrFacts
(Reader input, Collection<Rule> parsedRules, Collection<Literal> parsedFacts) parse rules and facts from reader to the containers parsedRules and parsedFactsvoid
RuleParser.parseRulesOrFacts
(StringReader input, Collection<Rule> parsedRules, Collection<Literal> parsedFacts) parse rules and facts from string reader to the containers parsedRules and parsedFactsvoid
RuleParser.parseRulesOrFacts
(String input, Collection<Rule> parsedRules, Collection<Literal> parsedFacts) parse rules and facts from string to the containers parsedRules and parsedFacts -
Uses of SemReasonerException in com.semedy.reasoner.api.reasoning
Modifier and TypeMethodDescriptionvoid
Reasoner.compile
(IntensionalDB idb, ExtensionalDB[] edbs, ReasoningMonitor monitor, SystemMonitor smonitor, boolean topdown, int maxNumberOfResults, boolean streamReasoning, boolean streamReasoningWithRetracts) compile rules for the reasoning processReasoner.evaluate()
starts evaluation and returns iterators for the results of the evaluationvoid
Starts evaluation and feed the results into receiverReasoner.evaluateSeveralQueries()
Starts evaluation for several queries.void
Reasoner.evaluationFinished()
Is called after reasoning process is finishedvoid
ReasoningMonitor.postBuiltinExecution
(Rule rule, Literal literal, String operatorName, String receiverName, ReasoningRelation[] relationA, long numResultTuples, ReasoningRelation result, String msg) Called after a built-in has been executedvoid
ReasoningMonitor.postJoin
(Rule rule, Literal literal, String operatorName, String receiverName, ReasoningRelation[] relationA, ReasoningRelation[] relationB, long numResultTuples, ReasoningRelation result, String joinType, String msg) Called after a join or negation is executed.boolean
Receiver.receiveRelation
(ReasoningRelation relation) receive a whole relationboolean
Receiver.receiveTuple
(int tuple) receive a single tupleboolean
Receiver.receiveTuple
(long[] tuple) receive a single tupleboolean
Receiver.receiveTuple
(TupleBuffer tuple) receive a single tuplevoid
Reasoner.register
(InterruptFlag interruptFlag, List<EventResultReceiver> receiver, CoreReadLock edbReadLock) Register several queries for events caused by sensors or in case of
stream reasoning db caused by added facts.
Every time events from sensors arrive there might be one or more new results.
For every result receiver.receive is called
This is used for stream reasoningvoid
ReasoningMonitor.setIntensionalDB
(IntensionalDB idb) Set the intensional db, e.g. to utilize the rule graphboolean
Reasoner.test
(Reader in, SymbolTable baseTable, ExternalDataTypeProvider datatypes, ExtensionalDB edb, boolean topdown, String path, BuiltinProvider builtinProvider, RewriterProvider rewriterProvider, Configuration config, Properties prp) Testing the evaluation.void
Receiver.tuplesFinished
(boolean isBottomUp) finish delivering single tuplesvoid
Receiver.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) Finish delivering single tuples. -
Uses of SemReasonerException in com.semedy.reasoner.api.rewriter
Modifier and TypeMethodDescriptionRewriterProvider.applyRewriter
(IntensionalDB input, ExtensionalDB[] edbs, SymbolTable symbols, ExternalDataTypeProvider datatypes, BuiltinProvider builtins, SystemMonitor statistics, Configuration config, Properties prp) Apply rewriters of rewriterList in that sequence which is given by their indices and indicated by their enumerationRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) applies the rewriter to a set of rules -
Uses of SemReasonerException in com.semedy.reasoner.api.symboltable
Modifier and TypeMethodDescriptionvoid
SymbolTable.clear()
remove all symbolslong
SymbolTable.createFunctionCode
(long[] t, Function f) create function codeSymbolTable.createNonGroundFunction
(Function t) Compile a non-ground function into a non-ground internalized function.SymbolTable.decodeNonGroundFunction
(Function t) decompiles a ground internal function into an external functionvoid
SymbolTable.delete()
delete all / release fileslong
Internalize a value.long
SymbolTable.encodeNotInternalize
(Object t) Returns a code for an object but does not internalize the object.long
SymbolTable.encodeWOEncoding
(Object t) Internalize a value.long
searches the code for a value returns 0 if term is not registeredlong
SymbolTable.getFunctionCode
(long[] t) get function codelong[]
SymbolTable.getFunctionEncoding
(long code) Returns the codes of the arguments of a function given by codeSymbolTable.getValue
(long code) Produces a value from the code of an internal term.SymbolTable.getValueFunction
(long code) Produces a value from the code of an internal function.SymbolTable.getValueSymbol
(long code) Produces a value from the code of an internal term.boolean
Matches a non-ground structure (function or literal) with a ground structure (function or literal).boolean
SymbolTable.matchArguments
(Object t, long[] groundtermarguments, long[] substitutions) Match returns for each variable v in t the symbol s v has to be substituted
by to match the arguments of t with ground term arguments.boolean
SymbolTable.matchArguments
(Object t, TupleBuffer groundtermarguments, long[] substitutions) void
SymbolTable.recreateSymbolTableIndexes()
recreates all symbol table indexes from scratch.long
SymbolTable.substitute
(Object t, long[] substitutions) Substitutes the variables in a compound by the codes found in substitutions,
internalizes the resulting term and returns the code of the term.SymbolTable.substitute
(Object t, Object[] substitutions) Substitutes the variables in a compound by the terms (non-ground) found in substitutions,
internalizes the resulting terms and returns either the code of the term
or a non-ground term.SymbolTable.substitute
(Object t, Map<Variable, Object> substitutions) long[]
SymbolTable.substituteArguments
(Object t, long[] substitutions) Substitutes the variables in a compound t by the codes found in substitutions,
internalizes the resulting terms and returns the arguments of t.Object[]
SymbolTable.substituteArguments
(Object t, Object[] substitutions) Substitutes the variables in a compound t by the terms (non-ground) in substitutions,
internalizes the resulting terms and returns the arguments of t.void
SymbolTable.transactionBegin()
begin a transaction.void
SymbolTable.transactionCommit()
commit last changesvoid
SymbolTable.transactionRollback()
abort last changesboolean
Unifies two structures (functions or literals).boolean
Unifies two structures (variables, terms, functions or literals).boolean
SymbolTable.unify
(Object t, Object f, Map<Variable, Object> substitutions, Map<Variable, Set<Variable>> equivalentVariables) Unifies two structures (variables, terms, functions or literals). -
Uses of SemReasonerException in com.semedy.reasoner.app
Modifier and TypeMethodDescriptionboolean
APIMethods.createJson
(String jsonS) create a new json objectboolean
APIMethods.deleteJson
(String id) delete json with idboolean
Check4Bug.errorStillHere
(List<String> factfilepaths, List<String> rulefilepaths) check whether problem still existsboolean
Check4Bulk.errorStillHere
(List<String> factfilepaths, List<String> rulefilepaths) boolean
Check4DoubleLoad.errorStillHere
(String factfilepath, List<String> rulefilepaths) boolean
Check4JsonBug.errorStillHere
(String factfilepaths, List<String> rulefilepaths) check whether problem still existsboolean
Check4Replay.errorStillHere
(String factfilepath, List<String> rulefilepaths) boolean
Check4SymbolTable.errorStillHere
(String factfilepath, List<String> rulefilepaths) QueryRunner.eval
(InterruptFlag interruptflag, String flogic, String query, ReasoningMonitor monitor) find jsons with a OO-logic query
Variable ?static void
TripleGenerator.generateTriples
(long startUniversities, long numberOfUniversities, String outputdir, boolean ang, boolean randomized, long maxtuples, Core core) org.json.JSONObject
get json with idvoid
Foil.load()
void
MultiInterpreter.load()
void
load file from path if path is an url the file is stored in the archive directory and then loadedstatic void
static void
static void
static void
static void
static void
static void
static void
static void
static void
static void
static void
static void
static void
static void
static void
void
DebuggingMonitor.postBuiltinExecution
(Rule rule, Literal literal, String operatorName, String receiverName, ReasoningRelation[] relationA, long numResultTuples, ReasoningRelation result, String msg) void
DebuggingMonitor.postJoin
(Rule rule, Literal literal, String operatorName, String receiverName, ReasoningRelation[] relationA, ReasoningRelation[] relationB, long numResultTuples, ReasoningRelation result, String joinType, String msg) static void
QueryRegister.query
(InterruptFlag interruptflag, String querypath, PrintStream out) static void
QueryRunner.query
(InterruptFlag interrupt, String querypath, PrintStream out) APIMethods.queryJsons
(String ooquery) query for jsons
In contrast to find jsons, query jsons combines jsons from triples.void
QueryRegister.register
(InterruptFlag interruptFlag, String flogic, String query, ReasoningMonitor monitor, PrintStream out) void
RepairEDB.repairIt
(Configuration config) void
void
JsonProblemMinimizer.run()
Run the minimizer
and store the results in temp directory (given in CheckBug).void
ProblemMinimizer.run()
Run the minimizer
and store the results in temp directory (given in CheckBug).void
MultiInterpreter.shutdown()
void
boolean
APIMethods.updateJson
(String jsonS) update an existing json with same identifier @id -
Uses of SemReasonerException in com.semedy.reasoner.builtin.action
Modifier and TypeMethodDescriptionboolean
Assert.isTrue
(long[] input) boolean
ConstraintException.isTrue
(long[] input) boolean
MoneyTransfer.isTrue
(long[] input) boolean
PrintOut.isTrue
(long[] input) boolean
PrintToFile.isTrue
(long[] input) boolean
RaspiGpioOut.isTrue
(long[] input) boolean
Retract.isTrue
(long[] input) boolean
SendMail.isTrue
(long[] input) boolean
SendMail2.isTrue
(long[] input) boolean
ToCSV.isTrue
(long[] input) boolean
ToJSON.isTrue
(long[] input) -
Uses of SemReasonerException in com.semedy.reasoner.builtin.aggregation
Modifier and TypeMethodDescriptionvoid
AbstractAggregation.evaluate
(BuiltinReceiver receiver) void
CollatingCompose.evaluate
(BuiltinReceiver receiver) void
Compose.evaluate
(BuiltinReceiver receiver) void
AbstractAggregation.input
(long[] input) -
Uses of SemReasonerException in com.semedy.reasoner.builtin.connector
Modifier and TypeMethodDescriptionvoid
CountEventsInTime.input
(long[] input) void
Currency.input
(long[] input) void
Query.input
(long[] input) void
ReasonerQuery.input
(long[] input) void
Currency.stop()
void
Query.stop()
void
ReasonerQuery.stop()
void
TestMultiRelational.stop()
void
TestMultiRelationalCached.stop()
-
Uses of SemReasonerException in com.semedy.reasoner.builtin.directfilter
Modifier and TypeMethodDescriptionboolean
IsNotFunctional2.receiveRelation
(ReasoningRelation relation) boolean
IsNotFunctional3.receiveRelation
(ReasoningRelation relation) boolean
IsNotFunctional2.receiveTuple
(int tuple) boolean
IsNotFunctional2.receiveTuple
(long[] buffer) boolean
IsNotFunctional2.receiveTuple
(TupleBuffer buffer) boolean
IsNotFunctional3.receiveTuple
(int tuple) boolean
IsNotFunctional3.receiveTuple
(TupleBuffer buffer) void
IsNotFunctional2.tuplesFinished
(boolean isBottomUp) void
IsNotFunctional2.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) -
Uses of SemReasonerException in com.semedy.reasoner.builtin.filter
Modifier and TypeMethodDescriptionboolean
boolean
void
void
void
boolean
BooleanExpression.isTrue
(long[] input) boolean
ComparisonBuiltin.isTrue
(long[] input) boolean
ComparisonBuiltin2.isTrue
(long[] input) boolean
ComparisonBuiltinNew.isTrue
(long[] input) boolean
ContainsSimilar.isTrue
(long[] input) boolean
False.isTrue
(long[] input) boolean
InstanceFilterBuiltin.isTrue
(long[] input) boolean
IsCalendar.isTrue
(long[] input) boolean
IsDouble.isTrue
(long[] input) boolean
IsEqualSet.isTrue
(long[] input) boolean
IsFloat.isTrue
(long[] input) boolean
IsJsonId.isTrue
(long[] input) boolean
IsJsonTopId.isTrue
(long[] input) boolean
IsNumber.isTrue
(long[] input) boolean
IsSet.isTrue
(long[] input) boolean
IsString.isTrue
(long[] input) boolean
IsSubset.isTrue
(long[] input) boolean
IsType.isTrue
(long[] input) boolean
JaroWinklerSimilarityBuiltin.isTrue
(long[] input) boolean
Print.isTrue
(long[] input) boolean
RaspiGpioOut.isTrue
(long[] input) boolean
RegularExpression.isTrue
(long[] input) boolean
Seek.isTrue
(long[] input) boolean
Select.isTrue
(long[] input) boolean
StartsWithOneOf.isTrue
(long[] input) boolean
SubJsonId.isTrue
(long[] input) boolean
True.isTrue
(long[] input) -
Uses of SemReasonerException in com.semedy.reasoner.builtin.functional
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Evaluate returns the stock price for the given symbol.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Uses of SemReasonerException in com.semedy.reasoner.builtin.relational
Modifier and TypeMethodDescriptionvoid
Builtins1.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
Builtins2.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
Enumerate.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
GeoSearch.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
In.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
NGram.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
Predicates.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
RegularExpression.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
Seek3.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
Seek4.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
Seek5.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
SeekAnd.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
Sqrt.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
TextSearch2.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
TextSearch3.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
TimeRaster.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receive) void
Window.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
void
void
void
void
void
-
Uses of SemReasonerException in com.semedy.reasoner.builtin.sensor
-
Uses of SemReasonerException in com.semedy.reasoner.builtin.similarity
-
Uses of SemReasonerException in com.semedy.reasoner.core
Modifier and TypeMethodDescriptionQueryHandler.applyRewriter
(IntensionalDB input, ExtensionalDB[] edbs, SymbolTable symbols, ExternalDataTypeProvider datatypes, Configuration config, boolean withMagicSets, Properties builtinConfig) static org.json.JSONObject
JsonUtils.arrayify
(org.json.JSONObject json, org.json.JSONObject schema) create arrays according to the arrays in the schemastatic org.json.JSONObject
JsonUtils.arrayifySchema
(Object value) create arrays in a Json schema for enumsstatic org.json.JSONObject
JsonUtils.createJsonObject
(Pattern pattern, TermParser parser) Create a json object from a pattern with values as a result of a mutation graphqlvoid
Compose.evaluate
(BuiltinReceiver receiver) boolean
void
ContainsSequence.evaluate
(BuiltinReceiver receiver) void
ContainsSequence2.evaluate
(BuiltinReceiver receiver) void
PerformanceTest0.ContainsSequence.evaluate
(BuiltinReceiver receiver) static org.json.JSONObject
JsonUtils.fillPattern
(Pattern pattern, ResultBuffer buffer, Map<String, Set<String>> subclasses) fill a graphql pattern with the result of a queryResultBufferNotThreaded.get
(int index) Get object at argument indexGet object with variable name.void
ContainsSequence.input
(long[] input) void
ContainsSequence2.input
(long[] input) void
PerformanceTest0.ContainsSequence.input
(long[] input) boolean
OptimizedContainsSequence.isTrue
(long[] input) boolean
PerformanceTest0.ContainsWord.isTrue
(long[] input) void
QueryHandler.loadQueries()
Load rule files for queries in query directory and
store them in mapvoid
write the current action with the given json string into a log file.boolean
TransactionManager.longTransactionBegin
(Transaction transaction) start a long transaction within a begin
Returns false if a long transaction is already runningvoid
TransactionManager.longTransactionEnd
(Transaction transaction) finish a long transaction within a commitvoid
Modify edb according to log file
Path can be a single file or a directoryboolean
IntermediateResultProducer.receiveRelation
(ReasoningRelation relation) static void
TransactionLogHandler.replayTransactionLogs
(String logdir, ExtensionalDB edb, SymbolTable symbols, ExternalDataTypeProvider datatypes) Search for corrupted predicates in logdir and
Replay corresponding transaction log into edb relations.static void
TransactionLogHandler.replayTransactionLogs
(List<String> predicates, String logdir, ExtensionalDB edb, SymbolTable symbols, ExternalDataTypeProvider externalDataTypes) Replay transaction files of predicates.QueryHandler.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) void
JsonThreadingTest.test()
void
JsonThreadingTest1.test()
void
JsonThreadingTest2.test()
void
JsonArrayIfyTest.test1()
void
JsonRecreateTest.test1()
void
JsonValidateTest.test1()
void
JsonValidateTest.test10()
void
JsonValidateTest.test11()
void
JsonRecreateTest.test12()
void
JsonValidateTest.test12()
void
JsonValidateTest.test13()
void
JsonValidateTest.test14()
void
JsonArrayIfyTest.test2()
void
JsonRecreateTest.test2()
void
JsonValidateTest.test2()
void
JsonArrayIfyTest.test3()
void
JsonRecreateTest.test3()
void
JsonArrayIfyTest.test3a()
void
JsonArrayIfyTest.test4()
void
JsonRecreateTest.test4()
void
JsonArrayIfyTest.test5()
void
JsonRecreateTest.test5()
void
JsonArrayIfyTest.test6()
void
JsonRecreateTest.test6()
void
JsonRecreateTest.test7()
void
JsonValidateTest.test7()
void
JsonRecreateTest.test8()
void
JsonValidateTest.test9()
void
TestDDB4.testEDB7()
void
DeductiveDatabaseTest.testLongTransaction()
Object[]
ResultBufferNotThreaded.toArray()
get an array of result objectsvoid
TransactionManager.transactionBegin
(InterruptFlag interruptflag, Transaction transaction) start a transaction in for a queryvoid
TransactionManager.transactionBegin
(Transaction transaction) start a general transactionvoid
TransactionManager.transactionEnd
(Transaction transaction) finish a transactionvoid
TransactionManager.writeTransactionBegin
(Transaction transaction) start a writing transaction within a beginvoid
TransactionManager.writeTransactionEnd
(Transaction transaction) finish a writing transaction within a commit -
Uses of SemReasonerException in com.semedy.reasoner.customer.deuba
-
Uses of SemReasonerException in com.semedy.reasoner.edb
-
Uses of SemReasonerException in com.semedy.reasoner.edb.loader
Modifier and TypeMethodDescriptionvoid
void
void
JsonLoader.readJsonFromStream
(Reader ins) void
JsonLoader3.readJsonFromStream
(Reader ins) -
Uses of SemReasonerException in com.semedy.reasoner.edb.persistentstore
Modifier and TypeMethodDescriptionvoid
export and import jsons to remove deleted jsons from filevoid
BplusIndexJsons.importJsons
(String path) import jsons from filevoid
BplusIndexJsons.readJsonFromStream
(InputStream in) read jsons from stream -
Uses of SemReasonerException in com.semedy.reasoner.edb.ramstore
-
Uses of SemReasonerException in com.semedy.reasoner.edb.zdb
Modifier and TypeMethodDescriptionboolean
Schemas.build()
build schema and hierarchy information in edbvoid
static void
ExternalSort.merge
(List<File> files, ExternalSortConsumer consumer, boolean deleteinputfiles, boolean compressed) static void
ExternalSortRawTuples.merge
(List<File> files, ExternalSortConsumer consumer, boolean deleteinputfiles, boolean compressed) static void
ExternalSortTuples.merge
(List<File> files, ExternalSortConsumer consumer, boolean deleteinputfiles, boolean compressed) static void
ExternalSortRawTuples.mergeBytesZipped
(List<File> files, ExternalSortConsumer consumer, boolean deleteinputfiles, boolean compressed) static void
ExternalSortRawTuples.mergeZipped
(List<File> files, ExternalSortConsumer consumer, boolean deleteinputfiles, boolean compressed) void
Loader.receiveFile
(String filename) void
RelationLoader.receiveFile
(String filename) -
Uses of SemReasonerException in com.semedy.reasoner.exercises
Modifier and TypeMethodDescriptionboolean
void
Mean.evaluate
(BuiltinReceiver receiver) void
Sqrt.evaluate
(long[] input, BitSet grounds, BuiltinReceiver receiver) void
Mean.input
(long[] input) boolean
IsString.isTrue
(long[] input) static void
static void
RemoveDoubleLiterals.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) void
FilterA.stop()
void
FilterB.stop()
-
Uses of SemReasonerException in com.semedy.reasoner.idb
-
Uses of SemReasonerException in com.semedy.reasoner.induction
-
Uses of SemReasonerException in com.semedy.reasoner.parser.graphql
Modifier and TypeMethodDescriptionvoid
InternalGraphQLParser.parseQuery
(InputStream input, Map<String, Object> variables) parse rules and facts in input stream to the containers parsedRules and parsedFactsvoid
InternalGraphQLParser.parseQuery
(Reader input, Map<String, Object> variables) parse rules and facts from reader to the containers parsedRules and parsedFactsvoid
InternalGraphQLParser.parseQuery
(StringReader input, Map<String, Object> variables) parse rules and facts from string reader to the containers parsedRules and parsedFactsvoid
InternalGraphQLParser.parseQuery
(String input, Map<String, Object> variables) parse rules and facts from string to the containers parsedRules and parsedFacts -
Uses of SemReasonerException in com.semedy.reasoner.parser.oologic
Modifier and TypeMethodDescriptionstatic void
ParserUtils.loadAllClasses
(String directoryPath, Set<String> classes) Return all predicates and classes in all files in same (flat) directorystatic SymbolTable
ParserUtils.loadAllFactsAndRulesInDirectory
(String directoryPath, Set<Rule> rules, Set<Literal> facts, int maxTermLength) load all rules and facts in files in same (flat) directorystatic void
ParserUtils.loadAllPredicateSymbols
(String directoryPath, Set<String> predicates) Return all predicates in all files in same (flat) directoryparse rule from a stringInternalOOLogicParser.parseRules
(String input) parse several rules from input stringvoid
InternalOOLogicParser.parseRulesOrFacts
(InputStream input, Collection<Rule> parsedRules, Collection<Literal> parsedFacts) parse rules and facts in input stream to the containers parsedRules and parsedFactsvoid
InternalOOLogicParser.parseRulesOrFacts
(Reader input, Collection<Rule> parsedRules, Collection<Literal> parsedFacts) parse rules and facts from reader to the containers parsedRules and parsedFactsvoid
InternalOOLogicParser.parseRulesOrFacts
(StringReader input, Collection<Rule> parsedRules, Collection<Literal> parsedFacts) parse rules and facts from string reader to the containers parsedRules and parsedFactsvoid
InternalOOLogicParser.parseRulesOrFacts
(String input, Collection<Rule> parsedRules, Collection<Literal> parsedFacts) parse rules and facts from string to the containers parsedRules and parsedFacts -
Uses of SemReasonerException in com.semedy.reasoner.reasoning
Modifier and TypeMethodDescriptionvoid
ReasonerNotThreaded.compile
(IntensionalDB idb, ExtensionalDB[] edbs, ReasoningMonitor monitor, SystemMonitor smonitor, boolean topdown, int[] partsVector, boolean cepReasoningWithRetracts, boolean cepReasoning) void
ReasonerNotThreaded.compile
(IntensionalDB idb, ExtensionalDB[] edbs, ReasoningMonitor monitor, SystemMonitor smonitor, boolean topdown, int maxNumberOfResults, boolean streamReasoning, boolean cepReasoningWithRetracts) Compile rules to a data flowvoid
ReasonerThreadedFactsPartitioning.compile
(IntensionalDB idb, ExtensionalDB[] edbs, ReasoningMonitor monitor, SystemMonitor smonitor, boolean topdown, int maxNumberOfResults, boolean cepReasoningWithRetracts, boolean cepReasoning) void
ReasonerThreadedRulesPartitioning.compile
(IntensionalDB idb, ExtensionalDB[] edbs, ReasoningMonitor monitor, SystemMonitor smonitor, boolean topdown, int maxNumberOfResults, boolean cepReasoningWithRetracts, boolean cepReasoning) void
void
AbstractTestTemplate.eval
(String flogic, String fqueries, List<Vector<String>> results, boolean applyRewriters) ReasonerNotThreaded.evaluate()
Start evaluation and return an iterator for the resultsvoid
ReasonerThreadedFactsPartitioning.evaluate()
void
ReasonerThreadedRulesPartitioning.evaluate()
ReasonerThreadedRulesPartitioning.evaluate
(ReasoningMonitor monitor) void
ReasonerNotThreaded.evaluateSeveralQueries()
void
ReasonerNotThreaded.evaluationFinished()
evaluation is finishedvoid
AbstractTestTemplate.evalWithoutResults
(String flogic, String fquery) void
AbstractTestTemplate1.evalWithoutResults
(Core core, String flogic, String fquery) void
boolean
BuiltinsTest.SuperSimpleBuiltin.isTrue
(long[] input) boolean
ExceptionBuiltin.isTrue
(long[] input) void
IncrementalFactsBuiltin.receiveEvent
(long[] tuple) void
IncrementalFactsBuiltin.receiveEvent
(TupleBuffer tuple) void
IncrementalFactsBuiltin.receiveRelation
(BaseRelation relation) void
ReasonerNotThreaded.register
(InterruptFlag interruptFlag, EventResultReceiver receiver, CoreReadLock edbReadLock) void
ReasonerNotThreaded.register
(InterruptFlag interruptFlag, List<EventResultReceiver> receiver, CoreReadLock edbReadLock) boolean
ReasonerNotThreaded.test
(Reader in, SymbolTable baseTable, ExternalDataTypeProvider datatypes, ExtensionalDB edb, boolean topdown, String path, BuiltinProvider builtinProvider, RewriterProvider rewriterProvider, Configuration config, Properties prp) testing the evaluation.void
JoinCacheTest.test1()
void
JoinCacheTest.test2()
void
InternalizeTest.test3()
void
Logic.test331()
void
Logic.test331a()
boolean
AbstractTestTemplate.testFile
(Reader is, String path, boolean topdown, Configuration.StorageType storage, boolean symboltableondisc, boolean directencoded) void
MassTest.testMass1()
void
MassTest.testMass2()
void
MassTest.testSwap()
-
Uses of SemReasonerException in com.semedy.reasoner.reasoning.monitor
Modifier and TypeMethodDescriptionvoid
DefaultReasoningMonitor.setIntensionalDB
(IntensionalDB idb) -
Uses of SemReasonerException in com.semedy.reasoner.reasoning.processes
Modifier and TypeMethodDescriptionRuleCompiler.compileRules()
compile all rules and create a process netRuleCompiler.compileRules
(int[] partsVector) compile all rules and create a process graphlong
ReasoningSymbolTableNotInternalize.createFunctionCode
(long[] t, Function f) void
Deferred.deferredEvaluate()
void
ExecuteAggregation.deferredEvaluate()
void
Not.deferredEvaluate()
void
RuleEvaluator.deferredEvaluate()
long
long
ReasoningSymbolTableNotInternalize.encodeNotInternalize
(Object t) long
ReasoningSymbolTableNotInternalize.encodeWOEncoding
(Object t) void
And.evaluate()
void
BufferedStore.evaluate()
void
EmptyStore.evaluate()
void
Evaluable.evaluate()
void
ExecuteAggregation.evaluate()
void
ExecuteConnectorBuiltin.evaluate()
void
ExecuteFilterBuiltin.evaluate()
void
ExecuteFunctionalBuiltin.evaluate()
void
ExecuteRelationalBuiltin.evaluate()
void
Not.evaluate()
void
Process.evaluate()
evaluate a process during reasoning.void
ProcessExecutor.evaluate()
void
ProcessExecutor.evaluate
(InterruptFlag interruptFlag, SimpleSemaphore semaphoreForSensors, CoreReadLock edbReadlock, Set<String> predicates) void
ProcessImp.evaluate()
void
RuleEvaluator.evaluate()
void
Store.evaluate()
evaluate the storevoid
SynchronizedBufferedStore.evaluate()
void
UnbufferedStore.evaluate()
void
ProcessExecutor.evaluateConnectors()
void
RuleEvaluator.evaluateInternal()
void
RuleEvaluator.evaluateThreaded()
boolean
ExecuteConnectorBuiltin.evaluateWoBuiltin()
void
BufferedStore.evaluationFinished
(long querykey) void
EmptyStore.evaluationFinished
(long querykey) void
ExecuteRelationalBuiltin.evaluationFinished
(long querykey) void
Process.evaluationFinished
(long querykey) the whole evaluation is finishedvoid
ProcessExecutor.evaluationFinished()
void
ProcessImp.evaluationFinished()
void
ProcessImp.evaluationFinished
(long querykey) void
ResultReceiver.evaluationFinished()
void
Store.evaluationFinished
(long querykey) Evaluation for query with querykey is finishedvoid
UnbufferedStore.evaluationFinished
(long querykey) Store.getAllTuplesInOne()
get all received tupleslong
long
ReasoningSymbolTableNotInternalize.getFunctionCode
(long[] t) long[]
ReasoningSymbolTableNotInternalize.getFunctionEncoding
(long code) BinaryPattern.getProcess
(List<Literal> remainingLiterals) abstract Process
BodyPattern.getProcess
(List<Literal> remainingLiterals) ReasoningSymbolTableNotInternalize.getValue
(long code) ReasoningSymbolTableNotInternalize.getValueFunction
(long code) ReasoningSymbolTableNotInternalize.getValueSymbol
(long code) ReasoningRelation.join
(InterruptFlag interrupt, int[] compare1, ReasoningRelation R, int[] compare2, int[] source1, int[] dest1, int[] source2, int[] dest2, long[] externalFilter1, long[] externalFilter2, int destarity, Receiver receiver, com.semedy.reasoner.reasoning.processes.EvaluationThread evalThread, boolean streamReasoning, com.semedy.reasoner.reasoning.processes.SystemMonitor.JoinType joinType) void
EmptyStore.operationFinished()
void
Process.operationFinished()
this process is finishedvoid
ProcessImp.operationFinished()
void
SystemReasoningMonitor.postBuiltinExecution
(Rule rule, Literal literal, String operatorName, String receiverName, ReasoningRelation[] relationA, long numResultTuples, ReasoningRelation result, String msg) void
SystemReasoningMonitor.postJoin
(Rule rule, Literal literal, String operatorName, String receiverName, ReasoningRelation[] relationA, ReasoningRelation[] relationB, long numResultTuples, ReasoningRelation result, String joinType, String msg) RuleCompiler.prepareCompilation()
preparation steps for compilationvoid
ExecuteFilterBuiltin.push()
void
ExecuteFunctionalBuiltin.push()
void
ExecuteRelationalBuiltin.push()
boolean
BufferedStore.readAccessEnd
(ProcessImp source, Set<Integer> tickets, boolean lock, boolean notDissolve) boolean
EmptyStore.readAccessEnd
(ProcessImp source, Set<Integer> tickets, boolean lock, boolean pushed) boolean
Store.readAccessEnd
(ProcessImp source, Set<Integer> tickets, boolean lock, boolean pushed) Reading of a store ends.boolean
SynchronizedBufferedStore.readAccessEnd
(ProcessImp source, Set<Integer> tickets, boolean unlockit, boolean pushed) boolean
UnbufferedStore.readAccessEnd
(ProcessImp source, Set<Integer> tickets, boolean lock, boolean pushed) boolean
BufferedStore.receiveRelation
(ReasoningRelation R) boolean
EmptyStore.receiveRelation
(ReasoningRelation R) boolean
EventReceiver.receiveRelation
(ReasoningRelation relation) boolean
ExecuteDirectFilterBuiltin.receiveRelation
(ReasoningRelation relation) boolean
ExecuteFilterBuiltin.receiveRelation
(ReasoningRelation relation) boolean
ExecuteFunctionalBuiltin.receiveRelation
(ReasoningRelation relation) boolean
ExecuteRelationalBuiltin.receiveRelation
(ReasoningRelation relation) boolean
Match.receiveRelation
(ReasoningRelation relation) boolean
ProcessImp.receiveRelation
(ReasoningRelation tuples) boolean
ResultReceiver.receiveRelation
(ReasoningRelation R) boolean
Scatter.receiveRelation
(ReasoningRelation relation) boolean
SetConstants.receiveRelation
(ReasoningRelation relation) boolean
Store.receiveRelation
(ReasoningRelation R) receive a whole relation with tuplesboolean
SubstituteFunction.receiveRelation
(ReasoningRelation relation) boolean
SynchronizedBufferedStore.receiveRelation
(ReasoningRelation R) boolean
TestEqual.receiveRelation
(ReasoningRelation relation) boolean
TopDown.receiveRelation
(ReasoningRelation tuples) boolean
TopDownTrigger.receiveRelation
(ReasoningRelation tuples) boolean
TopDownUnbufferedStore.receiveRelation
(ReasoningRelation R) boolean
UnbufferedStore.receiveRelation
(ReasoningRelation R) boolean
VariableToVariable.receiveRelation
(ReasoningRelation relation) boolean
SetConstants.receiveRelationNoProject
(ReasoningRelation relation) boolean
SetConstants.receiveRelationProject
(ReasoningRelation relation) boolean
BufferedStore.receiveTuple
(int tuple) boolean
BufferedStore.receiveTuple
(long[] tuple) boolean
BufferedStore.receiveTuple
(TupleBuffer tuple) boolean
EmptyStore.receiveTuple
(int tuple) boolean
EmptyStore.receiveTuple
(long[] tuple) boolean
EmptyStore.receiveTuple
(TupleBuffer tuple) boolean
Encoder.receiveTuple
(int tuple) boolean
Encoder.receiveTuple
(long[] tuple) boolean
Encoder.receiveTuple
(TupleBuffer tuple) boolean
End.receiveTuple
(int tuple) boolean
End.receiveTuple
(long[] tuple) boolean
End.receiveTuple
(TupleBuffer tuple) boolean
EventReceiver.receiveTuple
(int tuple) boolean
EventReceiver.receiveTuple
(long[] tuple) boolean
EventReceiver.receiveTuple
(TupleBuffer tuple) boolean
ExecuteDirectFilterBuiltin.receiveTuple
(int tuple) boolean
ExecuteDirectFilterBuiltin.receiveTuple
(long[] tuple) boolean
ExecuteFilterBuiltin.receiveTuple
(int tuple) boolean
ExecuteFilterBuiltin.receiveTuple
(long[] tuple) boolean
ExecuteFunctionalBuiltin.receiveTuple
(int tuple) boolean
ExecuteFunctionalBuiltin.receiveTuple
(long[] tuple) boolean
ExecuteRelationalBuiltin.receiveTuple
(int tuple) boolean
ExecuteRelationalBuiltin.receiveTuple
(long[] tuple) boolean
Match.receiveTuple
(int tuple) boolean
Match.receiveTuple
(long[] tuple) boolean
ProcessImp.receiveTuple
(int tuple) boolean
ProcessImp.receiveTuple
(long[] tuple) boolean
ProcessImp.receiveTuple
(TupleBuffer tuple) final boolean
ResultReceiver.receiveTuple
(int tuple) boolean
ResultReceiver.receiveTuple
(long[] tuple) final boolean
ResultReceiver.receiveTuple
(TupleBuffer tuple) boolean
Scatter.receiveTuple
(int tuple) boolean
Scatter.receiveTuple
(long[] tuple) boolean
Scatter.receiveTuple
(TupleBuffer tuple) boolean
SetConstants.receiveTuple
(int tuple) boolean
SetConstants.receiveTuple
(long[] tuple) boolean
SetConstants.receiveTuple
(TupleBuffer tuple) boolean
Store.receiveTuple
(int tuple) receive a single tupleboolean
Store.receiveTuple
(long[] tuple) receive a single tupleboolean
SubstituteFunction.receiveTuple
(int tuple) boolean
SubstituteFunction.receiveTuple
(long[] tuple) boolean
TestEqual.receiveTuple
(int tuple) boolean
TestEqual.receiveTuple
(long[] tuple) boolean
TopDownUnbufferedStore.receiveTuple
(int tuple) boolean
TopDownUnbufferedStore.receiveTuple
(long[] tuple) boolean
UnbufferedStore.receiveTuple
(int tuple) boolean
UnbufferedStore.receiveTuple
(long[] tuple) boolean
VariableToVariable.receiveTuple
(int tuple) boolean
VariableToVariable.receiveTuple
(long[] tuple) void
ProcessExecutor.reset()
void
ExecuteDirectFilterBuiltin.DirectFilterBuiltinReceiver.send
(long[] buffer) void
ExecuteDirectFilterBuiltin.DirectFilterBuiltinReceiver.send
(TupleBuffer buffer) void
SystemReasoningMonitor.setIntensionalDB
(IntensionalDB idb) void
BufferedStore.triggerNeighbours
(int ticket) void
EmptyStore.triggerNeighbours
(int ticket) void
Store.triggerNeighbours
(int ticket) trigger neighbours for evaluationvoid
TopDownBufferedStore.triggerNeighbours
(int ticket) void
TopDownUnbufferedStore.triggerNeighbours
(int ticket) void
UnbufferedStore.triggerNeighbours
(int ticket) void
BufferedStore.tuplesFinished
(boolean isBottomUp) void
BufferedStore.tuplesFinished
(String annotation, ReasoningRelation R1, ReasoningRelation R2) void
EmptyStore.tuplesFinished
(boolean isBottomUp) void
EmptyStore.tuplesFinished
(String annotation, ReasoningRelation R1, ReasoningRelation R2) void
Encoder.tuplesFinished
(boolean isBottomUp) void
Encoder.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) void
EventReceiver.tuplesFinished
(boolean isBottomUp) void
EventReceiver.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) void
ExecuteAggregation.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) void
ExecuteConnectorBuiltin.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) void
ExecuteDirectFilterBuiltin.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) void
ExecuteFilterBuiltin.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) void
ExecuteFunctionalBuiltin.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) void
ExecuteRelationalBuiltin.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) void
ProcessImp.tuplesFinished
(boolean isBottomUp) void
ProcessImp.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) void
ResultReceiver.tuplesFinished
(boolean isBottomUp) void
ResultReceiver.tuplesFinished
(String annotation, ReasoningRelation R1, ReasoningRelation R2) void
Scatter.tuplesFinished
(boolean isBottomUp) void
Scatter.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) void
SetConstants.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) void
Store.tuplesFinished
(boolean isBottomUp) finish of delivery of single tuplesvoid
Store.tuplesFinished
(String annotation, ReasoningRelation R1, ReasoningRelation R2) finish of delivery of single tuplesvoid
SubstituteFunction.tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) void
SynchronizedBufferedStore.tuplesFinished
(boolean isBottomUp) void
SynchronizedBufferedStore.tuplesFinished
(String annotation, ReasoningRelation R1, ReasoningRelation R2) void
UnbufferedStore.tuplesFinished
(boolean isBottomUp) void
UnbufferedStore.tuplesFinished
(boolean isBottomUp) void
UnbufferedStore.tuplesFinished
(String annotation, ReasoningRelation R1, ReasoningRelation R2) -
Uses of SemReasonerException in com.semedy.reasoner.rewriter
Modifier and TypeMethodDescriptionAxiomInjector.createAxioms
(IntensionalDB idb, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) AxiomInjector.createAxioms
(Object module, SymbolTable symbols, ExternalDataTypeProvider datatypes, int i) static void
AxiomInjector.createStandardAxioms
(SymbolTable symbolTable, ExternalDataTypeProvider datatypes, BuiltinProvider builtins) AxiomInjector.detectModules
(Rule rule, SymbolTable symbols) boolean
MagicSetRewriter.goDown
(Literal l, BitSet boundVariables, String label, IntensionalDB oldIdb, IntensionalDB newIdb, ExtensionalDB[] edbs, SymbolTable symbols) boolean
TopDownOrderingRewriter.goDown
(Literal l, BitSet boundVariables, String label, IntensionalDB oldIdb, IntensionalDB newIdb, ExtensionalDB[] edbs, SymbolTable symbols) AxiomInjector.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) EliminateRedundantBodiesRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) FillNullRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbols, ExternalDataTypeProvider datatypes, Configuration config) FilterRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) FolderRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) IsaRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) ModuleRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) ModuleRewriter.rewrite
(IntensionalDB idb, SymbolTable symbolTable, String module) Fill rules into module.PathRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbols, ExternalDataTypeProvider datatypes, Configuration config) PropagateConstantsRewriter.rewrite
(IntensionalDB input, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) QueryRuleRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbols, ExternalDataTypeProvider datatypes, Configuration config) RewriterSkeleton.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) RuleReordering.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs) SeparateEDBfromIDB.separate
(IntensionalDB idb, ExtensionalDB[] edbs, boolean cep) -
Uses of SemReasonerException in com.semedy.reasoner.rewriter.sips
Modifier and TypeMethodDescriptionboolean
TopDownSIPS.isEvaluable
(Rule R, int ix, BitSet groundvars, IntensionalDB IDB, SymbolTable symbols) Is rule body beginning at index with given groundvars evaluableSIPS.orderBodies
(Rule rule, BitSet groundVars, long[] groundValues, IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbols) Arrange the bodies of a rule.TopDownSIPS.orderBodies
(Rule rule, BitSet groundVars, long[] groundValues, IntensionalDB IDB, ExtensionalDB[] edbs, SymbolTable symbols) -
Uses of SemReasonerException in com.semedy.reasoner.symboltable
Modifier and TypeMethodDescriptionvoid
MultiSymbolTable.clear()
void
ReasoningSymbolTableRAM.clear()
abstract long
AbstractSymbolTable.createFunctionCode
(long[] t, Function f) create function codelong
MultiSymbolTable.createFunctionCode
(long[] t, Function f) long
ReasoningSymbolTableRAM.createFunctionCode
(long[] t, Function f) AbstractSymbolTable.createNonGroundFunction
(Function f) Compile a non-ground user term into a non-ground internal term.ReasoningSymbolTable.createNonGroundFunction
(Function t) Compile a non-ground user term into a non-ground internal term.AbstractSymbolTable.decodeNonGroundFunction
(Function t) void
MultiSymbolTable.delete()
void
ReasoningSymbolTableRAM.delete()
long
Internalize a ground term.abstract long
AbstractSymbolTable.encodeNotInternalize
(Object t) long
MultiSymbolTable.encodeNotInternalize
(Object t) long
ReasoningSymbolTableRAM.encodeNotInternalize
(Object t) long
SymbolTableBplus.encodeNotInternalize
(Object t) long
SymbolTableRAM.encodeNotInternalize
(Object t) long
MultiSymbolTable.encodeWOEncoding
(Object t) long
ReasoningSymbolTableRAM.encodeWOEncoding
(Object t) long
SymbolTableBplus.encodeWOEncoding
(Object t) long
SymbolTableRAM.encodeWOEncoding
(Object t) long
search for code of a termabstract long
AbstractSymbolTable.getFunctionCode
(long[] t) get function codelong
MultiSymbolTable.getFunctionCode
(long[] t) long
ReasoningSymbolTableRAM.getFunctionCode
(long[] t) abstract long[]
AbstractSymbolTable.getFunctionEncoding
(long code) get the encoding of a function code, if it is therelong[]
MultiSymbolTable.getFunctionEncoding
(long code) long[]
ReasoningSymbolTableRAM.getFunctionEncoding
(long code) AbstractSymbolTable.getValue
(long code) ReasoningSymbolTableRAM.getValue
(long code, boolean b) abstract Function
AbstractSymbolTable.getValueFunction
(long code) get function for symbol codeMultiSymbolTable.getValueFunction
(long code) ReasoningSymbolTableRAM.getValueFunction
(long code) ReasoningSymbolTableRAM.getValueFunction
(long code, boolean decodeSets) Produce a value from the code.SymbolTableBplus.getValueFunction
(long code) final Function
SymbolTableRAM.getValueFunction
(long code) Produce a value from the code of an internal constant.abstract Object
AbstractSymbolTable.getValueSymbol
(long code) get object for symbol codeMultiSymbolTable.getValueSymbol
(long code) ReasoningSymbolTableRAM.getValueSymbol
(long code) ReasoningSymbolTableRAM.getValueSymbol
(long code, boolean decodeSets) Produce a value from the code.SymbolTableBplus.getValueSymbol
(long code) boolean
IsList.isTrue
(long[] input) boolean
Match returns for each variable v in t the symbol s v has to be substituted by.boolean
Match returns for each variable v in t the symbol s v has to be substituted by.boolean
AbstractSymbolTable.matchArguments
(Object t, long[] groundtermarguments, long[] substitutions) Match returns for each variable v in t the symbol s v has to be substituted by to match the arguments of t with groundtermarguments The result provides for variable position p the code of sboolean
AbstractSymbolTable.matchArguments
(Object t, TupleBuffer groundtermarguments, long[] substitutions) boolean
ReasoningSymbolTable.matchArguments
(Object t, long[] groundtermarguments, long[] substitutions) Match returns for each variable v in t the symbol s v has to be substituted by to match the arguments of t
with groundtermarguments.void
AbstractSymbolTable.recreateSymbolTableIndexes()
void
SymbolTableBplus.restore
(String edbdir, String workdir, ExternalDataTypeProvider datatypes, boolean compress, int maxTermLength) AbstractSymbolTable.semiSubstitute
(Object t, long[] substitutions) substitutes the variables in a term by the codes found in substitutions.long
AbstractSymbolTable.substitute
(Object t, long[] substitutions) substitutes the variables in an internal term by the codes found in substitutions, internalizes the resulting term and returns the code of the term Attention: do not use this method in several threads in parallel, it is NOT threadsafe!AbstractSymbolTable.substitute
(Object t, Object[] substitutions) substitutes the variables in a compound by the terms (non-ground) found in substitutions, internalizes the resulting term and returns the code of the term Attention: do not use this method in several threads in parallel, it is NOT threadsafe!AbstractSymbolTable.substitute
(Object t, Map<Variable, Object> subs) long
ReasoningSymbolTable.substitute
(Object t, long[] substitutions) substitutes the variables in an internal term by the codes found in substitutions, internalizes the resulting term and returns the code of the term Attention: do not use this method with same object t in several threads in parallel, it is NOT threadsafe!long[]
AbstractSymbolTable.substituteArguments
(Object t, long[] substitutions) Substitutes the variables in an internal term by the codes found in substitutions,
internalizes the resulting term and returns the code of the term.Object[]
AbstractSymbolTable.substituteArguments
(Object t, Object[] substitutions) substitutes the variables in an internal term by the terms (non-ground) found in substitutions, internalizes the resulting term and returns the code of the term Attention: do not use this method in several threads in parallel, it is NOT threadsafe!long[]
ReasoningSymbolTable.substituteArguments
(Object t, long[] substitutions) substitutes the variables in a compound t by the codes found in substitutions, internalizes the resulting terms and returns the arguments of t.AbstractSymbolTable.substituteFunction
(Function f, Map<Variable, Object> subs) void
TestSymboltableDeuba.testCountry()
void
MultiSymbolTable.transactionBegin()
void
ReasoningSymbolTableRAM.transactionBegin()
void
MultiSymbolTable.transactionCommit()
void
ReasoningSymbolTableRAM.transactionCommit()
void
SymbolTableBplus.transactionCommit()
void
MultiSymbolTable.transactionRollback()
void
ReasoningSymbolTableRAM.transactionRollback()
boolean
boolean
Unifiable returns whether two structures are unifiable This method is cheaper than unify as it delivers no result substitutionsboolean
boolean
AbstractSymbolTable.unify
(Object t, Object f, Map<Variable, Object> substitutions, Map<Variable, Set<Variable>> equivalences) -
Uses of SemReasonerException in com.semedy.reasoner.symboltable.encoder
-
Uses of SemReasonerException in com.semedy.reasoner.symboltable.index
Modifier and TypeMethodDescriptionvoid
GeoIndex.recreateIndex
(SymbolTable symbols, ExtensionalDB edb) recreate whole geo indexvoid
TextIndex.recreateIndex
(SymbolTable symbols, ExtensionalDB edb) recreate whole text index -
Uses of SemReasonerException in com.semedy.reasoner.utils
Modifier and TypeMethodDescriptionstatic String
OOlogicShape.toString
(Literal L, boolean magic, SymbolTable symbols, BuiltinProvider builtins) return OO-logic syntax for literal Lstatic String
OOlogicShape.toString
(Literal L, SymbolTable symbols, BuiltinProvider builtins) return OO-logic syntax for literal Lstatic String
OOlogicShape.toString
(Rule r, int markedIndex, SymbolTable symbols, BuiltinProvider builtins) return OO logic syntax for rule r, rule body 'markedIndex' is markedstatic String
OOlogicShape.toString
(Rule r, SymbolTable symbols, BuiltinProvider builtins) return OO logic syntax for rule rstatic String
OOlogicShape.toString
(Object term, SymbolTable symbols)