A B C D G I L M O P R S T

A

addProperties(Model, Resource) - Static method in class agent.core.communication.Message
Recursive method which move resource with all properties recursively into new model
agent.core.communication - package agent.core.communication
 
agent.core.memory - package agent.core.memory
 
agent.core.onto - package agent.core.onto
 
AGENT_OWNERSHIP - Static variable in class agent.core.onto.Ontology
Used for registering of agents into Directory Facilitator

B

BASE - Static variable in class agent.core.onto.Config
BASE resurns agent ontology uri without "#" at the end same string with # can be returned by Memory.getBase() method
BASE - Static variable in class agent.core.onto.Ontology
BASE returns agent ontology uri

C

closeModel() - Method in class agent.core.memory.Memory
Close OWL Model and store Model in RDB if using database backend This have to be redesigned and store everything on the crash
Config - Class in agent.core.memory
Configuration for Agent Memory
Config(String) - Constructor for class agent.core.memory.Config
Operators file name.
config - Static variable in class agent.core.memory.Config
Properties file
config - Variable in class agent.core.memory.Memory
 
Config - Class in agent.core.onto

Configuration for Ontology
Properties can be edited in Config.properties
Config() - Constructor for class agent.core.onto.Config
 
config - Static variable in class agent.core.onto.Config
Properties file
conn - Variable in class agent.core.memory.Memory
Instanceof database connection object
CREATE_MODEL - Variable in class agent.core.memory.Config
If True it creates model in RDB (MySQL) when agent is started
We need to set this True only first time when running agent or if we want to recreate model from OWL files in case of recreating we need to set REMOVE_MODEL True as well in order to remove old model first OWl files which contains of Ontology definition and Ontology individuals (Instances) are defined in Ontology Config see: SOURCE_FILE, INDIVIDUALS_FILE
createInformMessage(Agent, String, Resource) - Static method in class agent.core.communication.Message
This method creates ACL Inform message containing of RDF of some Jena RDF Resource
createModel() - Method in class agent.core.memory.Memory
Creates OWL model out of defined SOURCE_FILE in OWL database and store this model see: SOURCE_FILE, INDIVIDUALS_FILE
createProperty(String) - Method in class agent.core.memory.Memory
Creates ontology property out ofstring represenation
createQueryMessage(Agent, String, String) - Static method in class agent.core.communication.Message
This method creates ACL Query message

D

DB_PASSWD - Variable in class agent.core.memory.Config
user's password
DB_TYPE - Variable in class agent.core.memory.Config
DB type - usualy MySQL
DB_URL - Variable in class agent.core.memory.Config
url of database for example "jdbc:mysql://[host]/[database]"
DB_USER - Variable in class agent.core.memory.Config
database user which has access to specified DB
DBDRIVER_CLASS - Variable in class agent.core.memory.Config
location of jdbc driver class
DEFAULT_MODEL_NAME - Static variable in class agent.core.memory.Memory
Default ontology model name

G

getBase() - Static method in class agent.core.memory.Memory
Reurns the agent onoloy name space
getConnection() - Method in class agent.core.memory.Memory
This method returns db connection
getModel() - Method in class agent.core.memory.Memory
Returns OWL ontological model for manipulation
getXML(Resource, String, String) - Static method in class agent.core.communication.Message
Recursive method which writes resource with all properties recursively into string and returns it

I

INDIVIDUALS_FILE - Variable in class agent.core.memory.Config
Individuals file defines path to OWL file containing of agent ontology Individuals (instances)
This can be loaded when Memory Config CREATE_MODEL is set True

L

loaded - Variable in class agent.core.memory.Memory
State variable identifies whether model is loaded
log - Static variable in class agent.core.communication.Message
 
log - Static variable in class agent.core.memory.Config
 
log - Variable in class agent.core.memory.Memory
Log4j object
log - Static variable in class agent.core.memory.MemoryTest
 
log - Static variable in class agent.core.onto.Config
 

M

main(String[]) - Static method in class agent.core.memory.MemoryTest
 
MEM_MODEL - Variable in class agent.core.memory.Config
If True it reades model from FILE defined in ontology config properties and holds model in memory instead of MySQL database it is faster but not very good solution.
Memory - Class in agent.core.memory
Agent Memory Main functionality to access and manipulate Jena ontology models in MySQL database
Memory(String, String) - Constructor for class agent.core.memory.Memory
Constructor
memory2owl() - Method in class agent.core.memory.Memory
Saves current content of Memory into file defined in Ontology Property file see: OUTPUT_FILE
MemoryTest - Class in agent.core.memory
This class can be run to test Memory functionality It loads test OWL file from memory_init directory and list display all Resources which have title
MemoryTest() - Constructor for class agent.core.memory.MemoryTest
 
Message - Class in agent.core.communication
Contain of relevant methods for communication using OWL or RDF models
Message() - Constructor for class agent.core.communication.Message
 
model - Variable in class agent.core.memory.Memory
Instance of ontological model used in agent
model2RDF(Model) - Static method in class agent.core.communication.Message
This method returns XML/RDF text representation of RDF Model

O

Ontology - Class in agent.core.onto
Title: Agent Ontology
Description: Provides constants and utilities for manipulating OWL ontology needed for Agents
Ontology() - Constructor for class agent.core.onto.Ontology
 
OUTPUT_FILE - Variable in class agent.core.memory.Config
Output file defines path to OWL file where content of OM can we write when calling method memory2owl()
OWL - Static variable in class agent.core.onto.Ontology
OWL holds OWL uri "http://www.w3.org/2002/07/owl#"
OWL_FOOT - Static variable in class agent.core.onto.Ontology
OWL_FOOT is used to add RDF footer to Event messages comming through XML-RPC
OWL_HEAD - Static variable in class agent.core.onto.Ontology
OWL_HEAD is used to add RDF, OWL and agent ontology headers to Event messages comming through XML-RPC

P

performInference(String, boolean) - Method in class agent.core.memory.Memory
Infers some new statements about the agent ontological model accoding to given rules of inference
and adds inferenced model as submodel of agent

R

RDF - Static variable in class agent.core.onto.Ontology
RDF holds RDF uri "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
RDFS - Static variable in class agent.core.onto.Ontology
RDFS holds RDFS uri "http://www.w3.org/2000/01/rdf-schema#"
register(Agent, String) - Static method in class agent.core.communication.Message
This method register agent with directory facilitator
REMOVE_MODEL - Variable in class agent.core.memory.Config
If True it removes model from RDB (MySQL) when agent is started
removeModel() - Method in class agent.core.memory.Memory
Remove model from DB
reset() - Method in class agent.core.memory.Memory
Sometimes if operation is idle MySQL connection fails and we need to reset connection and model
resource2Model(Resource, Model) - Static method in class agent.core.communication.Message
 
resource2RDF(Resource) - Static method in class agent.core.communication.Message
This method returns XML/RDF text representation of RDF Resource
resource2RDF(Resource, Model) - Static method in class agent.core.communication.Message
 

S

SOURCE_FILE - Static variable in class agent.core.onto.Config
Source file defines path to OWL file containing of agent ontology definitions
This can be loaded when OM Config CREATE_MODEL is set True
SPARQL - Static variable in class agent.core.onto.Ontology
SPARQL is used in inter agent communication to specify using of SPARQL language
SPARQL_PREFIX - Static variable in class agent.core.onto.Ontology
SPARQL_PREFIX is used in SPARQL queries where we can write <ont:something> or <rdf:something> instead of full agent ontology uri or RDF uri

T

test() - Method in class agent.core.memory.Memory
Prints objects from OWL model for testing purposes
testConnection() - Method in class agent.core.memory.Memory
Tests the status of connection.

A B C D G I L M O P R S T