|
Jadex 0.96 | ||||||||
PREV AGENT NEXT AGENT | FRAMES NO FRAMES | ||||||||
SUMMARY: | BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION | DETAIL: BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION |
The protocols capability enables an easy goal-driven usage of some often used FIPA protocols.
Belief Summary | |
exported belief IFilter |
cm_filter
The filter for deciding which cancel messages are handled in this capability. |
exported belief IFilter |
cnp_filter
The filter for deciding which initial cfp messages are handled in this capability. |
exported belief IFilter |
da_filter
The filter for deciding which initial cfp messages are handled in this capability. |
exported belief IFilter |
ea_filter
The filter for deciding which initial cfp messages are handled in this capability. |
exported belief IFilter |
icnp_filter
The filter for deciding which initial iterated cfp messages are handled in this capability. |
exported belief IFilter |
rp_filter
The filter for deciding which initial request messages are handled in this capability. |
exported belief Long |
timeout
Timeout for messages. |
Goal Summary | |
exported querygoal |
cm_approve_cancel(String conversation-id, Object failure_reason, AgentIdentifier initiator, String protocol, Boolean result)
(Participant side) Optional goal to approve a cancel request (default=true). |
exported performgoal |
cm_receiver_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
(Participant side) FIPA-Cancel-Meta-Protocol protocol interaction goal (top-level goal of all receiver-side interactions). |
exported querygoal |
cnp_evaluate_proposals(Object cfp, Object cfp_info, Boolean evaluated, ParticipantProposal [set] acceptables, NegotiationRecord [set] history, ParticipantProposal [set] proposals)
(Initiator side) Evaluate the received proposals. |
exported achievegoal |
cnp_execute_task(AgentIdentifier initiator, Object proposal, Object proposal_info, Object result)
(Participant side) Execute a cfp task. |
exported achievegoal |
cnp_initiate(Object cfp, Object cfp_info, Boolean executeall, InteractionState interaction_state, String language, String ontology, Long timeout, NegotiationRecord [set] history, AgentIdentifier [set] receivers, Object [set] result)
(Initiator side) Initiate a call for proposal protcol. |
exported querygoal |
cnp_make_proposal(Object cfp, AgentIdentifier initiator, Object proposal, Object proposal_info)
(Participant side) Make a cfp proposal. |
exported performgoal |
cnp_receiver_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
(Participant side) Contract-net protocol interaction goal (top-level goal of all receiver-side interactions). |
exported querygoal |
da_decide_iteration(Object cfp, Object cfp_info, Object [set] history)
(Initiator side) Decide if the next round should be executed and with which cfp. |
exported achievegoal |
da_decide_participation(AuctionDescription auction_description, Object auction_info, AgentIdentifier initiator, Boolean participate)
(Participant side) Optional goal that offers a possibility to decide a participation. |
exported achievegoal |
da_initiate(AuctionDescription auction_description, Object cfp, Object cfp_info, InteractionState interaction_state, String language, String ontology, Object result, AgentIdentifier [set] receivers)
(Initiator side) Initiate the dutch auction protocol. |
exported querygoal |
da_make_proposal(Boolean accept, AuctionDescription auction_description, Object auction_info, Object cfp, Boolean leave, Object [set] history)
(Participant side) Accept a proposal in a dutch auction. |
exported performgoal |
da_receiver_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
(Participant side) Dutch auction protocol interaction goal (top-level goal of all receiver-side interactions). |
exported querygoal |
ea_decide_acceptance(Boolean accept, AuctionDescription auction_description, Object cfp, Object cfp_info, AgentIdentifier winner, Object [set] history)
(Initiator side) Decide if winning offer should be accepted. |
exported querygoal |
ea_decide_iteration(Object cfp, Object cfp_info, Object [set] history)
(Initiator side) Decide if the next round should be executed and with which cfp. |
exported achievegoal |
ea_decide_participation(AuctionDescription auction_description, Object auction_info, AgentIdentifier initiator, Boolean participate)
(Participant side) Optional goal that offers a possibility to decide about participation. |
exported achievegoal |
ea_initiate(AuctionDescription auction_description, Object cfp, Object cfp_info, InteractionState interaction_state, String language, Comparable limit, String ontology, Object result, AgentIdentifier [set] receivers)
(Initiator side) Initiate the english auction protocol. |
exported querygoal |
ea_make_proposal(Boolean accept, AuctionDescription auction_description, Object auction_info, Object cfp, Boolean leave, Object [set] history)
(Participant side) Make a proposal for an english auction. |
exported performgoal |
ea_receiver_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
(Participant side) English auction protocol interaction goal (top-level goal of all receiver-side interactions). |
exported querygoal |
icnp_evaluate_proposals(Object cfp, Object cfp_info, Boolean evaluated, ParticipantProposal [set] acceptables, NegotiationRecord [set] history, ParticipantProposal [set] proposals)
(Initiator side) Evaluate the received proposals. |
exported achievegoal |
icnp_execute_task(AgentIdentifier initiator, Object proposal, Object proposal_info, Object result)
(Participant side) Execute a cfp task. |
exported achievegoal |
icnp_initiate(Object cfp, Object cfp_info, Boolean executeall, InteractionState interaction_state, String language, String ontology, Long timeout, NegotiationRecord [set] history, AgentIdentifier [set] receivers, Object [set] result)
(Initiator side) Initiate a call for proposal protcol. |
exported querygoal |
icnp_make_proposal(Object cfp, AgentIdentifier initiator, Object proposal, Object proposal_info)
(Participant side) Make a cfp proposal. |
exported querygoal |
icnp_nextround_info(Object cfp, Object cfp_info, Boolean iterate, NegotiationRecord [set] history, AgentIdentifier [set] participants, ParticipantProposal [set] proposals)
(Initiator side) Collect information for next round (if any). |
exported performgoal |
icnp_receiver_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
(Participant side) Iterated contract-net protocol interaction goal (top-level goal of all receiver-side interactions). |
exported performgoal |
perform_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
A subgoal that can be posted to trigger to protocol specific interaction handling. |
exported querygoal |
rp_decide_request(Boolean accept, Object action, AgentIdentifier initiator)
(Participant side) Decide upon a requested task will be executed. |
exported achievegoal |
rp_execute_request(Object action, AgentIdentifier initiator, Object result)
(Participant side) Execute the requested task. |
exported achievegoal |
rp_initiate(Object action, InteractionState interaction_state, String language, String ontology, AgentIdentifier receiver, Object result, Long timeout)
(Initiator side) Initiate a conversation using the fipa-request protocol. |
exported performgoal |
rp_receiver_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
(Participant side) Request protocol interaction goal (top-level goal of all receiver-side interactions). |
Plan Summary | |
standard plan |
cm_approve_cancel_plan(boolean result)
Default plan for deciding about cancellation. |
standard plan |
cm_interaction_goal_creation_plan(String goaltype)
FIPA-Cancel-Meta-Protocol generic interaction goal creation plan. |
standard plan |
cm_receiver_plan(IMessageEvent message)
Plan for cancelling an interaction (receiver side of FIPA-Cancel-Meta-Protocol). |
standard plan |
cnp_evaluateproposals_plan(Object cfp, Object cfp_info, ParticipantProposal [set] acceptables, NegotiationRecord [set] history, ParticipantProposal [set] proposals)
Default plan for evaluate proposals goal. |
standard plan |
cnp_initiator_plan(Object cfp, Object cfp_info, boolean executeall, InteractionState interaction_state, Boolean iterated, String language, String ontology, Long timeout, NegotiationRecord [set] history, AgentIdentifier [set] receivers, Object [set] result)
|
standard plan |
cnp_interaction_goal_creation_plan(String goaltype)
Generic interaction goal creation plan. |
standard plan |
cnp_receiver_plan(Object interaction_description, InteractionState interaction_state, Boolean iterated, IMessageEvent message, Object result)
|
standard plan |
da_initiator_plan(AuctionDescription auction_description, Object cfp, Object cfp_info, InteractionState interaction_state, String language, String ontology, Object result, AgentIdentifier [set] receivers)
|
standard plan |
da_interaction_goal_creation_plan(String goaltype)
Generic interaction goal creation plan. |
standard plan |
da_receiver_plan(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
|
standard plan |
ea_initiator_plan(AuctionDescription auction_description, Object cfp, Object cfp_info, InteractionState interaction_state, String language, Comparable limit, String ontology, Object result, AgentIdentifier [set] receivers)
|
standard plan |
ea_interaction_goal_creation_plan(String goaltype)
Generic interaction goal creation plan. |
standard plan |
ea_receiver_plan(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
|
standard plan |
icnp_evaluateproposals_plan(Object cfp, Object cfp_info, ParticipantProposal [set] acceptables, NegotiationRecord [set] history, ParticipantProposal [set] proposals)
Default plan for evaluate proposals goal. |
standard plan |
icnp_initiator_plan(Object cfp, Object cfp_info, boolean executeall, InteractionState interaction_state, Boolean iterated, String language, String ontology, Long timeout, NegotiationRecord [set] history, AgentIdentifier [set] receivers, Object [set] result)
|
standard plan |
icnp_interaction_goal_creation_plan(String goaltype)
Generic interaction goal creation plan. |
standard plan |
icnp_querynextroundinfo_plan(Object cfp, Object cfp_info, Boolean iterate, NegotiationRecord [set] history, AgentIdentifier [set] participants, ParticipantProposal [set] proposals)
Default plan for query nextround-info goal. |
standard plan |
icnp_receiver_plan(Object interaction_description, InteractionState interaction_state, Boolean iterated, IMessageEvent message, Object result)
|
standard plan |
request_initiator_plan(Object action, InteractionState interaction_state, String language, String ontology, AgentIdentifier receiver, Object result, Long timeout)
|
standard plan |
rp_interaction_goal_creation_plan(String goaltype)
Generic interaction goal creation plan. |
standard plan |
rp_receiver_plan(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
|
Event Summary | |
messageevent |
cm_cancel(String performative, String protocol)
Cancel message sent by initiator side to terminate an ongoing interaction. |
messageevent |
cm_failure(String performative, String protocol)
Failure message sent by receiver side describing failed termination of an ongoing interaction. |
messageevent |
cm_inform(String performative, String protocol)
Inform message sent by receiver side describing successful termination of an ongoing interaction. |
messageevent |
cm_not_understood(String performative)
Not-understood message sent by receiver side describing the whish to abort the interaction. |
exported messageevent |
cnp_accept(String language, String performative, String protocol)
|
exported messageevent |
cnp_cfp(String conversation-id, String language, String performative, String protocol)
- cnp |
exported messageevent |
cnp_failure(String language, String performative, String protocol)
|
exported messageevent |
cnp_inform(String language, String performative, String protocol)
|
exported messageevent |
cnp_not_understood(String language, String performative, String protocol)
|
exported messageevent |
cnp_propose(String language, String performative, String protocol)
|
exported messageevent |
cnp_refuse(String language, String performative, String protocol)
|
exported messageevent |
cnp_reject(String language, String performative, String protocol)
|
exported messageevent |
da_accept_proposal(String language, String performative, String protocol)
|
exported messageevent |
da_cfp(String language, String performative, String protocol)
|
exported messageevent |
da_inform_end_auction(String encoding, String language, String performative, String protocol)
|
exported messageevent |
da_inform_start_auction(AuctionDescription content, String conversation-id, String encoding, String language, String performative, String protocol)
dutch auction |
exported messageevent |
da_not_understood(String language, String performative, String protocol)
|
exported messageevent |
da_propose(String language, String performative, String protocol)
|
exported messageevent |
da_reject_proposal(String language, String performative, String protocol)
|
exported messageevent |
ea_accept_proposal(String language, String performative, String protocol)
|
exported messageevent |
ea_cfp(String language, String performative, String protocol)
|
exported messageevent |
ea_inform_end_auction(String encoding, String language, String performative, String protocol)
|
exported messageevent |
ea_inform_start_auction(AuctionDescription content, String conversation-id, String encoding, String language, String performative, String protocol)
english auction |
exported messageevent |
ea_not_understood(String language, String performative, String protocol)
|
exported messageevent |
ea_propose(String language, String performative, String protocol)
|
exported messageevent |
ea_reject_proposal(String language, String performative, String protocol)
|
exported messageevent |
icnp_accept(String language, String performative, String protocol)
|
exported messageevent |
icnp_cfp(String conversation-id, String language, String performative, String protocol)
- icnp |
exported messageevent |
icnp_failure(String language, String performative, String protocol)
|
exported messageevent |
icnp_inform(String language, String performative, String protocol)
|
exported messageevent |
icnp_not_understood(String language, String performative, String protocol)
|
exported messageevent |
icnp_propose(String language, String performative, String protocol)
|
exported messageevent |
icnp_refuse(String language, String performative, String protocol)
|
exported messageevent |
icnp_reject(String language, String performative, String protocol)
|
exported messageevent |
rp_agree(String language, String performative, String protocol)
|
exported messageevent |
rp_failure(String language, String performative, String protocol)
|
exported messageevent |
rp_inform(String language, String performative, String protocol)
|
exported messageevent |
rp_not_understood(String language, String performative, String protocol)
|
exported messageevent |
rp_refuse(String language, String performative, String protocol)
|
exported messageevent |
rp_request(String conversation-id, String language, String performative, String protocol)
|
Expression Summary | |
expression |
find_interaction_goal
todo!!! |
Belief Detail |
exported belief Long timeout
(Integer)$propertybase.getProperty("standard.timeout")
exported belief IFilter rp_filter
IFilter.NEVER
exported belief IFilter cnp_filter
IFilter.NEVER
exported belief IFilter icnp_filter
IFilter.NEVER
exported belief IFilter ea_filter
IFilter.NEVER
exported belief IFilter da_filter
IFilter.NEVER
exported belief IFilter cm_filter
new ComposedFilter(new IFilter[]
{
$beliefbase.rp_filter,
$beliefbase.cnp_filter,
$beliefbase.icnp_filter,
$beliefbase.ea_filter,
$beliefbase.da_filter
}, ComposedFilter.OR)
Goal Detail |
exported performgoal rp_receiver_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
interaction_description
- The interaction description (content of first message). interaction_state
Default value:
new InteractionState()
message
- The message that initiated the protocol. result
- The interaction result. exported performgoal cnp_receiver_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
interaction_description
- The interaction description (content of first message). interaction_state
Default value:
new InteractionState()
message
- The message that initiated the protocol. result
- The interaction result. exported performgoal icnp_receiver_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
interaction_description
- The interaction description (content of first message). interaction_state
Default value:
new InteractionState()
message
- The message that initiated the protocol. result
- The interaction result. exported performgoal ea_receiver_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
interaction_description
- The interaction description (content of first message). interaction_state
Default value:
new InteractionState()
message
- The message that initiated the protocol. result
- The interaction result. exported performgoal da_receiver_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
interaction_description
- The interaction description (content of first message). interaction_state
Default value:
new InteractionState()
message
- The message that initiated the protocol. result
- The interaction result. exported performgoal cm_receiver_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
interaction_description
- The interaction description (content of first message). interaction_state
Default value:
new InteractionState()
message
- The message that initiated the protocol. result
- The interaction result. exported performgoal perform_interaction(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
interaction_description
- The interaction description (content of first message). interaction_state
- The interaction state should be assign from the superordinated goal. message
- The message should be assign from the superordinated goal. result
- The result should be passed back to the superordinated goal. exported achievegoal rp_initiate(Object action, InteractionState interaction_state, String language, String ontology, AgentIdentifier receiver, Object result, Long timeout)
action
- The requested action. interaction_state
Default value:
new InteractionState()
language
- Optional language for marshalling. ontology
- Optional ontology for marshalling. receiver
- The receiver of the request. result
- The result of the request. timeout
- The optional request timeout. exported achievegoal rp_execute_request(Object action, AgentIdentifier initiator, Object result)
action
- The requested action. initiator
- The requesting agent. result
- The result of the request. exported achievegoal cnp_initiate(Object cfp, Object cfp_info, Boolean executeall, InteractionState interaction_state, String language, String ontology, Long timeout, NegotiationRecord [set] history, AgentIdentifier [set] receivers, Object [set] result)
cfp
- The call-for-proposals is in the content. cfp_info
- The call-for-proposals info (local information). executeall
Default value:
Boolean.FALSE
interaction_state
Default value:
new InteractionState()
language
- Optional langauge for marshalling. ontology
- Optional ontology for marshalling. timeout
- The timeout used during the negotiation. history
- The negotiation history. receivers
- The (initial) negotiation participants. result
- The tasks done by the winners. exported achievegoal cnp_execute_task(AgentIdentifier initiator, Object proposal, Object proposal_info, Object result)
initiator
- The initiator of the interaction. proposal
- The proposal for doing the task. proposal_info
- Optional information about the task from the
preceding step (not sent to initiator).result
- Information about the task execution. exported achievegoal icnp_initiate(Object cfp, Object cfp_info, Boolean executeall, InteractionState interaction_state, String language, String ontology, Long timeout, NegotiationRecord [set] history, AgentIdentifier [set] receivers, Object [set] result)
cfp
- The call-for-proposals is in the content. cfp_info
- The call-for-proposals info (local information). executeall
Default value:
Boolean.FALSE
interaction_state
Default value:
new InteractionState()
language
- Optional langauge for marshalling. ontology
- Optional ontology for marshalling. timeout
- The timeout used during the negotiation. history
- The negotiation history. receivers
- The (initial) negotiation participants. result
- The tasks done by the winners. exported achievegoal icnp_execute_task(AgentIdentifier initiator, Object proposal, Object proposal_info, Object result)
initiator
- The initiator of the interaction. proposal
- The proposal for doing the task. proposal_info
- Optional information about the task from the
preceding step (not sent to initiator).result
- Information about the task execution. exported achievegoal ea_initiate(AuctionDescription auction_description, Object cfp, Object cfp_info, InteractionState interaction_state, String language, Comparable limit, String ontology, Object result, AgentIdentifier [set] receivers)
auction_description
- The auction description containing necessary information about the auction:
a) the auction topic, b) the round timeout, c) the starttime (optional) cfp
- The call-for-proposals is in the content. cfp_info
- The call-for-proposals info (local information). interaction_state
Default value:
new InteractionState()
language
- Optional language for marshalling. limit
- The optional limit offer (if defined no ea_decide_acceptance goal is thrown). ontology
- Optional ontology for marshalling. result
- The auction result. receivers
- The initially participating bidder agents. exported achievegoal ea_decide_participation(AuctionDescription auction_description, Object auction_info, AgentIdentifier initiator, Boolean participate)
auction_description
- The auction info describing the auction. auction_info
- Local auction info. initiator
- The initiator of the interaction. participate
- False for not participating in the auction. exported achievegoal da_initiate(AuctionDescription auction_description, Object cfp, Object cfp_info, InteractionState interaction_state, String language, String ontology, Object result, AgentIdentifier [set] receivers)
auction_description
- The auction description containing necessary information about the auction:
a) the auction topic, b) the round timeout, c) the starttime (optional) cfp
- The current offer made by the auctioneer. cfp_info
- The call-for-proposals info (local information). interaction_state
Default value:
new InteractionState()
language
- Optional language for marshalling. ontology
- Optional ontology for marshalling. result
- The result of the protocol execution. receivers
- The initially participating bidder agents. exported achievegoal da_decide_participation(AuctionDescription auction_description, Object auction_info, AgentIdentifier initiator, Boolean participate)
auction_description
- The auction description. auction_info
- Local auction info. initiator
- The initiator of the interaction. participate
- False for not participating in the auction. exported querygoal rp_decide_request(Boolean accept, Object action, AgentIdentifier initiator)
accept
- True, if request should be done and agree message should be sent. action
- The requested action. initiator
- The requesting agent. exported querygoal cnp_evaluate_proposals(Object cfp, Object cfp_info, Boolean evaluated, ParticipantProposal [set] acceptables, NegotiationRecord [set] history, ParticipantProposal [set] proposals)
cfp
- The original call-for-proposals. cfp_info
- The call-for-proposals info (local information). evaluated
Default value:
($goal.acceptables.length>0 ||
(select one ParticipantProposal $prop from $goal.proposals
where $prop.getEvaluation()==null)==null) ? true : null
acceptables
- The acceptable proposals, sorted by preference (best proposal first). history
- The negotiation history. proposals
- The received proposals. exported querygoal cnp_make_proposal(Object cfp, AgentIdentifier initiator, Object proposal, Object proposal_info)
cfp
- The cfp describing the task to be done. initiator
- The initiator of the interaction. proposal
- The proposal for doing the task. proposal_info
- Optional information about the task that will be tranferred
to the task execution step (not sent to initiator).exported querygoal icnp_evaluate_proposals(Object cfp, Object cfp_info, Boolean evaluated, ParticipantProposal [set] acceptables, NegotiationRecord [set] history, ParticipantProposal [set] proposals)
cfp
- The original call-for-proposals. cfp_info
- The call-for-proposals info (local information). evaluated
Default value:
($goal.acceptables.length>0 ||
(select one ParticipantProposal $prop from $goal.proposals
where $prop.getEvaluation()==null)==null) ? true : null
acceptables
- The acceptable proposals, sorted by preference (best proposal first).
By default, setting acceptable proposals will end the protocol (i.e. no more iterations). history
- The negotiation history. proposals
- The received proposals exported querygoal icnp_nextround_info(Object cfp, Object cfp_info, Boolean iterate, NegotiationRecord [set] history, AgentIdentifier [set] participants, ParticipantProposal [set] proposals)
cfp
- The call-for-proposal object sent to participants (should be refined for next round). cfp_info
- The call-for-proposal info (local information, can be refined for next round). iterate
- Flag indicating the decision to iterate (set to true or false to end goal). history
- The negotiation history. participants
- The participants (can be altered for next negotiation round). proposals
- The proposals, received from participants including evaluation (if any). exported querygoal icnp_make_proposal(Object cfp, AgentIdentifier initiator, Object proposal, Object proposal_info)
cfp
- The cfp describing the task to be done. initiator
- The initiator of the interaction. proposal
- The proposal for doing the task. proposal_info
- Optional information about the task that will be tranferred
to the task execution step (not sent to initiator).exported querygoal ea_decide_iteration(Object cfp, Object cfp_info, Object [set] history)
cfp
- Decide about the cfp for the next round. cfp_info
- Decide about the (new) cfp info. history
- The history of cfps. exported querygoal ea_decide_acceptance(Boolean accept, AuctionDescription auction_description, Object cfp, Object cfp_info, AgentIdentifier winner, Object [set] history)
accept
- The result. auction_description
- The auction description. cfp
- The winning proposal cfp_info
- The local cfp info winner
- The winning agent. history
- The history of cfps. exported querygoal ea_make_proposal(Boolean accept, AuctionDescription auction_description, Object auction_info, Object cfp, Boolean leave, Object [set] history)
accept
- True, for accepting the offer. auction_description
- The auction description describing the auction. auction_info
- Local auction info. cfp
- The current offer made by the auctioneer. leave
- True, for immediately leaving the current auction. history
- The history of all offers in the auction. exported querygoal da_decide_iteration(Object cfp, Object cfp_info, Object [set] history)
cfp
- Decide about the cfp for the next round. cfp_info
- Decide about the (new) cfp info. history
- The history of cfps. exported querygoal da_make_proposal(Boolean accept, AuctionDescription auction_description, Object auction_info, Object cfp, Boolean leave, Object [set] history)
accept
- True, for accepting the offer. auction_description
- The auction description. auction_info
- Local auction info. cfp
- The current offer made by the auctioneer. leave
- True, for immediately leaving the current auction. history
- The history of all offers in the auction. exported querygoal cm_approve_cancel(String conversation-id, Object failure_reason, AgentIdentifier initiator, String protocol, Boolean result)
conversation-id
- The interaction to be cancelled. failure_reason
- A failure reason when cancellation is not ok. initiator
- The initiator agent for the cancel request. protocol
- The protocol of the interaction to be cancelled. result
- True, if the cancellation is ok. Plan Detail |
standard plan rp_interaction_goal_creation_plan(String goaltype)
goaltype
Default value:
"rp_receiver_interaction"
rp_request
standard plan cnp_interaction_goal_creation_plan(String goaltype)
goaltype
Default value:
"cnp_receiver_interaction"
cnp_cfp
standard plan icnp_interaction_goal_creation_plan(String goaltype)
goaltype
Default value:
"icnp_receiver_interaction"
icnp_cfp
standard plan ea_interaction_goal_creation_plan(String goaltype)
goaltype
Default value:
"ea_receiver_interaction"
ea_inform_start_auction
standard plan da_interaction_goal_creation_plan(String goaltype)
goaltype
Default value:
"da_receiver_interaction"
da_inform_start_auction
standard plan request_initiator_plan(Object action, InteractionState interaction_state, String language, String ontology, AgentIdentifier receiver, Object result, Long timeout)
action
(goal mappings: rp_initiate.action)interaction_state
(goal mappings: rp_initiate.interaction_state)language
(goal mappings: rp_initiate.language)ontology
(goal mappings: rp_initiate.ontology)receiver
(goal mappings: rp_initiate.receiver)result
(goal mappings: rp_initiate.result)timeout
(goal mappings: rp_initiate.timeout)
rp_initiate
standard plan rp_receiver_plan(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
interaction_description
(goal mappings: rp_receiver_interaction.interaction_description perform_interaction.interaction_description)interaction_state
(goal mappings: rp_receiver_interaction.interaction_state perform_interaction.interaction_state)message
(goal mappings: rp_receiver_interaction.message perform_interaction.message)result
(goal mappings: rp_receiver_interaction.result perform_interaction.result)
rp_receiver_interaction
perform_interaction
standard plan cnp_initiator_plan(Object cfp, Object cfp_info, boolean executeall, InteractionState interaction_state, Boolean iterated, String language, String ontology, Long timeout, NegotiationRecord [set] history, AgentIdentifier [set] receivers, Object [set] result)
cfp
(goal mappings: cnp_initiate.cfp)cfp_info
(goal mappings: cnp_initiate.cfp_info)executeall
Default value:
false
interaction_state
(goal mappings: cnp_initiate.interaction_state)iterated
Default value:
Boolean.FALSE
language
(goal mappings: cnp_initiate.language)ontology
(goal mappings: cnp_initiate.ontology)timeout
(goal mappings: cnp_initiate.timeout)history
(goal mappings: cnp_initiate.history)receivers
(goal mappings: cnp_initiate.receivers)result
(goal mappings: cnp_initiate.result)
cnp_initiate
standard plan cnp_evaluateproposals_plan(Object cfp, Object cfp_info, ParticipantProposal [set] acceptables, NegotiationRecord [set] history, ParticipantProposal [set] proposals)
cfp
(goal mappings: cnp_evaluate_proposals.cfp)cfp_info
(goal mappings: cnp_evaluate_proposals.cfp_info)acceptables
(goal mappings: cnp_evaluate_proposals.acceptables)history
(goal mappings: cnp_evaluate_proposals.history)proposals
(goal mappings: cnp_evaluate_proposals.proposals)
cnp_evaluate_proposals
standard plan cnp_receiver_plan(Object interaction_description, InteractionState interaction_state, Boolean iterated, IMessageEvent message, Object result)
interaction_description
(goal mappings: cnp_receiver_interaction.interaction_description perform_interaction.interaction_description)interaction_state
(goal mappings: cnp_receiver_interaction.interaction_state perform_interaction.interaction_state)iterated
Default value:
Boolean.FALSE
message
(goal mappings: cnp_receiver_interaction.message perform_interaction.message)result
(goal mappings: cnp_receiver_interaction.result perform_interaction.result)
cnp_receiver_interaction
perform_interaction
standard plan icnp_initiator_plan(Object cfp, Object cfp_info, boolean executeall, InteractionState interaction_state, Boolean iterated, String language, String ontology, Long timeout, NegotiationRecord [set] history, AgentIdentifier [set] receivers, Object [set] result)
cfp
(goal mappings: icnp_initiate.cfp)cfp_info
(goal mappings: icnp_initiate.cfp_info)executeall
Default value:
false
interaction_state
(goal mappings: icnp_initiate.interaction_state)iterated
Default value:
Boolean.TRUE
language
(goal mappings: icnp_initiate.language)ontology
(goal mappings: icnp_initiate.ontology)timeout
(goal mappings: icnp_initiate.timeout)history
(goal mappings: icnp_initiate.history)receivers
(goal mappings: icnp_initiate.receivers)result
(goal mappings: icnp_initiate.result)
icnp_initiate
standard plan icnp_evaluateproposals_plan(Object cfp, Object cfp_info, ParticipantProposal [set] acceptables, NegotiationRecord [set] history, ParticipantProposal [set] proposals)
cfp
(goal mappings: icnp_evaluate_proposals.cfp)cfp_info
(goal mappings: icnp_evaluate_proposals.cfp_info)acceptables
(goal mappings: icnp_evaluate_proposals.acceptables)history
(goal mappings: icnp_evaluate_proposals.history)proposals
(goal mappings: icnp_evaluate_proposals.proposals)
icnp_evaluate_proposals
standard plan icnp_querynextroundinfo_plan(Object cfp, Object cfp_info, Boolean iterate, NegotiationRecord [set] history, AgentIdentifier [set] participants, ParticipantProposal [set] proposals)
cfp
(goal mappings: icnp_nextround_info.cfp)cfp_info
(goal mappings: icnp_nextround_info.cfp_info)iterate
(goal mappings: icnp_nextround_info.iterate)history
(goal mappings: icnp_nextround_info.history)participants
(goal mappings: icnp_nextround_info.participants)proposals
(goal mappings: icnp_nextround_info.proposals)
icnp_nextround_info
standard plan icnp_receiver_plan(Object interaction_description, InteractionState interaction_state, Boolean iterated, IMessageEvent message, Object result)
interaction_description
(goal mappings: icnp_receiver_interaction.interaction_description perform_interaction.interaction_description)interaction_state
(goal mappings: icnp_receiver_interaction.interaction_state perform_interaction.interaction_state)iterated
Default value:
Boolean.TRUE
message
(goal mappings: icnp_receiver_interaction.message perform_interaction.message)result
(goal mappings: icnp_receiver_interaction.result perform_interaction.result)
icnp_receiver_interaction
perform_interaction
standard plan ea_initiator_plan(AuctionDescription auction_description, Object cfp, Object cfp_info, InteractionState interaction_state, String language, Comparable limit, String ontology, Object result, AgentIdentifier [set] receivers)
auction_description
(goal mappings: ea_initiate.auction_description)cfp
(goal mappings: ea_initiate.cfp)cfp_info
(goal mappings: ea_initiate.cfp_info)interaction_state
(goal mappings: ea_initiate.interaction_state)language
(goal mappings: ea_initiate.language)limit
(goal mappings: ea_initiate.limit)ontology
(goal mappings: ea_initiate.ontology)result
(goal mappings: ea_initiate.result)receivers
(goal mappings: ea_initiate.receivers)
ea_initiate
standard plan ea_receiver_plan(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
interaction_description
(goal mappings: ea_receiver_interaction.interaction_description perform_interaction.interaction_description)interaction_state
(goal mappings: ea_receiver_interaction.interaction_state perform_interaction.interaction_state)message
(goal mappings: ea_receiver_interaction.message perform_interaction.message)result
(goal mappings: ea_receiver_interaction.result perform_interaction.result)
ea_receiver_interaction
perform_interaction
standard plan da_initiator_plan(AuctionDescription auction_description, Object cfp, Object cfp_info, InteractionState interaction_state, String language, String ontology, Object result, AgentIdentifier [set] receivers)
auction_description
(goal mappings: da_initiate.auction_description)cfp
(goal mappings: da_initiate.cfp)cfp_info
(goal mappings: da_initiate.cfp_info)interaction_state
(goal mappings: da_initiate.interaction_state)language
(goal mappings: da_initiate.language)ontology
(goal mappings: da_initiate.ontology)result
(goal mappings: da_initiate.result)receivers
(goal mappings: da_initiate.receivers)
da_initiate
standard plan da_receiver_plan(Object interaction_description, InteractionState interaction_state, IMessageEvent message, Object result)
interaction_description
(goal mappings: da_receiver_interaction.interaction_description perform_interaction.interaction_description)interaction_state
(goal mappings: da_receiver_interaction.interaction_state perform_interaction.interaction_state)message
(goal mappings: da_receiver_interaction.message perform_interaction.message)result
(goal mappings: da_receiver_interaction.result perform_interaction.result)
da_receiver_interaction
perform_interaction
standard plan cm_interaction_goal_creation_plan(String goaltype)
goaltype
Default value:
"cm_receiver_interaction"
cm_cancel
standard plan cm_receiver_plan(IMessageEvent message)
message
(goal mappings: cm_receiver_interaction.message perform_interaction.message)
cm_receiver_interaction
perform_interaction
standard plan cm_approve_cancel_plan(boolean result)
result
Default value:
false
cm_approve_cancel
Event Detail |
exported messageevent rp_request(String conversation-id, String language, String performative, String protocol)
conversation-id
Default value:
SFipa.createUniqueId($scope.getAgentName())
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.REQUEST
protocol
Default value:
SFipa.PROTOCOL_REQUEST
exported messageevent rp_agree(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.AGREE
protocol
Default value:
SFipa.PROTOCOL_REQUEST
exported messageevent rp_refuse(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.REFUSE
protocol
Default value:
SFipa.PROTOCOL_REQUEST
exported messageevent rp_failure(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.FAILURE
protocol
Default value:
SFipa.PROTOCOL_REQUEST
exported messageevent rp_not_understood(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.NOT_UNDERSTOOD
protocol
Default value:
SFipa.PROTOCOL_REQUEST
exported messageevent rp_inform(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.INFORM
protocol
Default value:
SFipa.PROTOCOL_REQUEST
exported messageevent cnp_cfp(String conversation-id, String language, String performative, String protocol)
conversation-id
Default value:
SFipa.createUniqueId($scope.getAgentName())
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.CFP
protocol
Default value:
SFipa.PROTOCOL_CONTRACT_NET
exported messageevent cnp_propose(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.PROPOSE
protocol
Default value:
SFipa.PROTOCOL_CONTRACT_NET
exported messageevent cnp_refuse(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.REFUSE
protocol
Default value:
SFipa.PROTOCOL_CONTRACT_NET
exported messageevent cnp_reject(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.REJECT_PROPOSAL
protocol
Default value:
SFipa.PROTOCOL_CONTRACT_NET
exported messageevent cnp_accept(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.ACCEPT_PROPOSAL
protocol
Default value:
SFipa.PROTOCOL_CONTRACT_NET
exported messageevent cnp_inform(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.INFORM
protocol
Default value:
SFipa.PROTOCOL_CONTRACT_NET
exported messageevent cnp_failure(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.FAILURE
protocol
Default value:
SFipa.PROTOCOL_CONTRACT_NET
exported messageevent cnp_not_understood(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.NOT_UNDERSTOOD
protocol
Default value:
SFipa.PROTOCOL_CONTRACT_NET
exported messageevent icnp_cfp(String conversation-id, String language, String performative, String protocol)
conversation-id
Default value:
SFipa.createUniqueId($scope.getAgentName())
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.CFP
protocol
Default value:
SFipa.PROTOCOL_ITERATED_CONTRACT_NET
exported messageevent icnp_propose(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.PROPOSE
protocol
Default value:
SFipa.PROTOCOL_ITERATED_CONTRACT_NET
exported messageevent icnp_refuse(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.REFUSE
protocol
Default value:
SFipa.PROTOCOL_ITERATED_CONTRACT_NET
exported messageevent icnp_reject(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.REJECT_PROPOSAL
protocol
Default value:
SFipa.PROTOCOL_ITERATED_CONTRACT_NET
exported messageevent icnp_accept(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.ACCEPT_PROPOSAL
protocol
Default value:
SFipa.PROTOCOL_ITERATED_CONTRACT_NET
exported messageevent icnp_inform(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.INFORM
protocol
Default value:
SFipa.PROTOCOL_ITERATED_CONTRACT_NET
exported messageevent icnp_failure(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.FAILURE
protocol
Default value:
SFipa.PROTOCOL_ITERATED_CONTRACT_NET
exported messageevent icnp_not_understood(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.NOT_UNDERSTOOD
protocol
Default value:
SFipa.PROTOCOL_ITERATED_CONTRACT_NET
exported messageevent ea_inform_start_auction(AuctionDescription content, String conversation-id, String encoding, String language, String performative, String protocol)
content
conversation-id
Default value:
SFipa.createUniqueId($scope.getAgentName())
encoding
Default value:
"begin_auction"
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.INFORM
protocol
Default value:
SFipa.PROTOCOL_ENGLISH_AUCTION
exported messageevent ea_inform_end_auction(String encoding, String language, String performative, String protocol)
encoding
Default value:
"end_auction"
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.INFORM
protocol
Default value:
SFipa.PROTOCOL_ENGLISH_AUCTION
exported messageevent ea_cfp(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.CFP
protocol
Default value:
SFipa.PROTOCOL_ENGLISH_AUCTION
exported messageevent ea_propose(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.PROPOSE
protocol
Default value:
SFipa.PROTOCOL_ENGLISH_AUCTION
exported messageevent ea_not_understood(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.NOT_UNDERSTOOD
protocol
Default value:
SFipa.PROTOCOL_ENGLISH_AUCTION
exported messageevent ea_reject_proposal(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.REJECT_PROPOSAL
protocol
Default value:
SFipa.PROTOCOL_ENGLISH_AUCTION
exported messageevent ea_accept_proposal(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.ACCEPT_PROPOSAL
protocol
Default value:
SFipa.PROTOCOL_ENGLISH_AUCTION
exported messageevent da_inform_start_auction(AuctionDescription content, String conversation-id, String encoding, String language, String performative, String protocol)
content
conversation-id
Default value:
SFipa.createUniqueId($scope.getAgentName())
encoding
Default value:
"begin_auction"
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.INFORM
protocol
Default value:
SFipa.PROTOCOL_DUTCH_AUCTION
exported messageevent da_inform_end_auction(String encoding, String language, String performative, String protocol)
encoding
Default value:
"end_auction"
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.INFORM
protocol
Default value:
SFipa.PROTOCOL_DUTCH_AUCTION
exported messageevent da_cfp(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.CFP
protocol
Default value:
SFipa.PROTOCOL_DUTCH_AUCTION
exported messageevent da_propose(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.PROPOSE
protocol
Default value:
SFipa.PROTOCOL_DUTCH_AUCTION
exported messageevent da_not_understood(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.NOT_UNDERSTOOD
protocol
Default value:
SFipa.PROTOCOL_DUTCH_AUCTION
exported messageevent da_reject_proposal(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.REJECT_PROPOSAL
protocol
Default value:
SFipa.PROTOCOL_DUTCH_AUCTION
exported messageevent da_accept_proposal(String language, String performative, String protocol)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.ACCEPT_PROPOSAL
protocol
Default value:
SFipa.PROTOCOL_DUTCH_AUCTION
messageevent cm_cancel(String performative, String protocol)
performative
Default value:
SFipa.CANCEL
protocol
Default value:
SFipa.PROTOCOL_CANCEL_META
messageevent cm_inform(String performative, String protocol)
performative
Default value:
SFipa.INFORM
protocol
Default value:
SFipa.PROTOCOL_CANCEL_META
messageevent cm_failure(String performative, String protocol)
performative
Default value:
SFipa.FAILURE
protocol
Default value:
SFipa.PROTOCOL_CANCEL_META
messageevent cm_not_understood(String performative)
performative
Default value:
SFipa.NOT_UNDERSTOOD
Expression Detail |
expression find_interaction_goal
select one $g.getName()
from IRGoal $g in $goalbase.getGoals()
where $g.hasParameter("message") &&
((IMessageEvent)$g.getParameter("message").getValue())
.getParameter(SFipa.CONVERSATION_ID).getValue().equals($convid)
|
Jadex 0.96 | ||||||||
PREV AGENT NEXT AGENT | FRAMES NO FRAMES | ||||||||
SUMMARY: | BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION | DETAIL: BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.