Uses of Class
laas.openrobots.ontology.service.RPCMethod
-
Packages that use RPCMethod Package Description laas.openrobots.ontology Base package, that mainly stores the oro-server entry class,OroServer
.laas.openrobots.ontology.backends Provides the actual underlying ontology-based storage.laas.openrobots.ontology.modules.alterite Allows explicit representation of other agents with independant models of the world.laas.openrobots.ontology.modules.base laas.openrobots.ontology.modules.categorization Provides methods to extract similarities, differences and categories from a set of concepts.laas.openrobots.ontology.modules.events Provides the cognitive event manager module. -
-
Uses of RPCMethod in laas.openrobots.ontology
Methods in laas.openrobots.ontology with annotations of type RPCMethod Modifier and Type Method Description java.lang.String
OroServer. help()
java.util.Map<java.lang.String,java.lang.String>
OroServer. listMethods()
java.util.Set<java.lang.String>
OroServer. listSimpleMethods()
java.lang.String
OroServer. makeHtmlDoc()
void
OroServer. reset()
java.util.Map<java.lang.String,java.lang.String>
OroServer. stats()
Returns several statistics on the server. -
Uses of RPCMethod in laas.openrobots.ontology.backends
Methods in laas.openrobots.ontology.backends with annotations of type RPCMethod Modifier and Type Method Description void
OpenRobotsOntology. list(java.lang.String pattern)
void
OpenRobotsOntology. save()
void
OpenRobotsOntology. save(java.lang.String path)
-
Uses of RPCMethod in laas.openrobots.ontology.modules.alterite
Methods in laas.openrobots.ontology.modules.alterite with annotations of type RPCMethod Modifier and Type Method Description void
AlteriteModule. addForAgent(java.lang.String id, java.util.Set<java.lang.String> rawStmts)
Add statements in a specific agent cognitive model.void
AlteriteModule. addForAgent(java.lang.String id, java.util.Set<java.lang.String> rawStmts, java.lang.String memProfile)
Add statements in a specific agent cognitive model with a specific memory model.boolean
AlteriteModule. checkConsistencyForAgent(java.lang.String id)
void
AlteriteModule. clearEvent(java.lang.String agent, java.lang.String eventId)
void
AlteriteModule. clearEventsForAgent(java.lang.String agent)
void
AlteriteModule. clearForAgent(java.lang.String id, java.util.Set<java.lang.String> rawStmts)
java.util.List<java.util.Set<java.lang.String>>
AlteriteModule. discriminateForAgent(java.lang.String id, java.util.Set<java.lang.String> rawConcepts)
java.util.Set<java.lang.String>
AlteriteModule. findForAgent(java.lang.String id, java.lang.String varName, java.util.Set<java.lang.String> statements)
java.util.Set<java.lang.String>
AlteriteModule. findForAgent(java.lang.String id, java.lang.String varName, java.util.Set<java.lang.String> statements, java.util.Set<java.lang.String> filters)
java.util.Set<java.lang.String>
AlteriteModule. getInfosForAgent(java.lang.String id, java.lang.String lex_resource)
Returns the set of asserted and inferred statements whose the given node is part of, in the specifi agent model.java.util.Set<java.lang.String>
AlteriteModule. listAgents()
java.util.Set<java.util.List<java.lang.String>>
AlteriteModule. lookupForAgent(java.lang.String agent_id, java.lang.String id)
java.util.UUID
AlteriteModule. registerEventForAgent(java.lang.String agent, java.lang.String type, java.lang.String triggeringType, java.lang.String variable, java.util.List<java.lang.String> pattern, IEventConsumer consumer)
java.util.UUID
AlteriteModule. registerEventForAgent(java.lang.String agent, java.lang.String type, java.lang.String triggeringType, java.util.List<java.lang.String> pattern, IEventConsumer consumer)
Eventsvoid
AlteriteModule. removeForAgent(java.lang.String id, java.util.Set<java.lang.String> rawStmts)
Deprecated.void
AlteriteModule. revise(java.util.Set<java.lang.String> statements, java.lang.String json_policy)
Generic knowledge revision requestboolean
AlteriteModule. safeAddForAgent(java.lang.String id, java.util.Set<java.lang.String> rawStmts)
boolean
AlteriteModule. safeAddForAgent(java.lang.String id, java.util.Set<java.lang.String> rawStmts, java.lang.String memProfile)
Adds statements in a specific agent cognitive model with a specific memory model, but only if the statement doesn't cause any inconsistency.void
AlteriteModule. save(java.lang.String id, java.lang.String path)
void
AlteriteModule. updateForAgent(java.lang.String id, java.util.Set<java.lang.String> rawStmts)
-
Uses of RPCMethod in laas.openrobots.ontology.modules.base
Methods in laas.openrobots.ontology.modules.base with annotations of type RPCMethod Modifier and Type Method Description void
BaseModule. add(java.util.Set<java.lang.String> rawStmts)
Like#add(Set
with the, String) MemoryProfile.DEFAULT
memory profile.void
BaseModule. add(java.util.Set<java.lang.String> rawStmts, java.lang.String memProfile)
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.java.lang.Boolean
BaseModule. check(java.util.Set<java.lang.String> stmts)
java.lang.Boolean
BaseModule. checkConsistency()
Checks if the ontology is consistent.java.lang.Boolean
BaseModule. checkConsistency(java.util.Set<java.lang.String> rawStmts)
Checks that a set of statements are consistent with the current model.void
BaseModule. clear(java.util.Set<java.lang.String> rawStmts)
Removes all statements matching any statements or partial statements in the provided set.java.util.Set<java.lang.String>
BaseModule. find(java.lang.String varName, java.util.Set<java.lang.String> statements)
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.java.util.Set<java.lang.String>
BaseModule. find(java.lang.String varName, java.util.Set<java.lang.String> statements, java.util.Set<java.lang.String> filters)
Tries to identify a resource given a set of partially defined statements (plus optional restrictions) about this resource.
First simple example:java.util.Map<java.lang.String,java.lang.String>
BaseModule. getClassesOf(java.lang.String individual)
java.util.Map<java.lang.String,java.lang.String>
BaseModule. getDirectClassesOf(java.lang.String individual)
java.util.Map<java.lang.String,java.lang.String>
BaseModule. getDirectInstancesOf(java.lang.String type)
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.java.util.Map<java.lang.String,java.lang.String>
BaseModule. getDirectSubclassesOf(java.lang.String type)
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.java.util.Map<java.lang.String,java.lang.String>
BaseModule. getDirectSuperclassesOf(java.lang.String type)
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.java.util.Set<java.lang.String>
BaseModule. getInfos(java.lang.String lex_resource)
Returns the set of asserted and inferred statements whose the given node is part of.java.util.Map<java.lang.String,java.lang.String>
BaseModule. getInstancesOf(java.lang.String type)
Returns all the instances of a given class, as asserted or inferred from the ontology.java.lang.String
BaseModule. getLabel(java.lang.String id)
Returns the label associated to a concept whose name is 'id'.ResourceDescription
BaseModule. getResourceDetails(java.lang.String id)
LikeBaseModule.getResourceDetails(String, String)
with language set to default language (as set in the server config file).ResourceDescription
BaseModule. getResourceDetails(java.lang.String id, java.lang.String language_code)
Returns a complete description of a resource identified byid
, 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.java.util.Map<java.lang.String,java.lang.String>
BaseModule. getSubclassesOf(java.lang.String type)
Returns all the sub-classes of a given class, as asserted or inferred from the ontology.java.util.Map<java.lang.String,java.lang.String>
BaseModule. getSuperclassesOf(java.lang.String type)
Returns all the super classes of a given class, as asserted or inferred from the ontology.java.util.Set<java.util.List<java.lang.String>>
BaseModule. lookup(java.lang.String id)
java.util.Set<java.lang.String>
BaseModule. lookup(java.lang.String id, java.lang.String type)
java.util.Set<java.lang.String>
BaseModule. query(java.lang.String key, java.lang.String q)
MapsIOntologyBackend.query(String, String)
into a RPC callvoid
BaseModule. remove(java.util.Set<java.lang.String> rawStmts)
Deprecated.UseBaseModule.clear(Set)
instead.boolean
BaseModule. safeAdd(java.util.Set<java.lang.String> rawStmts)
boolean
BaseModule. safeAdd(java.util.Set<java.lang.String> rawStmts, java.lang.String memProfile)
Adds statements with a specific memory model, but only if the statement doesn't cause any inconsistency.void
BaseModule. update(java.util.Set<java.lang.String> rawStmts)
Update the value of a property. -
Uses of RPCMethod in laas.openrobots.ontology.modules.categorization
Methods in laas.openrobots.ontology.modules.categorization with annotations of type RPCMethod Modifier and Type Method Description java.util.List<java.util.Set<java.lang.String>>
CategorizationModule. discriminate(java.util.Set<java.lang.String> rawConcepts)
java.util.Set<java.util.Set<java.lang.String>>
CategorizationModule. getDifferences(java.lang.String conceptA, java.lang.String conceptB)
Returns the differences between two concepts (in their literal representation).java.util.Set<java.lang.String>
CategorizationModule. getSimilarities(java.lang.String conceptA, java.lang.String conceptB)
Returns the similarities between two concepts (in their literal representation). -
Uses of RPCMethod in laas.openrobots.ontology.modules.events
Methods in laas.openrobots.ontology.modules.events with annotations of type RPCMethod Modifier and Type Method Description void
EventModule. clearEvent(java.lang.String eventId)
Removes one event trigger from the model.void
EventModule. clearEvents()
java.util.UUID
EventModule. registerEvent(java.lang.String type, java.lang.String triggeringType, java.lang.String variable, java.util.List<java.lang.String> pattern, IEventConsumer consumer)
java.util.UUID
EventModule. registerEvent(java.lang.String type, java.lang.String triggeringType, java.util.List<java.lang.String> pattern, IEventConsumer consumer)
-