- accumulate(String, Object) - Method in class laas.openrobots.ontology.json.JSONObject
-
Accumulate values under a key.
- add(Set<Statement>, MemoryProfile, boolean) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Adds a set of new statements (assertion) to the ontology.
- add(Statement, MemoryProfile, boolean) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
- add(Statement, MemoryProfile, boolean) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- add(Set<Statement>, MemoryProfile, boolean) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- add(String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- add(Set<String>) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
- add(Set<String>, String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Adds a set of statements (assertions) to the ontology from their string representation in the given memory profile.
This method does nothing if the statements already exist with the same memory profile.
- add(IWatcher) - Method in class laas.openrobots.ontology.modules.events.EventProcessor
-
- ADD_TO_ALL - Static variable in class laas.openrobots.ontology.types.Policy
-
- ADD_TO_MYSELF - Static variable in class laas.openrobots.ontology.types.Policy
-
- addDefault(String) - Static method in class laas.openrobots.ontology.helpers.Namespaces
-
Add the default namespace to a resource.
This method is really naive: it will prefix a string with the default namespace if the string does not contain the characters ":" or "#".
If the URI already contains a prefix, the URI is returned as it.
- addForAgent(String, Set<String>) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
Add statements in a specific agent cognitive model.
- addForAgent(String, Set<String>, String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
Add statements in a specific agent cognitive model with a specific
memory model.
- addNewServiceProviders(IServiceProvider) - Method in class laas.openrobots.ontology.OroServer
-
- addStmnt() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test add a new statement to the ontology (a new instance of the class Class1 and then query the ontology to check the individual was successfully added, with the right namespace.
- addStmntInMemory() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test add statements to the ontology with different memory models and checks that everything behave as expected (for instance, short term statements must be removed after a while).
- addStmntWithLiteral() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test add a new statement with a literal as object to the ontology (a new instance of the class Class1 and then query the ontology to check the individual was successfully added, with the right namespace.
- addSubscriber(IEventConsumer) - Method in class laas.openrobots.ontology.modules.events.GenericWatcher
-
- addSubscriber(IEventConsumer) - Method in interface laas.openrobots.ontology.modules.events.IWatcher
-
- advancedDiff() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This tests the diff and similar function in complex hierarchies of
classes.
- advancedDiscriminent() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This tests corner cases for the discrinimate method.
- advancedRemoveAndClear() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test checks that the Remove and Clear methods work as expected.
- agent(String) - Static method in class laas.openrobots.ontology.helpers.Logger
-
- AgentModel - Class in laas.openrobots.ontology.modules.alterite
-
- AgentModel(String, IOntologyBackend) - Constructor for class laas.openrobots.ontology.modules.alterite.AgentModel
-
- AgentModel(String, Properties) - Constructor for class laas.openrobots.ontology.modules.alterite.AgentModel
-
- AgentNotFoundException - Exception in laas.openrobots.ontology.exceptions
-
- AgentNotFoundException(String) - Constructor for exception laas.openrobots.ontology.exceptions.AgentNotFoundException
-
- agentsColor - Static variable in enum laas.openrobots.ontology.helpers.Logger.Colors
-
- AgentWatcher - Class in laas.openrobots.ontology.modules.alterite
-
- AgentWatcher(IEventConsumer) - Constructor for class laas.openrobots.ontology.modules.alterite.AgentWatcher
-
- AlteriteModule - Class in laas.openrobots.ontology.modules.alterite
-
- AlteriteModule(IOntologyBackend) - Constructor for class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- AlteriteModule(IOntologyBackend, Properties) - Constructor for class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- alteriteModule1() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test checks that the Alterite module works as expected regarding
addition of agents.
- alteriteModule2() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test checks Alterite module general methods.
- append(String, Object) - Method in class laas.openrobots.ontology.json.JSONObject
-
Append values to the array under a key.
- asList() - Method in class laas.openrobots.ontology.helpers.Pair
-
If the left and right members of the pair have the same type, return a list of the members.
- asSparqlRow(Statement) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Formats a statement for inclusion in a SPARQL query.
- asSparqlRow() - Method in class laas.openrobots.ontology.PartialStatement
-
Formats a partial statement for inclusion in a SPARQL query.
Unbounded resources of the statement are rendered with "?" as prefixes, other parts are rendered as resources with their full URIs.
- asTriple() - Method in class laas.openrobots.ontology.PartialStatement
-
- categorization() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This tests ability for the cognitive kernel to extract categories from a
set of concept.
- CategorizationModule - Class in laas.openrobots.ontology.modules.categorization
-
The DiffModule computes differences and similarities between concepts.
- CategorizationModule(IOntologyBackend) - Constructor for class laas.openrobots.ontology.modules.categorization.CategorizationModule
-
- changeLiteralObject(boolean) - Method in class laas.openrobots.ontology.PartialStatement
-
- changeLiteralObject(long) - Method in class laas.openrobots.ontology.PartialStatement
-
- changeLiteralObject(int) - Method in class laas.openrobots.ontology.PartialStatement
-
- changeLiteralObject(char) - Method in class laas.openrobots.ontology.PartialStatement
-
- changeLiteralObject(float) - Method in class laas.openrobots.ontology.PartialStatement
-
- changeLiteralObject(double) - Method in class laas.openrobots.ontology.PartialStatement
-
- changeObject(String) - Method in class laas.openrobots.ontology.PartialStatement
-
- changeObject(RDFNode) - Method in class laas.openrobots.ontology.PartialStatement
-
- changeObject(String, boolean) - Method in class laas.openrobots.ontology.PartialStatement
-
- changeObject(String, String) - Method in class laas.openrobots.ontology.PartialStatement
-
- changeObject(String, String, boolean) - Method in class laas.openrobots.ontology.PartialStatement
-
- check(Statement) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Checks if a statement is asserted or can be inferred from the ontology.
- check(PartialStatement) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Checks if a pattern represented as a partial statement matches at least
one asserted of inferred statement.
For instance:
A pattern like [?object rdf:type Bottle]
would match all
instances of the class Bottle
.
[anAgent sees ?something]
would match all objects seen by
instance "anAgent
".
- check(Statement) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- check(PartialStatement) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- check(Set<String>) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
- check() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
Check that some facts are correctly asserted/infered in the ontology.
- checkAlreadyPresent(String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- checkConsistency() - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Performs a consistency validation against the ontology.
- checkConsistency(Set<Statement>) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Checks a set of statements (or partial statements) are not inconsistent
with the current model.
- checkConsistency() - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- checkConsistency(Set<Statement>) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- checkConsistency() - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Checks if the ontology is consistent.
- checkConsistency(Set<String>) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Checks that a set of statements are consistent with the current model.
- checkConsistencyForAgent(String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- classify() - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
Classify the underlying model.
- classOf() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test checks the behaviour of the server when the class of a
resource is requested.
- cleanValue(String) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Remove leading and trailing quotes and whitespace if needed from a
string and unescape escaped sequences.
- clear(PartialStatement) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Remove all statements matching the partial statement.
- clear(PartialStatement) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- clear(Set<String>) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Removes all statements matching any statements or partial statements in
the provided set.
- clear() - Method in class laas.openrobots.ontology.modules.events.EventProcessor
-
- clear() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test checks that statements that are addable can be removed as well.
- clearEvent(IWatcher) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Removes one specific event watcher.
- clearEvent(IWatcher) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- clearEvent(String, String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- clearEvent(String) - Method in class laas.openrobots.ontology.modules.events.EventModule
-
Removes one event trigger from the model.
- clearEvent() - Method in class laas.openrobots.ontology.tests.EventsTest
-
- clearEvents() - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Removes all registered event watchers for this model.
- clearEvents() - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- clearEvents() - Method in class laas.openrobots.ontology.modules.events.EventModule
-
- clearEvents() - Method in class laas.openrobots.ontology.tests.EventsTest
-
- clearEventsForAgent(String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- clearForAgent(String, Set<String>) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- clearServiceList() - Method in interface laas.openrobots.ontology.connectors.IConnector
-
- clearServiceList() - Method in class laas.openrobots.ontology.connectors.SocketConnector
-
- clients - Variable in class laas.openrobots.ontology.modules.events.GenericWatcher
-
- ClientWorker(SocketChannel) - Constructor for class laas.openrobots.ontology.connectors.SocketConnector.ClientWorker
-
- close() - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Closes the model
- close() - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- close() - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- code - Variable in enum laas.openrobots.ontology.helpers.Logger.Colors
-
- colorPrint(Logger.Colors, String) - Static method in class laas.openrobots.ontology.helpers.Logger
-
- colorPrintLn(Logger.Colors, String) - Static method in class laas.openrobots.ontology.helpers.Logger
-
- compareTo(IService) - Method in class laas.openrobots.ontology.service.ServiceImpl
-
- consistency() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
Tests ontology consistency checking.
- consumeEvent(UUID, OroEvent) - Method in class laas.openrobots.ontology.connectors.SocketConnector.ClientWorker
-
- consumeEvent(UUID, OroEvent) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- consumeEvent(UUID, OroEvent) - Method in interface laas.openrobots.ontology.modules.events.IEventConsumer
-
- contract(String) - Static method in class laas.openrobots.ontology.helpers.Namespaces
-
Try to replace a complete namespace by its prefix (if known) or remove the namespace if it's the default one.
- cr() - Static method in class laas.openrobots.ontology.helpers.Logger
-
- create(A, B) - Static method in class laas.openrobots.ontology.helpers.Pair
-
- createPartialStatement(String) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
This static method acts as a PartialStatement factory.
- createPartialStatement(String) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- createProperty(String) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Helper to create a property
attached at the current OpenRobotOntology by mapping the method to the underlying ontology model.
This is a shortcut for OpenRobotOntology.getModel().createProperty(Namespaces.format(lex_property))
- createProperty(String) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
Accessors and helpers *
- createReifiedStatement() - Method in class laas.openrobots.ontology.PartialStatement
-
- createReifiedStatement(String) - Method in class laas.openrobots.ontology.PartialStatement
-
- createResource(String) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Helper to create a resource
attached at the current OpenRobotOntology by mapping the method to the underlying ontology model.
This is a shortcut for OpenRobotOntology.getModel().createResource(Namespaces.format(lex_resource))
.
- createResource(String) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- createStatement(String) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
This static method acts as a Statement factory.
- createStatement(String) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- gc() - Method in class laas.openrobots.ontology.modules.memory.MemoryManager
-
Checks if facts that are stored in non-permanent memory must be garbage
collected.
- GenericWatcher - Class in laas.openrobots.ontology.modules.events
-
- GenericWatcher(IWatcher.EventType, IWatcher.TriggeringType, List<String>, IEventConsumer) - Constructor for class laas.openrobots.ontology.modules.events.GenericWatcher
-
- get(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the object value associated with an index.
- get(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get the value object associated with a key.
- getAgents() - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- getAlt() - Method in class laas.openrobots.ontology.PartialStatement
-
- getBag() - Method in class laas.openrobots.ontology.PartialStatement
-
- getBoolean(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the boolean value associated with an index.
- getBoolean(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get the boolean value associated with a key.
- getBoolean() - Method in class laas.openrobots.ontology.PartialStatement
-
- getByte() - Method in class laas.openrobots.ontology.PartialStatement
-
- getCategory() - Method in interface laas.openrobots.ontology.service.IService
-
- getCategory() - Method in class laas.openrobots.ontology.service.ServiceImpl
-
- getCause() - Method in exception laas.openrobots.ontology.json.JSONException
-
- getChar() - Method in class laas.openrobots.ontology.PartialStatement
-
- getClassesOf(OntResource, boolean) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
- getClassesOf(OntResource, boolean) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- getClassesOf(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
- getColorForAgent(String) - Static method in enum laas.openrobots.ontology.helpers.Logger.Colors
-
- getConfiguration(String) - Static method in class laas.openrobots.ontology.OroServer
-
Read a configuration file and return to corresponding "Properties" object.
- getDateFromXSD(String) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Returns a Java Date object from its XML Schema Dataype (XSD) representation in the GMT timezone.
- getDefaultNsFilter() - Static method in class laas.openrobots.ontology.helpers.Namespaces
-
Returns a filter to keep only properties in the default ORO namespace,
thus removing properties inferred from RDF or OWL models.
- getDesc() - Method in interface laas.openrobots.ontology.service.IService
-
- getDesc() - Method in class laas.openrobots.ontology.service.ServiceImpl
-
- getDifferences(OntResource, OntResource) - Method in class laas.openrobots.ontology.modules.categorization.CategorizationModule
-
Returns the computed differences between two concepts, relying on
asserted and inferred fact in the ontology.
- getDifferences(String, String) - Method in class laas.openrobots.ontology.modules.categorization.CategorizationModule
-
Returns the differences between two concepts (in their literal
representation).
- getDirectClassesOf(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
- getDirectInstancesOf(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Returns all the direct instances of a given class (ie, the instances whose the given class is the direct parent), as asserted or inferred from the ontology.
- getDirectSubclassesOf(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Returns all the direct sub-classes of a given class (ie, the classes whose the given class is the direct parent), as asserted or inferred from the ontology.
- getDirectSuperclassesOf(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Returns all the direct super-classes of a given class (ie, the classes whose the given class is a direct descendant), as asserted or inferred from the ontology.
- getDiscriminent(Set<OntResource>) - Method in class laas.openrobots.ontology.modules.categorization.CategorizationModule
-
Returns a list of properties that helps to differentiate individuals.
- getDouble(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the double value associated with an index.
- getDouble(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get the double value associated with a key.
- getDouble() - Method in class laas.openrobots.ontology.PartialStatement
-
- getEventContext() - Method in interface laas.openrobots.ontology.modules.events.OroEvent
-
Returns the context of the event (for instance, the facts that triggered
the event) in a serializable form.
- getEventContext() - Method in class laas.openrobots.ontology.modules.events.OroEventImpl
-
- getEventContext() - Method in class laas.openrobots.ontology.modules.events.OroEventNewInstances
-
- getEventModule() - Method in class laas.openrobots.ontology.modules.alterite.AgentModel
-
- getFloat() - Method in class laas.openrobots.ontology.PartialStatement
-
- getId(OntResource) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
- getId() - Method in class laas.openrobots.ontology.modules.events.GenericWatcher
-
- getId() - Method in interface laas.openrobots.ontology.modules.events.IWatcher
-
Returns a unique (at least for this instance of the server) identifier
for the current event watcher.
- getInfos(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Returns the set of asserted and inferred statements whose the given node is part of.
- getInfos() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test retrieve in the ontology details about a resource.
- getInfosDefaultNs() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test is exactly the same as #testGetInfos()
except we don't specify any namespaces.
- getInfosForAgent(String, String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
Returns the set of asserted and inferred statements whose the given node
is part of, in the specifi agent model.
- getInstancesOf(OntClass, boolean) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
- getInstancesOf(OntClass, boolean) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- getInstancesOf(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Returns all the instances of a given class, as asserted or inferred from the ontology.
- getInt(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the int value associated with an index.
- getInt(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get the int value associated with a key.
- getInt() - Method in class laas.openrobots.ontology.PartialStatement
-
- getJSONArray(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the JSONArray associated with an index.
- getJSONArray(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get the JSONArray value associated with a key.
- getJSONObject(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the JSONObject associated with an index.
- getJSONObject(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get the JSONObject value associated with a key.
- getLabel(OntResource) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
- getLabel(OntResource, String) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
- getLabel(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Returns the label associated to a concept whose name is 'id'.
- getLanguage() - Method in class laas.openrobots.ontology.PartialStatement
-
- getLeft() - Method in class laas.openrobots.ontology.helpers.Pair
-
- getLiteral() - Method in class laas.openrobots.ontology.PartialStatement
-
- getLong(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the long value associated with an index.
- getLong(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get the long value associated with a key.
- getLong() - Method in class laas.openrobots.ontology.PartialStatement
-
- getMainClassName() - Method in class laas.openrobots.ontology.helpers.JarClassLoader
-
Returns the name of the jar file main class, or null if
no "Main-Class" manifest attributes was defined.
- getManifestEntries() - Method in class laas.openrobots.ontology.helpers.JarClassLoader
-
Returns the entries in the JAR manifest
- getMatchingId() - Method in class laas.openrobots.ontology.modules.events.OroEventNewInstances
-
- getMatchingIds() - Method in class laas.openrobots.ontology.modules.events.OroEventNewInstances
-
- getMemoryProfile() - Method in class laas.openrobots.ontology.types.Policy
-
- getMethod() - Method in interface laas.openrobots.ontology.service.IService
-
- getMethod() - Method in class laas.openrobots.ontology.service.ServiceImpl
-
- getMethod() - Method in class laas.openrobots.ontology.types.Policy
-
- getModel() - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Returns the underlying Jena ontology model.
- getModel() - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- getModel() - Method in class laas.openrobots.ontology.PartialStatement
-
- getModels() - Method in class laas.openrobots.ontology.types.Policy
-
- getName() - Method in class laas.openrobots.ontology.connectors.SocketConnector.ClientWorker
-
- getName() - Method in interface laas.openrobots.ontology.service.IService
-
- getName() - Method in class laas.openrobots.ontology.service.ServiceImpl
-
- getNames(JSONObject) - Static method in class laas.openrobots.ontology.json.JSONObject
-
Get an array of field names from a JSONObject.
- getNames(Object) - Static method in class laas.openrobots.ontology.json.JSONObject
-
Get an array of field names from an Object.
- getNamespace(String) - Static method in class laas.openrobots.ontology.helpers.Namespaces
-
Convert namespace shortcut in their expanded form (which includes a
trailing #
).
For instance:
Namespaces.getNamespace("oro")
returns http://www.owl-ontologies.com/openrobots.owl#
- getObj() - Method in interface laas.openrobots.ontology.service.IService
-
- getObj() - Method in class laas.openrobots.ontology.service.ServiceImpl
-
- getObject() - Method in class laas.openrobots.ontology.PartialStatement
-
- getParameters() - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
Returns the current set of parameters.
- getPatternType() - Method in class laas.openrobots.ontology.modules.events.GenericWatcher
-
- getPatternType() - Method in interface laas.openrobots.ontology.modules.events.IWatcher
-
- getPredicate() - Method in class laas.openrobots.ontology.PartialStatement
-
- getPrefix(String) - Static method in class laas.openrobots.ontology.helpers.Namespaces
-
Convert expanded namespace to their shortcut (prefix) followed by ":" or to nothing if the namespace is the default namespace.
For instance:
Namespaces.getPrefix("http://www.owl-ontologies.com/openrobots.owl#")
returns oro
- getProperty(Property) - Method in class laas.openrobots.ontology.PartialStatement
-
- getResource(String) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Try to retrieve a resource from the ontology, based on its lexical form.
- getResource(String) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- getResource() - Method in class laas.openrobots.ontology.PartialStatement
-
- getResource(ResourceF) - Method in class laas.openrobots.ontology.PartialStatement
-
- getResourceDetails(String, String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Returns a complete description of a resource identified by id
,
including its type, label (in a specified language, if available), plus:
- superclasses, subclasses and instances for classes
- class for instances
These data are sent as a JSON serialization.
- getResourceDetails(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
- getRight() - Method in class laas.openrobots.ontology.helpers.Pair
-
- getSeq() - Method in class laas.openrobots.ontology.PartialStatement
-
- getServiceProvider() - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- getServiceProvider() - Method in interface laas.openrobots.ontology.modules.IModule
-
A null return is expected if the module doesn't provide any RPC service
to register.
- getShort() - Method in class laas.openrobots.ontology.PartialStatement
-
- getSimilarities(OntResource, OntResource) - Method in class laas.openrobots.ontology.modules.categorization.CategorizationModule
-
Returns the computed similarities between two concepts, relying on
asserted and inferred fact in the ontology.
- getSimilarities(String, String) - Method in class laas.openrobots.ontology.modules.categorization.CategorizationModule
-
Returns the similarities between two concepts (in their literal
representation).
- getStatementProperty(Property) - Method in class laas.openrobots.ontology.PartialStatement
-
- getString(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the string associated with an index.
- getString(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get the string associated with a key.
- getString() - Method in class laas.openrobots.ontology.PartialStatement
-
- getSubclassesOf(OntClass, boolean) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
- getSubclassesOf(OntClass, boolean) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- getSubclassesOf(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Returns all the sub-classes of a given class, as asserted or inferred from the ontology.
- getSubject() - Method in class laas.openrobots.ontology.PartialStatement
-
- getSubmodel(Resource) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Returns the set of inferred and asserted statement involving a resource as a Jena Model..
- getSubmodel(Resource) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- getSuperclassesOf(OntClass, boolean) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
- getSuperclassesOf(OntClass, boolean) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- getSuperclassesOf(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Returns all the super classes of a given class, as asserted or inferred from the ontology.
- getSupportedEvents() - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Return the list of event types implemented (hence usable) by this backend.
- getSupportedEvents() - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- getSupportedEvents() - Method in class laas.openrobots.ontology.modules.events.EventProcessor
-
- GetTimestamp() - Static method in class laas.openrobots.ontology.helpers.Logger
-
- getTriggeringType() - Method in class laas.openrobots.ontology.modules.events.GenericWatcher
-
- getTriggeringType() - Method in interface laas.openrobots.ontology.modules.events.IWatcher
-
- getType(OntResource) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
- getWatchPattern() - Method in class laas.openrobots.ontology.modules.events.GenericWatcher
-
- getWatchPattern() - Method in interface laas.openrobots.ontology.modules.events.IWatcher
-
- IConnector - Interface in laas.openrobots.ontology.connectors
-
- id - Variable in class laas.openrobots.ontology.modules.alterite.AgentModel
-
- IEventConsumer - Interface in laas.openrobots.ontology.modules.events
-
This interface is intended to be implemented by classes that are expected to
be notified when some event occurs, thus consuming the event.
- IllegalStatementException - Exception in laas.openrobots.ontology.exceptions
-
This exception is thrown when a literal statement is malformed (eg, 2 tokens instead of three).
- IllegalStatementException(String) - Constructor for exception laas.openrobots.ontology.exceptions.IllegalStatementException
-
- ILoggingFilter - Interface in laas.openrobots.ontology.helpers
-
- IModule - Interface in laas.openrobots.ontology.modules
-
Modules must implement this interface to be loaded at runtime.
- implementsInterface(T, Class<I>) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
This simple method return true is a given object implements a given
interface.
- InconsistentOntologyException - Exception in laas.openrobots.ontology.exceptions
-
- InconsistentOntologyException(String) - Constructor for exception laas.openrobots.ontology.exceptions.InconsistentOntologyException
-
- increment(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Increment a property of a JSONObject.
- inference() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test add several new statements and test basic inference mechanisms.
- info(String) - Static method in class laas.openrobots.ontology.helpers.Logger
-
- initializeConnector() - Method in interface laas.openrobots.ontology.connectors.IConnector
-
- initializeConnector() - Method in class laas.openrobots.ontology.connectors.SocketConnector
-
- InvalidEventDescriptorException - Exception in laas.openrobots.ontology.exceptions
-
This exception is thrown when a event is registered with invalid parameters.
- InvalidEventDescriptorException(String) - Constructor for exception laas.openrobots.ontology.exceptions.InvalidEventDescriptorException
-
- InvalidModelException - Exception in laas.openrobots.ontology.exceptions
-
- InvalidModelException(String) - Constructor for exception laas.openrobots.ontology.exceptions.InvalidModelException
-
- InvalidPluginException - Exception in laas.openrobots.ontology.exceptions
-
- InvalidPluginException(String) - Constructor for exception laas.openrobots.ontology.exceptions.InvalidPluginException
-
- InvalidPolicyException - Exception in laas.openrobots.ontology.exceptions
-
- InvalidPolicyException(String) - Constructor for exception laas.openrobots.ontology.exceptions.InvalidPolicyException
-
- InvalidQueryException - Exception in laas.openrobots.ontology.exceptions
-
- InvalidQueryException(String) - Constructor for exception laas.openrobots.ontology.exceptions.InvalidQueryException
-
- InvalidRuleException - Exception in laas.openrobots.ontology.exceptions
-
This exception is thrown when a SWRL rule is malformed.
- InvalidRuleException(String) - Constructor for exception laas.openrobots.ontology.exceptions.InvalidRuleException
-
- invokeClass(String, String[]) - Method in class laas.openrobots.ontology.helpers.JarClassLoader
-
Invokes the application in this jar file given the name of the
main class and an array of arguments.
- IOntologyBackend - Interface in laas.openrobots.ontology.backends
-
This interface describes the abstract behaviour of an ontology backend.
- IService - Interface in laas.openrobots.ontology.service
-
- IServiceProvider - Interface in laas.openrobots.ontology.service
-
This interface sole purpose is to signal that a class implement services for the oro-server (ie, methods annotated with a
RPCMethod
annotation).
- isNull(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Determine if the value is null.
- isNull(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Determine if the value associated with the key is null or if there is
no value.
- isPartialStatement(String) - Static method in class laas.openrobots.ontology.PartialStatement
-
Performs basic tests to determine if a statement is a partial statement, ie if the given string contains three tokens and at least one token starting with ?.
- isReified() - Method in class laas.openrobots.ontology.PartialStatement
-
- IWatcher - Interface in laas.openrobots.ontology.modules.events
-
Interface to patterns that may trigger events.
- IWatcher.EventType - Enum in laas.openrobots.ontology.modules.events
-
Constants that defines the type of event the event module can handle.
- IWatcher.TriggeringType - Enum in laas.openrobots.ontology.modules.events
-
Constants that defines the way an event is triggered.
- JarClassLoader - Class in laas.openrobots.ontology.helpers
-
A class loader for loading jar files, both local and remote.
- JarClassLoader(URL) - Constructor for class laas.openrobots.ontology.helpers.JarClassLoader
-
Creates a new JarClassLoader for the specified url.
- join(String) - Method in class laas.openrobots.ontology.json.JSONArray
-
Make a string from the contents of this JSONArray.
- JSONArray - Class in laas.openrobots.ontology.json
-
A JSONArray is an ordered sequence of values.
- JSONArray() - Constructor for class laas.openrobots.ontology.json.JSONArray
-
Construct an empty JSONArray.
- JSONArray(JSONTokener) - Constructor for class laas.openrobots.ontology.json.JSONArray
-
Construct a JSONArray from a JSONTokener.
- JSONArray(String) - Constructor for class laas.openrobots.ontology.json.JSONArray
-
Construct a JSONArray from a source JSON text.
- JSONArray(Collection) - Constructor for class laas.openrobots.ontology.json.JSONArray
-
Construct a JSONArray from a Collection.
- JSONArray(Object) - Constructor for class laas.openrobots.ontology.json.JSONArray
-
Construct a JSONArray from an array
- JSONException - Exception in laas.openrobots.ontology.json
-
The JSONException is thrown by the JSON.org classes when things are amiss.
- JSONException(String) - Constructor for exception laas.openrobots.ontology.json.JSONException
-
Constructs a JSONException with an explanatory message.
- JSONException(Throwable) - Constructor for exception laas.openrobots.ontology.json.JSONException
-
- JSONObject - Class in laas.openrobots.ontology.json
-
A JSONObject is an unordered collection of name/value pairs.
- JSONObject() - Constructor for class laas.openrobots.ontology.json.JSONObject
-
Construct an empty JSONObject.
- JSONObject(JSONObject, String[]) - Constructor for class laas.openrobots.ontology.json.JSONObject
-
Construct a JSONObject from a subset of another JSONObject.
- JSONObject(JSONTokener) - Constructor for class laas.openrobots.ontology.json.JSONObject
-
Construct a JSONObject from a JSONTokener.
- JSONObject(Map) - Constructor for class laas.openrobots.ontology.json.JSONObject
-
Construct a JSONObject from a Map.
- JSONObject(Object) - Constructor for class laas.openrobots.ontology.json.JSONObject
-
Construct a JSONObject from an Object using bean getters.
- JSONObject(Object, String[]) - Constructor for class laas.openrobots.ontology.json.JSONObject
-
Construct a JSONObject from an Object, using reflection to find the
public members.
- JSONObject(String) - Constructor for class laas.openrobots.ontology.json.JSONObject
-
Construct a JSONObject from a source JSON text string.
- JSONObject(String, Locale) - Constructor for class laas.openrobots.ontology.json.JSONObject
-
Construct a JSONObject from a ResourceBundle.
- JSONString - Interface in laas.openrobots.ontology.json
-
The JSONString
interface allows a toJSONString()
method so that a class can change the behavior of
JSONObject.toString()
, JSONArray.toString()
,
and JSONWriter.value(
Object)
.
- JSONTokener - Class in laas.openrobots.ontology.json
-
A JSONTokener takes a source string and extracts characters and tokens from
it.
- JSONTokener(Reader) - Constructor for class laas.openrobots.ontology.json.JSONTokener
-
Construct a JSONTokener from a Reader.
- JSONTokener(InputStream) - Constructor for class laas.openrobots.ontology.json.JSONTokener
-
Construct a JSONTokener from an InputStream.
- JSONTokener(String) - Constructor for class laas.openrobots.ontology.json.JSONTokener
-
Construct a JSONTokener from a string.
- laas.openrobots.ontology - package laas.openrobots.ontology
-
Base package, that mainly stores the oro-server entry class,
OroServer
.
- laas.openrobots.ontology.backends - package laas.openrobots.ontology.backends
-
Provides the actual underlying ontology-based storage.
- laas.openrobots.ontology.connectors - package laas.openrobots.ontology.connectors
-
Provides external connectors to communicate with the server.
- laas.openrobots.ontology.exceptions - package laas.openrobots.ontology.exceptions
-
Stores all the exceptions used by oro-server.
- laas.openrobots.ontology.helpers - package laas.openrobots.ontology.helpers
-
- laas.openrobots.ontology.json - package laas.openrobots.ontology.json
-
- laas.openrobots.ontology.modules - package laas.openrobots.ontology.modules
-
- laas.openrobots.ontology.modules.alterite - package laas.openrobots.ontology.modules.alterite
-
Allows explicit representation of other agents with independant models of
the world.
- laas.openrobots.ontology.modules.base - package laas.openrobots.ontology.modules.base
-
- laas.openrobots.ontology.modules.categorization - package laas.openrobots.ontology.modules.categorization
-
Provides methods to extract similarities, differences and categories from
a set of concepts.
- laas.openrobots.ontology.modules.events - package laas.openrobots.ontology.modules.events
-
Provides the cognitive event manager module.
- laas.openrobots.ontology.modules.memory - package laas.openrobots.ontology.modules.memory
-
Provides the memory management module (including fact forgetting and
reinforcement learning.
- laas.openrobots.ontology.service - package laas.openrobots.ontology.service
-
This package stores all the classes related to service declaration.
A service is:
a method tagged with the
RPCMethod
annotation...
- laas.openrobots.ontology.tests - package laas.openrobots.ontology.tests
-
Provides unit-tests suites fro oro-server.
- laas.openrobots.ontology.types - package laas.openrobots.ontology.types
-
Stores some type and serialization-related classes.
- length() - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the number of elements in the JSONArray, included nulls.
- length() - Method in class laas.openrobots.ontology.json.JSONObject
-
Get the number of keys stored in the JSONObject.
- list(String) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- listAgents() - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- listMethods() - Method in class laas.openrobots.ontology.OroServer
-
- listReifiedStatements() - Method in class laas.openrobots.ontology.PartialStatement
-
- listSimpleMethods() - Method in class laas.openrobots.ontology.OroServer
-
- literals() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test try to create statements with various types of literals.
- literalToSparqlSyntax(Literal) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Formats a literal to a SPARQL-compatible string.
- loadJAR(String) - Method in class laas.openrobots.ontology.PluginLoader
-
- loadNamespaces(Properties) - Static method in class laas.openrobots.ontology.helpers.Namespaces
-
- log(String) - Static method in class laas.openrobots.ontology.helpers.Logger
-
Outputs server standard messages.
- log(String, boolean) - Static method in class laas.openrobots.ontology.helpers.Logger
-
Outputs server standard messages.
- log(String, VerboseLevel) - Static method in class laas.openrobots.ontology.helpers.Logger
-
Outputs server messages, formatting them according to their importance.
- log(String, VerboseLevel, boolean) - Static method in class laas.openrobots.ontology.helpers.Logger
-
Outputs server messages, formatting them according to their importance.
- Logger - Class in laas.openrobots.ontology.helpers
-
- Logger() - Constructor for class laas.openrobots.ontology.helpers.Logger
-
- Logger.Colors - Enum in laas.openrobots.ontology.helpers
-
- lookup(String) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Returns the set of all [id, type, label] (with type one of INSTANCE, CLASS,
OBJECT_PROPERTY, DATATYPE_PROPERTY, UNDEFINED) of concepts whose labels
or id match the given parameter.
- lookup(String, ResourceType) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Returns the set of all id of concepts whose labels or ids match the given
parameter and of the given type.
- lookup(String) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- lookup(String, ResourceType) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- lookup(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
- lookup(String, String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
- lookup() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test checks that concept can be retrieved by their labels.
- lookupForAgent(String, String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- onModelChange(String) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
This protected method is called every time the ontology model changes
(ie upon addition or removal of statements in the ontology).
- OnShuttingDown() - Constructor for class laas.openrobots.ontology.OroServer.OnShuttingDown
-
- OntologyConnectorException - Exception in laas.openrobots.ontology.exceptions
-
- OntologyConnectorException(String) - Constructor for exception laas.openrobots.ontology.exceptions.OntologyConnectorException
-
- OntologyServerException - Exception in laas.openrobots.ontology.exceptions
-
- OntologyServerException(String) - Constructor for exception laas.openrobots.ontology.exceptions.OntologyServerException
-
- OpenRobotsOntology - Class in laas.openrobots.ontology.backends
-
The OpenRobotsOntology class is the main storage backend for oro-server.
It maps useful methods for knowledge access in a robotic context to a
Jena-baked
ontology
.
Amongst other feature, it offers an easy way to query the ontology with standard SPARQL requests, it can try to
find resources matching a set of
statements or
check the consistency of the
knowledge storage.
Examples covering the various aspects of the API can be found in the
Unit Tests.
- OpenRobotsOntology() - Constructor for class laas.openrobots.ontology.backends.OpenRobotsOntology
-
Constructors *
- OpenRobotsOntology(Properties) - Constructor for class laas.openrobots.ontology.backends.OpenRobotsOntology
-
Constructor which takes a config file as parameter.
The constructor first opens the ontology, then loads it into memory and
eventually bounds it to Jena internal reasoner.
- OpenRobotsOntology(OntModel) - Constructor for class laas.openrobots.ontology.backends.OpenRobotsOntology
-
Constructor which takes a Jena OntModel as parameter.
- OpenRobotsOntology(OntModel, Properties) - Constructor for class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- OpenRobotsOntologyTest - Class in laas.openrobots.ontology.tests
-
This class holds unit tests that cover most of the oro-server
features.
For the tests to be executed, the oro_test.owl
ontology is required, and must be referenced by the oro_test.conf
configuration file.
- OpenRobotsOntologyTest() - Constructor for class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
- opt(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional object value associated with an index.
- opt(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional value associated with a key.
- optBoolean(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional boolean value associated with an index.
- optBoolean(int, boolean) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional boolean value associated with an index.
- optBoolean(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional boolean associated with a key.
- optBoolean(String, boolean) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional boolean associated with a key.
- optDouble(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional double value associated with an index.
- optDouble(int, double) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional double value associated with an index.
- optDouble(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional double associated with a key,
or NaN if there is no such key or if its value is not a number.
- optDouble(String, double) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional double associated with a key, or the
defaultValue if there is no such key or if its value is not a number.
- optInt(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional int value associated with an index.
- optInt(int, int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional int value associated with an index.
- optInt(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional int value associated with a key,
or zero if there is no such key or if the value is not a number.
- optInt(String, int) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional int value associated with a key,
or the default if there is no such key or if the value is not a number.
- optJSONArray(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional JSONArray associated with an index.
- optJSONArray(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional JSONArray associated with a key.
- optJSONObject(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional JSONObject associated with an index.
- optJSONObject(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional JSONObject associated with a key.
- optLong(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional long value associated with an index.
- optLong(int, long) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional long value associated with an index.
- optLong(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional long value associated with a key,
or zero if there is no such key or if the value is not a number.
- optLong(String, long) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional long value associated with a key,
or the default if there is no such key or if the value is not a number.
- optString(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional string value associated with an index.
- optString(int, String) - Method in class laas.openrobots.ontology.json.JSONArray
-
Get the optional string associated with an index.
- optString(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional string associated with a key.
- optString(String, String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an optional string associated with a key.
- OroEvent - Interface in laas.openrobots.ontology.modules.events
-
- OroEventImpl - Class in laas.openrobots.ontology.modules.events
-
- OroEventImpl() - Constructor for class laas.openrobots.ontology.modules.events.OroEventImpl
-
- OroEventNewInstances - Class in laas.openrobots.ontology.modules.events
-
- OroEventNewInstances(Set<Resource>) - Constructor for class laas.openrobots.ontology.modules.events.OroEventNewInstances
-
- OroServer - Class in laas.openrobots.ontology
-
OroServer
is the application entry point.
- OroServer(String) - Constructor for class laas.openrobots.ontology.OroServer
-
- OroServer.OnShuttingDown - Class in laas.openrobots.ontology
-
- owl_ns - Static variable in class laas.openrobots.ontology.helpers.Namespaces
-
Standard OWL namespace ("http://www.w3.org/2002/07/owl#")
- Pair<L,R> - Class in laas.openrobots.ontology.helpers
-
- Pair(L, R) - Constructor for class laas.openrobots.ontology.helpers.Pair
-
- parseBuffer(ByteBuffer) - Method in class laas.openrobots.ontology.connectors.SocketConnector.ClientWorker
-
- parseLiteral(String, ModelCom) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Parse a SPARQL string representing a literal to an actual Jena Literal
.
- PartialStatement - Class in laas.openrobots.ontology
-
A partial statement is a statement whose at least one element (subject, predicate or object) is unknown.
To be valid, a partial statement must have at least one variable, prepended with a "?".
- PartialStatement(Resource, Property, RDFNode, ModelCom) - Constructor for class laas.openrobots.ontology.PartialStatement
-
Creates a partial statement from a partial triplet (subject, predicate, object).
- PartialStatement(String, ModelCom) - Constructor for class laas.openrobots.ontology.PartialStatement
-
- pickRandom(Set<T>) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
- PluginLoader - Class in laas.openrobots.ontology
-
- PluginLoader(IOntologyBackend, Properties) - Constructor for class laas.openrobots.ontology.PluginLoader
-
- PluginNotFoundException - Exception in laas.openrobots.ontology.exceptions
-
- PluginNotFoundException(String) - Constructor for exception laas.openrobots.ontology.exceptions.PluginNotFoundException
-
- Policy - Class in laas.openrobots.ontology.types
-
- Policy(JSONObject) - Constructor for class laas.openrobots.ontology.types.Policy
-
- Policy(PolicyMethods, Set<String>) - Constructor for class laas.openrobots.ontology.types.Policy
-
- Policy(PolicyMethods, Set<String>, MemoryProfile) - Constructor for class laas.openrobots.ontology.types.Policy
-
- PolicyMethods - Enum in laas.openrobots.ontology.types
-
- prefixes() - Static method in class laas.openrobots.ontology.helpers.Namespaces
-
Returns a list of commons namespace prefixes (currently, OWL, RDF, RDFS,
XSD, LAAS OpenRobots), in SPARQL format, to be included in SPARQL queries.
- process() - Method in class laas.openrobots.ontology.modules.events.EventProcessor
-
- PROCESS_DELAY - Variable in class laas.openrobots.ontology.modules.events.EventProcessor
-
- protectValue(String) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Protect a string by escaping the quotes and surrounding the string with quotes.
- pushRequest(Request) - Method in class laas.openrobots.ontology.OroServer
-
- put(boolean) - Method in class laas.openrobots.ontology.json.JSONArray
-
Append a boolean value.
- put(Collection) - Method in class laas.openrobots.ontology.json.JSONArray
-
Put a value in the JSONArray, where the value will be a
JSONArray which is produced from a Collection.
- put(double) - Method in class laas.openrobots.ontology.json.JSONArray
-
Append a double value.
- put(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Append an int value.
- put(long) - Method in class laas.openrobots.ontology.json.JSONArray
-
Append an long value.
- put(Map) - Method in class laas.openrobots.ontology.json.JSONArray
-
Put a value in the JSONArray, where the value will be a
JSONObject which is produced from a Map.
- put(Object) - Method in class laas.openrobots.ontology.json.JSONArray
-
Append an object value.
- put(int, boolean) - Method in class laas.openrobots.ontology.json.JSONArray
-
Put or replace a boolean value in the JSONArray.
- put(int, Collection) - Method in class laas.openrobots.ontology.json.JSONArray
-
Put a value in the JSONArray, where the value will be a
JSONArray which is produced from a Collection.
- put(int, double) - Method in class laas.openrobots.ontology.json.JSONArray
-
Put or replace a double value.
- put(int, int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Put or replace an int value.
- put(int, long) - Method in class laas.openrobots.ontology.json.JSONArray
-
Put or replace a long value.
- put(int, Map) - Method in class laas.openrobots.ontology.json.JSONArray
-
Put a value in the JSONArray, where the value will be a
JSONObject that is produced from a Map.
- put(int, Object) - Method in class laas.openrobots.ontology.json.JSONArray
-
Put or replace an object value in the JSONArray.
- put(String, boolean) - Method in class laas.openrobots.ontology.json.JSONObject
-
Put a key/boolean pair in the JSONObject.
- put(String, Collection) - Method in class laas.openrobots.ontology.json.JSONObject
-
Put a key/value pair in the JSONObject, where the value will be a
JSONArray which is produced from a Collection.
- put(String, double) - Method in class laas.openrobots.ontology.json.JSONObject
-
Put a key/double pair in the JSONObject.
- put(String, int) - Method in class laas.openrobots.ontology.json.JSONObject
-
Put a key/int pair in the JSONObject.
- put(String, long) - Method in class laas.openrobots.ontology.json.JSONObject
-
Put a key/long pair in the JSONObject.
- put(String, Map) - Method in class laas.openrobots.ontology.json.JSONObject
-
Put a key/value pair in the JSONObject, where the value will be a
JSONObject which is produced from a Map.
- put(String, Object) - Method in class laas.openrobots.ontology.json.JSONObject
-
Put a key/value pair in the JSONObject.
- putOnce(String, Object) - Method in class laas.openrobots.ontology.json.JSONObject
-
Put a key/value pair in the JSONObject, but only if the key and the
value are both non-null, and only if there is not already a member
with that name.
- putOpt(String, Object) - Method in class laas.openrobots.ontology.json.JSONObject
-
Put a key/value pair in the JSONObject, but only if the
key and the value are both non-null.
- SAFE_ADD_TO_ALL - Static variable in class laas.openrobots.ontology.types.Policy
-
- SAFE_ADD_TO_MYSELF - Static variable in class laas.openrobots.ontology.types.Policy
-
- safeAdd(Set<String>) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
- safeAdd(Set<String>, String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Adds statements with a specific memory model, but only if the statement
doesn't cause any inconsistency.
- safeAddForAgent(String, Set<String>) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- safeAddForAgent(String, Set<String>, String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
Adds statements in a specific agent cognitive model with a specific
memory model, but only if the statement doesn't cause any inconsistency.
- safeAddStmnt() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test tests the "safe" add that avoid leading the ontology in a
inconsistent state.
- save(String) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Saves the in-memory ontology model to a RDF/XML file.
- save(String) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- save() - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- save(String, String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- save() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
- SERVER_START_TIME - Static variable in class laas.openrobots.ontology.OroServer
-
- serverInitialization(Properties) - Method in class laas.openrobots.ontology.OroServer
-
- ServerParameters - Static variable in class laas.openrobots.ontology.OroServer
-
- ServiceImpl - Class in laas.openrobots.ontology.service
-
- ServiceImpl(String, String, String, Method, Object) - Constructor for class laas.openrobots.ontology.service.ServiceImpl
-
- setDefault(String) - Static method in class laas.openrobots.ontology.helpers.Namespaces
-
Set the default namespace.
This method is meant to be called at least once at application startup, to define a default namespace (from a configuration file, for instance).
- similarities() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This tests the similarities function that extracts common features between concepts.
- SimpleLoggingFilter - Class in laas.openrobots.ontology.helpers
-
- SimpleLoggingFilter() - Constructor for class laas.openrobots.ontology.helpers.SimpleLoggingFilter
-
- size() - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Returns the number of statements in the model.
- size() - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- size() - Method in class laas.openrobots.ontology.OroServer
-
- skipTo(char) - Method in class laas.openrobots.ontology.json.JSONTokener
-
Skip characters until the next character is the requested character.
- SocketConnector - Class in laas.openrobots.ontology.connectors
-
Implements a socket interface to oro-server
RPC methods.
The protocol is ASCII-based (ie, you can connect to the server with telnet to test everything).
- SocketConnector(Properties, HashMap<String, IService>, OroServer) - Constructor for class laas.openrobots.ontology.connectors.SocketConnector
-
- SocketConnector.ClientWorker - Class in laas.openrobots.ontology.connectors
-
Inner class that is forked at incoming connections.
- socketConnectorRequestParser() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
- sortByValue(Map<K, V>) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
This static method takes a map and return the list of the key sorted by
their values in ascending order.
- stats() - Method in class laas.openrobots.ontology.OroServer
-
Returns several statistics on the server.
- step() - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
'Step' the model.
- step() - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
- step() - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
- step() - Method in interface laas.openrobots.ontology.modules.IModule
-
'Step' the module.
- stmtConsistency() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
- stringify(T) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Convert primitive and collection objects to a JSON-like string.
- stringToValue(String) - Static method in class laas.openrobots.ontology.json.JSONObject
-
Try to convert a string into a number, boolean, or null.
- subSuperClasses() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test checks that sub- and superclasses are correctly inferred.
- syntaxError(String) - Method in class laas.openrobots.ontology.json.JSONTokener
-
Make a JSONException to signal a syntax error.
- testValidity(Object) - Static method in class laas.openrobots.ontology.json.JSONObject
-
Throw an exception if the object is a NaN or infinite number.
- TimeBase - Static variable in enum laas.openrobots.ontology.modules.memory.MemoryProfile
-
The time base states "how long a second lasts in milliseconds".
The default value is obviously 1000, but you can alter this value to
accelerate (or slow down) the behaviour of the memory storage.
For instance, if you set timeBase = 500
, the actual duration a
short term statement is divided by 2 (ie 5 seconds instead of the default
10 seconds)
- toJSONArray(JSONArray) - Method in class laas.openrobots.ontology.json.JSONObject
-
Produce a JSONArray containing the values of the members of this
JSONObject.
- toJSONObject(JSONArray) - Method in class laas.openrobots.ontology.json.JSONArray
-
Produce a JSONObject by combining a JSONArray of names with the values
of this JSONArray.
- toJSONString() - Method in interface laas.openrobots.ontology.json.JSONString
-
The toJSONString
method allows a class to produce its own JSON
serialization.
- tokenize(String, char) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Split a string into tokens separated by the given delimiter.
- tokenizeRule(String) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Tokenizes rules in the SWRL syntax.
- toLightString(RDFNode) - Static method in class laas.openrobots.ontology.helpers.Namespaces
-
Convert a resource to its string representation and try to replace the namespace by its prefix (or remove it if it's the default one).
It uses
Namespaces.contract(String)
to replace or remove the namespace.
If the prefix for the namespace is unknown, complete URI is returned.
- toLightString(Statement) - Static method in class laas.openrobots.ontology.helpers.Namespaces
-
- toString() - Method in class laas.openrobots.ontology.helpers.Pair
-
- toString() - Method in class laas.openrobots.ontology.json.JSONArray
-
Make a JSON text of this JSONArray.
- toString(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Make a prettyprinted JSON text of this JSONArray.
- toString() - Method in class laas.openrobots.ontology.json.JSONObject
-
Make a JSON text of this JSONObject.
- toString(int) - Method in class laas.openrobots.ontology.json.JSONObject
-
Make a prettyprinted JSON text of this JSONObject.
- toString() - Method in class laas.openrobots.ontology.json.JSONTokener
-
Make a printable string of this JSONTokener.
- toString() - Method in class laas.openrobots.ontology.PartialStatement
-
- toString() - Method in class laas.openrobots.ontology.types.ResourceDescription
-
- triggeringType - Variable in class laas.openrobots.ontology.modules.events.GenericWatcher
-
- valueOf(String) - Static method in enum laas.openrobots.ontology.backends.ResourceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum laas.openrobots.ontology.helpers.Logger.Colors
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum laas.openrobots.ontology.helpers.VerboseLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum laas.openrobots.ontology.modules.events.IWatcher.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum laas.openrobots.ontology.modules.events.IWatcher.TriggeringType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum laas.openrobots.ontology.modules.memory.MemoryProfile
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum laas.openrobots.ontology.types.PolicyMethods
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum laas.openrobots.ontology.backends.ResourceType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum laas.openrobots.ontology.helpers.Logger.Colors
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum laas.openrobots.ontology.helpers.VerboseLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum laas.openrobots.ontology.modules.events.IWatcher.EventType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum laas.openrobots.ontology.modules.events.IWatcher.TriggeringType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum laas.openrobots.ontology.modules.memory.MemoryProfile
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum laas.openrobots.ontology.types.PolicyMethods
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valueToString(Object) - Static method in class laas.openrobots.ontology.json.JSONObject
-
Make a JSON text of an Object value.
- VerboseLevel - Enum in laas.openrobots.ontology.helpers
-
This enum defines the various possible verbosity levels for server messages.
- VERBOSITY - Static variable in class laas.openrobots.ontology.OroServer
-
- verbosityMin(VerboseLevel) - Static method in class laas.openrobots.ontology.helpers.Logger
-
Tests if a given level of verbosity is superior or egal to the current,
application-wide, level of verbosity.
- VERSION - Static variable in class laas.openrobots.ontology.OroServer
-