Jadex 0.96

jadex.testcases.planlib
Agent ICNPInitiator

jadex.testcases.planlib.ICNPInitiator
  • jadex.planlib.AMS
  • jadex.planlib.Protocols
  • jadex.planlib.Test

  • agent ICNPInitiator
    contains jadex.planlib.Test, jadex.planlib.AMS, jadex.planlib.Protocols


    Agent arguments: timeout
    timeout long
    , testcenter
    testcenter AgentIdentifier

    Test the iterated contract net protocol.

    This agent imports the protocols capability and tests the icnp protocol. Represents the initiator in icnp protocol.


    Belief Summary
    beliefsetref reports
              
    beliefref int testcase_cnt
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Goal Summary
    achievegoalref ams_create_agent
              
    achievegoalref ams_destroy_agent
              
    querygoalref icnp_evaluate_proposals
              
    achievegoalref icnp_initiate
              
    querygoalref icnp_nextround_info
              
     
    Plan Summary
    standard plan icnp_evaluator(Object cfp, Object cfp_info, ParticipantProposal [set] acceptables, NegotiationRecord [set] history, ParticipantProposal [set] proposals)
              
    standard plan icnp_nextround(Object cfp, Object cfp_info, Boolean iterate, NegotiationRecord [set] history, AgentIdentifier [set] participants, ParticipantProposal [set] proposals)
              
    standard plan test()
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    testcase_cnt

    beliefref int testcase_cnt
    Default fact:
    1
    Referenced from:
    testcase_cnt in capability jadex.planlib.Test

    timeout

    exported beliefref long timeout
    Default fact:
    0
    Referenced from:
    timeout in capability jadex.planlib.Test

    testcenter

    exported beliefref AgentIdentifier testcenter
    Referenced from:
    testcenter in capability jadex.planlib.Test

    reports

    beliefsetref  reports
    Referenced from:
    reports in capability jadex.planlib.Test
    Goal Detail

    ams_create_agent

    achievegoalref ams_create_agent
    Parameters:
    parameterref agentidentifier
    parameterref ams
    parameterref arguments
    parameterref configuration
    parameterref name
    parameterref start
    parameterref type
    Referenced from:
    ams_create_agent in capability jadex.planlib.AMS

    ams_destroy_agent

    achievegoalref ams_destroy_agent
    Parameters:
    parameterref agentidentifier
    parameterref ams
    Referenced from:
    ams_destroy_agent in capability jadex.planlib.AMS

    icnp_initiate

    achievegoalref icnp_initiate
    Parameters:
    parameterref cfp
    parameterref cfp_info
    parameterref executeall
    parameterref interaction_state
    parameterref language
    parameterref ontology
    parameterref timeout
    parameterset history
    parameterset receivers
    parameterset result
    Referenced from:
    icnp_initiate in capability jadex.planlib.Protocols

    icnp_evaluate_proposals

    querygoalref icnp_evaluate_proposals
    Parameters:
    parameterref cfp
    parameterref cfp_info
    parameterref evaluated
    parameterset acceptables
    parameterset history
    parameterset proposals
    Referenced from:
    icnp_evaluate_proposals in capability jadex.planlib.Protocols

    icnp_nextround_info

    querygoalref icnp_nextround_info
    Parameters:
    parameterref cfp
    parameterref cfp_info
    parameterref iterate
    parameterset history
    parameterset participants
    parameterset proposals
    Referenced from:
    icnp_nextround_info in capability jadex.planlib.Protocols
    Plan Detail

    test

    standard plan test()
    Plan body:

    icnp_evaluator

    standard plan icnp_evaluator(Object cfp, 
                                Object cfp_info, 
                                ParticipantProposal [set] acceptables, 
                                NegotiationRecord [set] history, 
                                ParticipantProposal [set] proposals)
    Parameters:
    in parameter cfp (goal mappings: icnp_evaluate_proposals.cfp)
    optional in parameter cfp_info (goal mappings: icnp_evaluate_proposals.cfp_info)
    out parameterset acceptables (goal mappings: icnp_evaluate_proposals.acceptables)
    optional in parameterset history (goal mappings: icnp_evaluate_proposals.history)
    in parameterset proposals (goal mappings: icnp_evaluate_proposals.proposals)
    Plan body:
    Plan trigger:
    Goals:
    icnp_evaluate_proposals

    icnp_nextround

    standard plan icnp_nextround(Object cfp, 
                                Object cfp_info, 
                                Boolean iterate, 
                                NegotiationRecord [set] history, 
                                AgentIdentifier [set] participants, 
                                ParticipantProposal [set] proposals)
    Parameters:
    in parameter cfp (goal mappings: icnp_nextround_info.cfp)
    optional in parameter cfp_info (goal mappings: icnp_nextround_info.cfp_info)
    out parameter iterate (goal mappings: icnp_nextround_info.iterate) - Flag indicating the decision to iterate (set to true or false to end goal).
    optional in parameterset history (goal mappings: icnp_nextround_info.history)
    inout parameterset participants (goal mappings: icnp_nextround_info.participants)
    in parameterset proposals (goal mappings: icnp_nextround_info.proposals)
    Plan body:
    Plan trigger:
    Goals:
    icnp_nextround_info
    Configuration Detail

    default

    default configuration default
    Initial Beliefs:
    testcase_cnt Initial value:  4
    Initial Plans:
    test

    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.