jadex.testcases.planlib
Agent CNPReceiver
jadex.testcases.planlib.CNPReceiver
jadex.planlib.Protocols
- agent CNPReceiver
- contains jadex.planlib.Protocols
Agent arguments: - offer int
- execute boolean
Represents the participant in cnp protocol.
Belief Summary |
beliefref IFilter |
cnp_filter
The filter for deciding which cnp messages are handled in this capability. |
exported belief boolean |
execute
Flag to indicate if execution should be successful. |
exported belief int |
offer
The offer that should be made in the proposal. |
Configuration Summary |
default configuration |
default
|
offer
exported belief int offer
- The offer that should be made in the proposal.
- Default fact:
0
execute
exported belief boolean execute
- Flag to indicate if execution should be successful.
- Default fact:
false
cnp_filter
beliefref IFilter cnp_filter
- The filter for deciding which cnp messages are handled in this capability.
- Default fact:
IFilter.NEVER
- Referenced from:
cnp_filter
in capability jadex.planlib.Protocols
cnp_receiver_interaction
performgoalref cnp_receiver_interaction
- Parameters:
- parameterref
interaction_description
- parameterref
interaction_state
- parameterref
message
- parameterref
result
- Referenced from:
cnp_receiver_interaction
in capability jadex.planlib.Protocols
cnp_execute_task
achievegoalref cnp_execute_task
- Parameters:
- parameterref
initiator
- parameterref
proposal
- parameterref
proposal_info
- parameterref
result
- Referenced from:
cnp_execute_task
in capability jadex.planlib.Protocols
cnp_make_proposal
querygoalref cnp_make_proposal
- Parameters:
- parameterref
cfp
- parameterref
initiator
- parameterref
proposal
- parameterref
proposal_info
- Referenced from:
cnp_make_proposal
in capability jadex.planlib.Protocols
cnp_make_proposal_plan
standard plan cnp_make_proposal_plan(Object cfp,
Object proposal,
Object proposal_info)
- Parameters:
- in parameter
cfp
(goal mappings: cnp_make_proposal.cfp)
- in parameter
proposal
(goal mappings: cnp_make_proposal.proposal)
- in parameter
proposal_info
(goal mappings: cnp_make_proposal.proposal_info)
- Plan body:
- Plan trigger:
- Goals:
cnp_make_proposal
cnp_execute_task_plan
standard plan cnp_execute_task_plan(Object proposal,
Object proposal_info,
Object result)
- Parameters:
- in parameter
proposal
(goal mappings: cnp_execute_task.proposal)
- optional in parameter
proposal_info
(goal mappings: cnp_execute_task.proposal_info)
- optional in parameter
result
(goal mappings: cnp_execute_task.result)
- Plan body:
- Plan trigger:
- Goals:
cnp_execute_task
negotiation_finished_plan
standard plan negotiation_finished_plan(InteractionState interaction_state,
Object result)
- Parameters:
- in parameter
interaction_state
Default value:
(InteractionState)((IRGoalEvent)$event).getGoal().getParameter("interaction_state").getValue()
- in parameter
result
Default value:
((IRGoalEvent)$event).getGoal().getParameter("result").getValue()
- Plan body:
new jadex.testcases.PrintResultPlan($plan.result)
- Plan trigger:
- Finished goals:
cnp_receiver_interaction
default
default configuration default
- Initial Beliefs:
- cnp_filter Initial value:
IFilter.ALWAYS
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.