A B C D E F G H I J K L M N O P Q R S T U V W X Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accumulate(String, Object) - Method in class laas.openrobots.ontology.json.JSONObject
-
Accumulate values under a key.
- add(Statement, MemoryProfile, boolean) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Deprecated.Please use
IOntologyBackend.add(Set, MemoryProfile, boolean)
instead - add(Statement, MemoryProfile, boolean) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
- add(String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
- add(Set<Statement>, MemoryProfile, boolean) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Adds a set of new statements (assertion) to the ontology.
- add(Set<Statement>, MemoryProfile, boolean) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
- add(Set<String>) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Like
#add(Set
with the, String) MemoryProfile.DEFAULT
memory profile. - 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 - laas.openrobots.ontology.types.PolicyMethods
-
The statements are added to the knowledge base, without ensuring consistency
- 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, Properties) - Constructor for class laas.openrobots.ontology.modules.alterite.AgentModel
- AgentModel(String, IOntologyBackend) - 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() - 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.
- asSparqlRow(Statement) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Formats a statement for inclusion in a SPARQL query.
- asTriple() - Method in class laas.openrobots.ontology.PartialStatement
B
- back() - Method in class laas.openrobots.ontology.json.JSONTokener
-
Back up one character.
- BaseModule - Class in laas.openrobots.ontology.modules.base
- BaseModule(IOntologyBackend) - Constructor for class laas.openrobots.ontology.modules.base.BaseModule
- bench1Insert() - Method in class laas.openrobots.ontology.tests.ReasoningTests
- bench2InsertQuery() - Method in class laas.openrobots.ontology.tests.ReasoningTests
- BLINGBLING - Static variable in class laas.openrobots.ontology.OroServer
- blingblingPower() - Static method in class laas.openrobots.ontology.helpers.Logger
- BLUE - laas.openrobots.ontology.helpers.Logger.Colors
C
- 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
- category() - Method in annotation type laas.openrobots.ontology.service.RPCMethod
-
The category of the service.
- changeLiteralObject(boolean) - Method in class laas.openrobots.ontology.PartialStatement
- changeLiteralObject(char) - Method in class laas.openrobots.ontology.PartialStatement
- changeLiteralObject(double) - Method in class laas.openrobots.ontology.PartialStatement
- changeLiteralObject(float) - Method in class laas.openrobots.ontology.PartialStatement
- changeLiteralObject(int) - Method in class laas.openrobots.ontology.PartialStatement
- changeLiteralObject(long) - Method in class laas.openrobots.ontology.PartialStatement
- changeObject(RDFNode) - Method in class laas.openrobots.ontology.PartialStatement
- changeObject(String) - 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() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
Check that some facts are correctly asserted/infered in the ontology.
- check(Statement) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Checks if a statement is asserted or can be inferred from the ontology.
- check(Statement) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
- check(Set<String>) - Method in class laas.openrobots.ontology.modules.base.BaseModule
- 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 classBottle
.[anAgent sees ?something]
would match all objects seen by instance "anAgent
". - check(PartialStatement) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
- 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() - 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<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(Set<Statement>) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
- 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
- CLASS - laas.openrobots.ontology.backends.ResourceType
- 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() - 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.
- 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(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
- clearEvent() - Method in class laas.openrobots.ontology.tests.EventsTest
- clearEvent(String) - Method in class laas.openrobots.ontology.modules.events.EventModule
-
Removes one event trigger from the model.
- clearEvent(String, String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
- 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
- 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 forOpenRobotOntology.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 forOpenRobotOntology.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
D
- DATATYPE_PROPERTY - laas.openrobots.ontology.backends.ResourceType
- debug(String) - Static method in class laas.openrobots.ontology.helpers.Logger
- DEBUG - laas.openrobots.ontology.helpers.VerboseLevel
-
Not very important debug info.
- DEBUG_CONCURRENCY - laas.openrobots.ontology.helpers.VerboseLevel
-
Very verbose debug information, used to track concurrency errors.
- DEFAULT - laas.openrobots.ontology.modules.memory.MemoryProfile
-
Default memory profile is equivalent to the long term memory profile.
- DEFAULT - Static variable in class laas.openrobots.ontology.types.Policy
- DEFAULT_CONF - Static variable in class laas.openrobots.ontology.OroServer
-
The default configuration file (set to "etc/oro-server/oro.conf").
- DEFAULT_KEEP_ALIVE_SOCKET_DURATION - Static variable in class laas.openrobots.ontology.connectors.SocketConnector
-
Maximum time (in seconds) the server should keep alive a socket when inactive.
- DEFAULT_LANGUAGE - Static variable in class laas.openrobots.ontology.OroServer
-
Defines the standard language used in particular for labels retrieval.
This field can be set up in the configuration file with thelanguage
option.
Expected values are ISO 2 characters language codes. - DEFAULT_NS - Static variable in class laas.openrobots.ontology.helpers.Namespaces
-
The default namespace.
- DEFAULT_PORT - Static variable in class laas.openrobots.ontology.connectors.SocketConnector
- dehexchar(char) - Static method in class laas.openrobots.ontology.json.JSONTokener
-
Get the hex value of a character (base16).
- demo(String, Statement) - Static method in class laas.openrobots.ontology.helpers.Logger
- demo(String, String, boolean) - Static method in class laas.openrobots.ontology.helpers.Logger
- demo(String, Set<E>) - Static method in class laas.openrobots.ontology.helpers.Logger
- demo(String, PartialStatement) - Static method in class laas.openrobots.ontology.helpers.Logger
- DEMO_MODE - Static variable in class laas.openrobots.ontology.OroServer
- demo_nodes(String, Set<E>) - Static method in class laas.openrobots.ontology.helpers.Logger
- desc() - Method in annotation type laas.openrobots.ontology.service.RPCMethod
-
Contains a short description of the purpose of the service.
- deserialize(String, Class<T>) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Deserializes a string received from a client to a Java native object.
- differences() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This tests the differences function that extracts different properties between concepts.
- discardedTypeFromServiceArgs - Static variable in class laas.openrobots.ontology.OroServer
-
This set holds the types that should not be exposed to oro-server clients but are required by some RPC methods (for instance to retrieve the context when the query was received).
- discriminate(Set<String>) - Method in class laas.openrobots.ontology.modules.categorization.CategorizationModule
- discriminateForAgent(String, Set<String>) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
- discriminent() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This tests ability for the cognitive kernel to find discriniment features in a set of concepts.
- display_timestamp - Static variable in class laas.openrobots.ontology.helpers.Logger
- doubleToString(double) - Static method in class laas.openrobots.ontology.json.JSONObject
-
Produce a string from a double.
- duration() - Method in enum laas.openrobots.ontology.modules.memory.MemoryProfile
-
Returns the lifespan associated to the memory profile, in milliseconds, scaled with the TimeBase.
E
- EMPHASIZE - laas.openrobots.ontology.helpers.VerboseLevel
-
Emphasized standard information
- end() - Method in class laas.openrobots.ontology.json.JSONTokener
- EPISODIC - laas.openrobots.ontology.modules.memory.MemoryProfile
-
This represents episodic memory (memory of personal experience).
- equal(Object, Object) - Static method in class laas.openrobots.ontology.helpers.Pair
- equals(Object) - Method in class laas.openrobots.ontology.helpers.Pair
- equals(IWatcher) - Method in class laas.openrobots.ontology.modules.events.GenericWatcher
- equals(IWatcher) - Method in interface laas.openrobots.ontology.modules.events.IWatcher
- ERROR - laas.openrobots.ontology.helpers.VerboseLevel
-
"Normal" error, that will be reported to the clients
- EventModule - Class in laas.openrobots.ontology.modules.events
-
This class allows the registration of event by external client through the
#registerEvent(String, String, Set, IEventConsumer)
RPC method. - EventModule(IOntologyBackend) - Constructor for class laas.openrobots.ontology.modules.events.EventModule
- EventNotFoundException - Exception in laas.openrobots.ontology.exceptions
- EventNotFoundException(String) - Constructor for exception laas.openrobots.ontology.exceptions.EventNotFoundException
- eventPattern - Variable in class laas.openrobots.ontology.modules.events.GenericWatcher
- EventProcessor - Class in laas.openrobots.ontology.modules.events
- EventProcessor(IOntologyBackend) - Constructor for class laas.openrobots.ontology.modules.events.EventProcessor
- EventRegistrationException - Exception in laas.openrobots.ontology.exceptions
- EventRegistrationException(String) - Constructor for exception laas.openrobots.ontology.exceptions.EventRegistrationException
- eventsFactChecking() - Method in class laas.openrobots.ontology.tests.EventsTest
- eventsFactCheckingAlternateModel() - Method in class laas.openrobots.ontology.tests.EventsTest
- eventsNewClassInstance() - Method in class laas.openrobots.ontology.tests.EventsTest
-
This tests event framework on "NEW_CLASS_INSTANCE" type of events
- eventsNewInstance() - Method in class laas.openrobots.ontology.tests.EventsTest
-
This tests event framework on "NEW_INSTANCE" type of events
- eventsNewInstanceWithSameAs() - Method in class laas.openrobots.ontology.tests.EventsTest
-
This tests event "NEW_INSTANCE" with owl:sameAs predicate
- EventsTest - Class in laas.openrobots.ontology.tests
-
This class holds unit tests that cover the events feature in
oro-server
. - EventsTest() - Constructor for class laas.openrobots.ontology.tests.EventsTest
- eventType - Variable in class laas.openrobots.ontology.modules.events.GenericWatcher
- execute() - Method in class laas.openrobots.ontology.Request
- expand(String) - Static method in class laas.openrobots.ontology.helpers.Namespaces
-
Replace the namespace prefix with its expanded form, when known.
For instance,"xsd:boolean"
will be returned as"http://www.w3.org/2001/XMLSchema#boolean"
.
If the URI doesn't contain any prefix or if the prefix is unknow, the URI is returned as it.
F
- FACT_CHECKING - laas.openrobots.ontology.modules.events.IWatcher.EventType
- FATAL_ERROR - laas.openrobots.ontology.helpers.VerboseLevel
-
Error that trigger the direct interuption of the application
- filter(String) - Method in interface laas.openrobots.ontology.helpers.ILoggingFilter
- filter(String) - Method in class laas.openrobots.ontology.helpers.SimpleLoggingFilter
- finalize() - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
- finalizeConnector() - Method in interface laas.openrobots.ontology.connectors.IConnector
- finalizeConnector() - Method in class laas.openrobots.ontology.connectors.SocketConnector
- find() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test try to match a given set of statements against the ontology, and to get back the class of an object.
- find(String, Set<String>) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Tries to identify a resource given a set of partially defined statements about this resource.
This is a simpler form forBaseModule.find(String, Set, Set)
, without filters. - find(String, Set<String>, Set<String>) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Tries to identify a resource given a set of partially defined statements (plus optional restrictions) about this resource.
First simple example: - find(String, Set<PartialStatement>, Set<String>) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Tries to identify a resource given a set of partially defined statements (plus optional restrictions) about this resource.
- find(String, Set<PartialStatement>, Set<String>) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
- find(Set<String>, Set<String>) - Method in class laas.openrobots.ontology.modules.base.BaseModule
- findForAgent() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
Same as testFind(), but inside the AlteriteModule
- findForAgent(String, String, Set<String>) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
- findForAgent(String, String, Set<String>, Set<String>) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
- findMultipleVariables() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This tests the find() method when it returns several variables.
- format(String) - Method in enum laas.openrobots.ontology.helpers.Logger.Colors
- format(String) - Static method in class laas.openrobots.ontology.helpers.Namespaces
-
Formats a resource's namespace, adding the default one if none is specified.
This method is actually a simple shortcut for a call to bothNamespaces.addDefault(String)
andNamespaces.expand(String)
. - formatBold(String) - Method in enum laas.openrobots.ontology.helpers.Logger.Colors
- formatParameters(Method) - Static method in class laas.openrobots.ontology.OroServer
-
Formats in a human-readable way the parameters of a method.
- fromString(String) - Static method in enum laas.openrobots.ontology.backends.ResourceType
-
Returns a ResourceType constant from its string representation, or
ResourceType.UNDEFINED
if the string is not recognized. - fromString(String) - Static method in enum laas.openrobots.ontology.modules.memory.MemoryProfile
-
Returns a MemoryProfile constant from its string representation, or
MemoryProfile.DEFAULT
if the string is not recognized.
G
- 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() - 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.
- 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() - Method in class laas.openrobots.ontology.PartialStatement
- 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.
- 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() - 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.
- getId(OntResource) - Static method in class laas.openrobots.ontology.helpers.Helpers
- getInfos() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test retrieve in the ontology details about a resource.
- 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.
- 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() - Method in class laas.openrobots.ontology.PartialStatement
- 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.
- 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() - 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.
- 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(Object) - Static method in class laas.openrobots.ontology.json.JSONObject
-
Get an array of field names from an Object.
- getNames(JSONObject) - Static method in class laas.openrobots.ontology.json.JSONObject
-
Get an array of field names from a JSONObject.
- 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")
returnshttp://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#")
returnsoro
- getProperty(Property) - Method in class laas.openrobots.ontology.PartialStatement
- getResource() - Method in class laas.openrobots.ontology.PartialStatement
- getResource(ResourceF) - 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
- getResourceDetails(String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Like
BaseModule.getResourceDetails(String, String)
with language set to default language (as set in the server config file). - 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. - 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() - 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.
- 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
- GREEN - laas.openrobots.ontology.helpers.Logger.Colors
H
- handleRequest(List<String>) - Method in class laas.openrobots.ontology.connectors.SocketConnector.ClientWorker
- has(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Determine if the JSONObject contains a specific key.
- HAS_A_TTY - Static variable in class laas.openrobots.ontology.OroServer
- hashCode() - Method in class laas.openrobots.ontology.helpers.Pair
- hasWellFormedXML() - Method in class laas.openrobots.ontology.PartialStatement
- help() - Method in class laas.openrobots.ontology.OroServer
- Helpers - Class in laas.openrobots.ontology.helpers
-
This class provides various static helper methods for some common parsing and formatting tasks.
- Helpers() - Constructor for class laas.openrobots.ontology.helpers.Helpers
- helpersFunction() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
BASIC TESTS *
I
- 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.
- IMPORTANT - laas.openrobots.ontology.helpers.VerboseLevel
-
Important information that should be emphasized in a log
- 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
- INFO - laas.openrobots.ontology.helpers.VerboseLevel
-
Standard information
- initializeConnector() - Method in interface laas.openrobots.ontology.connectors.IConnector
- initializeConnector() - Method in class laas.openrobots.ontology.connectors.SocketConnector
- INSTANCE - laas.openrobots.ontology.backends.ResourceType
- 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.
J
- 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(Object) - Constructor for class laas.openrobots.ontology.json.JSONArray
-
Construct a JSONArray from an array
- 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(JSONTokener) - Constructor for class laas.openrobots.ontology.json.JSONArray
-
Construct a JSONArray from a JSONTokener.
- 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(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.
- JSONObject(Map) - Constructor for class laas.openrobots.ontology.json.JSONObject
-
Construct a JSONObject from a Map.
- 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.
- JSONString - Interface in laas.openrobots.ontology.json
-
The
JSONString
interface allows atoJSONString()
method so that a class can change the behavior ofJSONObject.toString()
,JSONArray.toString()
, andJSONWriter.value(
Object)
. - JSONTokener - Class in laas.openrobots.ontology.json
-
A JSONTokener takes a source string and extracts characters and tokens from it.
- JSONTokener(InputStream) - Constructor for class laas.openrobots.ontology.json.JSONTokener
-
Construct a JSONTokener from an InputStream.
- JSONTokener(Reader) - Constructor for class laas.openrobots.ontology.json.JSONTokener
-
Construct a JSONTokener from a Reader.
- JSONTokener(String) - Constructor for class laas.openrobots.ontology.json.JSONTokener
-
Construct a JSONTokener from a string.
K
- keys() - Method in class laas.openrobots.ontology.json.JSONObject
-
Get an enumeration of the keys of the JSONObject.
L
- 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 theRPCMethod
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
- LONGTERM - laas.openrobots.ontology.modules.memory.MemoryProfile
-
This represents long term memory.
- lookup() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test checks that concept can be retrieved by their labels.
- 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) - 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(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, ResourceType) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
- lookupForAgent(String, String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
M
- main(String[]) - Static method in class laas.openrobots.ontology.OroServer
- makeCategories(Set<OntResource>) - Method in class laas.openrobots.ontology.modules.categorization.CategorizationModule
-
Try to build a categories from a set of individuals.
- makeHtmlDoc() - Method in class laas.openrobots.ontology.OroServer
- MemoryManager - Class in laas.openrobots.ontology.modules.memory
- MemoryManager(OntModel) - Constructor for class laas.openrobots.ontology.modules.memory.MemoryManager
- MemoryProfile - Enum in laas.openrobots.ontology.modules.memory
- MESSAGE_TERMINATOR - Static variable in class laas.openrobots.ontology.connectors.SocketConnector
- model - Variable in class laas.openrobots.ontology.modules.alterite.AgentModel
- more() - Method in class laas.openrobots.ontology.json.JSONTokener
-
Determine if the source string still contains characters that next() can consume.
N
- names() - Method in class laas.openrobots.ontology.json.JSONObject
-
Produce a JSONArray containing the names of the elements of this JSONObject.
- Namespaces - Class in laas.openrobots.ontology.helpers
-
This class provides several static method for namespace manipulation (expansion, contraction, SPARQL prefixes header...).
- Namespaces() - Constructor for class laas.openrobots.ontology.helpers.Namespaces
- nbExposedParameters(Method) - Static method in class laas.openrobots.ontology.OroServer
- NEW_CLASS_INSTANCE - laas.openrobots.ontology.modules.events.IWatcher.EventType
- NEW_INSTANCE - laas.openrobots.ontology.modules.events.IWatcher.EventType
- NewClassInstanceWatcher - Class in laas.openrobots.ontology.modules.events
-
This class specializes
GenericWatcher
to easily create event watchers that monitor new instances of a given class. - NewClassInstanceWatcher(String, IEventConsumer) - Constructor for class laas.openrobots.ontology.modules.events.NewClassInstanceWatcher
- next() - Method in class laas.openrobots.ontology.json.JSONTokener
-
Get the next character in the source string.
- next(char) - Method in class laas.openrobots.ontology.json.JSONTokener
-
Consume the next character, and check that it matches a specified character.
- next(int) - Method in class laas.openrobots.ontology.json.JSONTokener
-
Get the next n characters.
- nextClean() - Method in class laas.openrobots.ontology.json.JSONTokener
-
Get the next char in the string, skipping whitespace.
- nextString(char) - Method in class laas.openrobots.ontology.json.JSONTokener
-
Return the characters up to the next close quote character.
- nextTo(char) - Method in class laas.openrobots.ontology.json.JSONTokener
-
Get the text up but not including the specified character or the end of line, whichever comes first.
- nextTo(String) - Method in class laas.openrobots.ontology.json.JSONTokener
-
Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.
- nextValue() - Method in class laas.openrobots.ontology.json.JSONTokener
-
Get the next value.
- NONE - laas.openrobots.ontology.helpers.Logger.Colors
- NotComparableException - Exception in laas.openrobots.ontology.exceptions
-
This exception is thrown when a two concepts are compared but are not of the same nature (for instance, a comparison between a class and an instance would throw a NotComparableException).
- NotComparableException(String) - Constructor for exception laas.openrobots.ontology.exceptions.NotComparableException
- notifySubscribers(OroEvent) - Method in class laas.openrobots.ontology.modules.events.GenericWatcher
- notifySubscribers(OroEvent) - Method in interface laas.openrobots.ontology.modules.events.IWatcher
- NotImplementedException - Exception in laas.openrobots.ontology.exceptions
- NotImplementedException(String) - Constructor for exception laas.openrobots.ontology.exceptions.NotImplementedException
- NULL - Static variable in class laas.openrobots.ontology.json.JSONObject
-
It is sometimes more convenient and less ambiguous to have a
NULL
object than to use Java'snull
value. - numberToString(Number) - Static method in class laas.openrobots.ontology.json.JSONObject
-
Produce a string from a Number.
O
- OBJECT_PROPERTY - laas.openrobots.ontology.backends.ResourceType
- ON_FALSE - laas.openrobots.ontology.modules.events.IWatcher.TriggeringType
- ON_FALSE_ONE_SHOT - laas.openrobots.ontology.modules.events.IWatcher.TriggeringType
- ON_TOGGLE - laas.openrobots.ontology.modules.events.IWatcher.TriggeringType
- ON_TRUE - laas.openrobots.ontology.modules.events.IWatcher.TriggeringType
- ON_TRUE_ONE_SHOT - laas.openrobots.ontology.modules.events.IWatcher.TriggeringType
- 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-bakedontology
.
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(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
- 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. - 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, theoro_test.owl
ontology is required, and must be referenced by theoro_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#")
P
- 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
-
Create a new partial statement from its string representation.
Works asOpenRobotsOntology.createStatement(String)
except at least one variable, prepended with a "?", is expected. This class implementsStatement
, but thePartialStatement.getSubject()
,PartialStatement.getPredicate()
andPartialStatement.getObject()
method will returnnull
if the corresponding part of the statement is unbounded. - 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.
- PURPLE - laas.openrobots.ontology.helpers.Logger.Colors
- pushRequest(Request) - Method in class laas.openrobots.ontology.OroServer
- put(boolean) - Method in class laas.openrobots.ontology.json.JSONArray
-
Append a boolean value.
- 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(int, boolean) - Method in class laas.openrobots.ontology.json.JSONArray
-
Put or replace a boolean value in the JSONArray.
- 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, Object) - Method in class laas.openrobots.ontology.json.JSONArray
-
Put or replace an object 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, 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(long) - Method in class laas.openrobots.ontology.json.JSONArray
-
Append an long value.
- put(Object) - Method in class laas.openrobots.ontology.json.JSONArray
-
Append an object value.
- put(String, boolean) - Method in class laas.openrobots.ontology.json.JSONObject
-
Put a key/boolean pair in the JSONObject.
- 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, Object) - Method in class laas.openrobots.ontology.json.JSONObject
-
Put a key/value 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, 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(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(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.
- 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.
Q
- query() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
Performs a simple query on the ontology to check OWL loading and SPARQL query engine both work.
- query(String, String) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Performs a SPARQL query on the OpenRobots ontology.
For instance: - query(String, String) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
- query(String, String) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Maps
IOntologyBackend.query(String, String)
into a RPC call - quote(String) - Static method in class laas.openrobots.ontology.json.JSONObject
-
Produce a string in double quotes with backslash sequences in all the right places.
R
- races() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test checks race condition issues that may arise in a concurrent execution.
- racesForAgent() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test checks race condition issues that may arise in a concurrent execution, within the Alterite module.
- random() - Static method in enum laas.openrobots.ontology.helpers.Logger.Colors
- rdf_ns - Static variable in class laas.openrobots.ontology.helpers.Namespaces
-
Standard RDF namespace ("http://www.w3.org/1999/02/22-rdf-syntax-ns#")
- rdfs_ns - Static variable in class laas.openrobots.ontology.helpers.Namespaces
-
Standard RDFS namespace ("http://www.w3.org/2000/01/rdf-schema#")
- ReasoningTests - Class in laas.openrobots.ontology.tests
-
This class holds more advanced unit tests that tests load scalability and some more advanced reasonning feature.
- ReasoningTests() - Constructor for class laas.openrobots.ontology.tests.ReasoningTests
- RED - laas.openrobots.ontology.helpers.Logger.Colors
- refreshServiceList(Map<String, IService>) - Method in interface laas.openrobots.ontology.connectors.IConnector
- refreshServiceList(Map<String, IService>) - Method in class laas.openrobots.ontology.connectors.SocketConnector
- registerEvent(String, String, String, List<String>, IEventConsumer) - Method in class laas.openrobots.ontology.modules.events.EventModule
- registerEvent(String, String, List<String>, IEventConsumer) - Method in class laas.openrobots.ontology.modules.events.EventModule
- registerEvent(IWatcher) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Allows to register several events providers (typically, one by underlying middleware) which in turn provide access to watchers.
- registerEvent(IWatcher) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
- registerEventForAgent(String, String, String, String, List<String>, IEventConsumer) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
- registerEventForAgent(String, String, String, List<String>, IEventConsumer) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
Events
- remove() - Method in class laas.openrobots.ontology.PartialStatement
- remove(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Remove an index and close the hole.
- remove(Statement) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Deprecated.
- remove(Statement) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
-
Deprecated.
- remove(String) - Method in class laas.openrobots.ontology.json.JSONObject
-
Remove a name and its value, if present.
- remove(Set<Statement>) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Removes a set of statements from the ontology.
- remove(Set<Statement>) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
- remove(Set<String>) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Deprecated.Use
BaseModule.clear(Set)
instead. - remove(IWatcher) - Method in class laas.openrobots.ontology.modules.events.EventProcessor
- removeForAgent(String, Set<String>) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
Deprecated.
- removeReification() - Method in class laas.openrobots.ontology.PartialStatement
- Request - Class in laas.openrobots.ontology
- Request(Method, Object, Object[]) - Constructor for class laas.openrobots.ontology.Request
- reset() - Method in class laas.openrobots.ontology.OroServer
- reset() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
- ResourceDescription - Class in laas.openrobots.ontology.types
- ResourceDescription(OntResource) - Constructor for class laas.openrobots.ontology.types.ResourceDescription
- ResourceDescription(OntResource, String) - Constructor for class laas.openrobots.ontology.types.ResourceDescription
- ResourceType - Enum in laas.openrobots.ontology.backends
- result - Variable in class laas.openrobots.ontology.Request
- RETRACT - laas.openrobots.ontology.types.PolicyMethods
-
The statements are removed from the model
- RETRACT_FROM_ALL - Static variable in class laas.openrobots.ontology.types.Policy
- RETRACT_FROM_MYSELF - Static variable in class laas.openrobots.ontology.types.Policy
- reverseMap(Map<K, V>) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Creates a new map, using the values of the initial one as keys for the new one, and keys of the initial one as a set of values for the new one.
- reverseSetMap(Map<K, Set<V>>) - Static method in class laas.openrobots.ontology.helpers.Helpers
- revise(Set<String>, String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
-
Generic knowledge revision request
- REVISE_ALL - Static variable in class laas.openrobots.ontology.types.Policy
- REVISE_MYSELF - Static variable in class laas.openrobots.ontology.types.Policy
- REVISION - laas.openrobots.ontology.types.PolicyMethods
-
Updates objects of one or several statements in the specified model if it does not (individually) lead to inconsistencies.
- RPCMethod - Annotation Type in laas.openrobots.ontology.service
-
This annotation marks all the available methods exposed to remote clients.
To actually register your services by the server, you just need to annotate the relevant method with a @RPCMethod annotation and to call theOroServer.addNewServiceProviders(IServiceProvider)
method. - rulesTokenizer() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
- run() - Method in interface laas.openrobots.ontology.connectors.IConnector
-
When called, should wait for one request, answer it and return.
- run() - Method in class laas.openrobots.ontology.connectors.SocketConnector.ClientWorker
- run() - Method in class laas.openrobots.ontology.connectors.SocketConnector
- run() - Method in class laas.openrobots.ontology.OroServer.OnShuttingDown
- runServer() - Method in class laas.openrobots.ontology.OroServer
S
- SAFE_ADD - laas.openrobots.ontology.types.PolicyMethods
-
The statements are added only if they (individually) do not lead to inconsistencies
- 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
- SAFE_UPDATE - laas.openrobots.ontology.types.PolicyMethods
-
Synonym for 'revision'
- 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() - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
- save() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
- 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(String, String) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
- SERIOUS_ERROR - laas.openrobots.ontology.helpers.VerboseLevel
-
Error that "shouldn't happen" but the server can live with.
- 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). - SHORTTERM - laas.openrobots.ontology.modules.memory.MemoryProfile
-
This represents short term memory (or working memory).
- SILENT - laas.openrobots.ontology.helpers.VerboseLevel
-
Only for use in the config file.
- 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.
T
- 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 settimeBase = 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 usesNamespaces.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
-
Applies
Namespaces.toLightString(RDFNode)
to each members of a statement. - 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() - Method in class laas.openrobots.ontology.json.JSONObject
-
Make a 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
- toString(int) - Method in class laas.openrobots.ontology.json.JSONArray
-
Make a prettyprinted JSON text of this JSONArray.
- toString(int) - Method in class laas.openrobots.ontology.json.JSONObject
-
Make a prettyprinted JSON text of this JSONObject.
- triggeringType - Variable in class laas.openrobots.ontology.modules.events.GenericWatcher
U
- UNDEFINED - laas.openrobots.ontology.backends.ResourceType
- unescapeJava(Writer, String) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Unescapes any Java literals found in the
String
to aWriter
. - unescapeJava(String) - Static method in class laas.openrobots.ontology.helpers.Helpers
-
Unescapes any Java literals found in the
String
. - update() - Method in class laas.openrobots.ontology.tests.OpenRobotsOntologyTest
-
This test checks the statement update mechanism.
- update(Set<Statement>) - Method in interface laas.openrobots.ontology.backends.IOntologyBackend
-
Update the value of a property.
- update(Set<Statement>) - Method in class laas.openrobots.ontology.backends.OpenRobotsOntology
- update(Set<String>) - Method in class laas.openrobots.ontology.modules.base.BaseModule
-
Update the value of a property.
- UPDATE - laas.openrobots.ontology.types.PolicyMethods
-
Updates objects of one or several statements in the specified model.
- UPDATE_ALL - Static variable in class laas.openrobots.ontology.types.Policy
- UPDATE_MYSELF - Static variable in class laas.openrobots.ontology.types.Policy
- updateForAgent(String, Set<String>) - Method in class laas.openrobots.ontology.modules.alterite.AlteriteModule
V
- 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.
- VERBOSE - laas.openrobots.ontology.helpers.VerboseLevel
-
Important debug info
- 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
W
- WARNING - laas.openrobots.ontology.helpers.VerboseLevel
-
Not an error, but an important information that can alter the way the server works.
- watch(String) - Method in class laas.openrobots.ontology.modules.memory.MemoryManager
- watcherId - Variable in class laas.openrobots.ontology.modules.events.GenericWatcher
- wrap(Object) - Static method in class laas.openrobots.ontology.json.JSONObject
-
Wrap an object, if necessary.
- write(Writer) - Method in class laas.openrobots.ontology.json.JSONArray
-
Write the contents of the JSONArray as JSON text to a writer.
- write(Writer) - Method in class laas.openrobots.ontology.json.JSONObject
-
Write the contents of the JSONObject as JSON text to a writer.
X
- xsd_ns - Static variable in class laas.openrobots.ontology.helpers.Namespaces
-
Standard XML Schema namespace ("http://www.w3.org/2001/XMLSchema#")
Y
- YELLOW - laas.openrobots.ontology.helpers.Logger.Colors
All Classes All Packages