|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.upm.dit.gsi.beast.platform.jade.JadeAgentIntrospector
public class JadeAgentIntrospector
Project: beast File: es.upm.dit.gsi.beast.platform.jade.JadeAgentIntrospector.java Grupo de Sistemas Inteligentes Departamento de Ingeniería de Sistemas Telemáticos Universidad Politécnica de Madrid (UPM)
Method Summary | |
---|---|
jade.core.Agent |
getAgent(String agentName)
|
Object[] |
getAgentGoals(String agent_name,
Connector connector)
Non-supported in JadeAgentIntrospector |
Object[] |
getAgentPlans(String agent_name,
Connector connector)
Non-supported in JadeAgentIntrospector |
HashMap<String,Object> |
getBeliefBase(jade.core.Agent agent)
|
Object |
getBeliefValue(String agent_name,
String belief_name,
Connector connector)
|
HashMap<String,HashMap<String,Object>> |
getDataToTest()
|
static JadeAgentIntrospector |
getInstance()
|
static JadeAgentIntrospector |
getMyInstance(jade.core.Agent agent)
|
void |
setBeliefValue(String agent_name,
String belief_name,
Object new_value,
Connector connector)
|
void |
storeBeliefValue(jade.core.Agent agent,
String belief_name,
Object new_value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JadeAgentIntrospector getInstance()
public static JadeAgentIntrospector getMyInstance(jade.core.Agent agent)
agent
- Register this agent
public HashMap<String,HashMap<String,Object>> getDataToTest()
public Object getBeliefValue(String agent_name, String belief_name, Connector connector)
getBeliefValue
in interface AgentIntrospector
agent_name
- The name of the agentbelief_name
- The name of the beliefconnector
- The connector to the platform
public void setBeliefValue(String agent_name, String belief_name, Object new_value, Connector connector)
setBeliefValue
in interface AgentIntrospector
agent_name
- The name of the agentbelief_name
- The name of the beliefnew_value
- The new value of the beliefconnector
- The connector to the platformpublic HashMap<String,Object> getBeliefBase(jade.core.Agent agent)
agent
- The agent
public void storeBeliefValue(jade.core.Agent agent, String belief_name, Object new_value)
agent
- belief_name
- new_value
- public jade.core.Agent getAgent(String agentName)
agentName
- The local name
public Object[] getAgentPlans(String agent_name, Connector connector)
getAgentPlans
in interface AgentIntrospector
agent_name
- The name of the agentconnector
- The connector to the platform
public Object[] getAgentGoals(String agent_name, Connector connector)
getAgentGoals
in interface AgentIntrospector
agent_name
- The name of the agentconnector
- The connector to the platform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |