|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
org.dyncle.ComponentBehaviour
org.dyncle.ADTypeComponent
public abstract class ADTypeComponent
Abstract class for Analyze & Decide type component.
Field Summary |
---|
Fields inherited from class org.dyncle.ComponentBehaviour |
---|
mode, name, priority, serviceType |
Fields inherited from class jade.core.behaviours.Behaviour |
---|
STATE_BLOCKED, STATE_READY, STATE_RUNNING |
Constructor Summary | |
---|---|
ADTypeComponent(SASystem a)
This constructor sets the owner agent for this behavior. |
|
ADTypeComponent(SASystem a,
java.lang.String name,
java.lang.String serviceType)
|
Method Summary | |
---|---|
void |
activateLowerCLs()
Activates CLs that are previously passivated. |
jess.Rete |
getEngine()
|
void |
makePlan(java.lang.String scriptFile)
Generates plans. |
void |
passivateLowerCLs()
Passivates control loops whose priorities are lower than this component. |
void |
setRules(java.lang.String ruleFile)
Reads rules and sets them into the Jess planning engine. |
Methods inherited from class org.dyncle.ComponentBehaviour |
---|
action, activate, addPort, connectPorts, disconnectPorts, done, getName, getPriority, getProvidedPorts, getRequiredPorts, getServiceType, passivate, perform, setName, setServiceType, terminate |
Methods inherited from class jade.core.behaviours.SimpleBehaviour |
---|
reset |
Methods inherited from class jade.core.behaviours.Behaviour |
---|
actionWrapper, block, block, getBehaviourName, getDataStore, getExecutionState, getRestartCounter, handleRestartEvent, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ADTypeComponent(SASystem a)
a
- The agent this behavior belongs to.public ADTypeComponent(SASystem a, java.lang.String name, java.lang.String serviceType)
Method Detail |
---|
public jess.Rete getEngine()
public void setRules(java.lang.String ruleFile) throws jess.JessException
ruleFile
-
jess.JessException
public void makePlan(java.lang.String scriptFile)
scriptFineName:
- script file for start up JSHOPpublic void passivateLowerCLs()
public void activateLowerCLs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |