Package jason.infra.local
Class LocalExecutionControl
java.lang.Object
jason.infra.local.LocalExecutionControl
- All Implemented Interfaces:
ExecutionControlInfraTier
Concrete implementation of the controller for Local infrastructure
tier.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLocalExecutionControl(ClassParameters userControlClass, BaseLocalMAS masRunner) -
Method Summary
Modifier and TypeMethodDescriptiongetAgState(String agName) Gets the agent state (beliefs, intentions, plans, ...) as an XML documentGets an object with infrastructure runtime servicesvoidinformAgToPerformCycle(String agName, int cycle) Informs an agent to continue to its next reasoning cycle.voidinformAllAgsToPerformCycle(int cycle) Informs all agents to continue to its next reasoning cycle.voidreceiveFinishedCycle(String agName, boolean breakpoint, int cycle) voidstop()
-
Field Details
-
executor
-
-
Constructor Details
-
LocalExecutionControl
public LocalExecutionControl(ClassParameters userControlClass, BaseLocalMAS masRunner) throws JasonException - Throws:
JasonException
-
-
Method Details
-
stop
public void stop() -
getUserControl
-
receiveFinishedCycle
-
informAgToPerformCycle
Description copied from interface:ExecutionControlInfraTierInforms an agent to continue to its next reasoning cycle.- Specified by:
informAgToPerformCyclein interfaceExecutionControlInfraTier
-
informAllAgsToPerformCycle
public void informAllAgsToPerformCycle(int cycle) Description copied from interface:ExecutionControlInfraTierInforms all agents to continue to its next reasoning cycle.- Specified by:
informAllAgsToPerformCyclein interfaceExecutionControlInfraTier
-
getAgState
Description copied from interface:ExecutionControlInfraTierGets the agent state (beliefs, intentions, plans, ...) as an XML document- Specified by:
getAgStatein interfaceExecutionControlInfraTier
-
getRuntimeServices
Description copied from interface:ExecutionControlInfraTierGets an object with infrastructure runtime services- Specified by:
getRuntimeServicesin interfaceExecutionControlInfraTier
-