Jadex 0.96

jadex.testcases.planlib
Agent ICNPReceiver

jadex.testcases.planlib.ICNPReceiver
  • jadex.planlib.Protocols

  • agent ICNPReceiver
    contains jadex.planlib.Protocols


    Agent arguments:
    offer int

    execute boolean

    Represents the participant in icnp protocol.


    Belief Summary
    exported belief boolean execute
               Flag to indicate if execution should be successful.
    beliefref IFilter icnp_filter
               The filter for deciding which icnp messages are handled in this capability.
    exported belief int offer
               The offer that should be made in the proposal.
     
    Goal Summary
    achievegoalref icnp_execute_task
              
    querygoalref icnp_make_proposal
              
    performgoalref icnp_receiver_interaction
              
     
    Plan Summary
    standard plan cnp_execute_task_plan(Object proposal, Object proposal_info, Object result)
              
    standard plan cnp_make_proposal_plan(Object cfp, Object proposal, Object proposal_info)
              
    standard plan negotiation_finished_plan(InteractionState interaction_state, Object result)
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    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

    icnp_filter

    beliefref IFilter icnp_filter
    The filter for deciding which icnp messages are handled in this capability.

    Default fact:
    IFilter.NEVER
    Referenced from:
    icnp_filter in capability jadex.planlib.Protocols
    Goal Detail

    icnp_receiver_interaction

    performgoalref icnp_receiver_interaction
    Parameters:
    parameterref interaction_description
    parameterref interaction_state
    parameterref message
    parameterref result
    Referenced from:
    icnp_receiver_interaction in capability jadex.planlib.Protocols

    icnp_execute_task

    achievegoalref icnp_execute_task
    Parameters:
    parameterref initiator
    parameterref proposal
    parameterref proposal_info
    parameterref result
    Referenced from:
    icnp_execute_task in capability jadex.planlib.Protocols

    icnp_make_proposal

    querygoalref icnp_make_proposal
    Parameters:
    parameterref cfp
    parameterref initiator
    parameterref proposal
    parameterref proposal_info
    Referenced from:
    icnp_make_proposal in capability jadex.planlib.Protocols
    Plan Detail

    cnp_make_proposal_plan

    standard plan cnp_make_proposal_plan(Object cfp, 
                                        Object proposal, 
                                        Object proposal_info)
    Parameters:
    in parameter cfp (goal mappings: icnp_make_proposal.cfp)
    in parameter proposal (goal mappings: icnp_make_proposal.proposal)
    in parameter proposal_info (goal mappings: icnp_make_proposal.proposal_info)
    Plan body:
    Plan trigger:
    Goals:
    icnp_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: icnp_execute_task.proposal)
    optional in parameter proposal_info (goal mappings: icnp_execute_task.proposal_info)
    optional in parameter result (goal mappings: icnp_execute_task.result)
    Plan body:
    Plan trigger:
    Goals:
    icnp_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:
    icnp_receiver_interaction
    Configuration Detail

    default

    default configuration default
    Initial Beliefs:
    icnp_filter Initial value:  IFilter.ALWAYS

    Jadex 0.96

    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.