Jadex 0.96

jadex.testcases.planlib
Agent CNPInitiator

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

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


    Agent arguments: timeout
    timeout long
    , testcenter
    testcenter AgentIdentifier

    Test the contract net protocol.

    This agent imports the protocols capability and tests the cnp protocol. Represents the initiator in cnp 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 cnp_evaluate_proposals
              
    achievegoalref cnp_initiate
              
     
    Plan Summary
    standard plan cnp_evaluator(Object cfp, Object cfp_info, Object [set] acceptables, NegotiationRecord [set] history, Object [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

    cnp_initiate

    achievegoalref cnp_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:
    cnp_initiate in capability jadex.planlib.Protocols

    cnp_evaluate_proposals

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

    test

    standard plan test()
    Plan body:

    cnp_evaluator

    standard plan cnp_evaluator(Object cfp, 
                               Object cfp_info, 
                               Object [set] acceptables, 
                               NegotiationRecord [set] history, 
                               Object [set] proposals)
    Parameters:
    in parameter cfp (goal mappings: cnp_evaluate_proposals.cfp)
    optional in parameter cfp_info (goal mappings: cnp_evaluate_proposals.cfp_info)
    out parameterset acceptables (goal mappings: cnp_evaluate_proposals.acceptables)
    optional in parameterset history (goal mappings: cnp_evaluate_proposals.history)
    in parameterset proposals (goal mappings: cnp_evaluate_proposals.proposals)
    Plan body:
    Plan trigger:
    Goals:
    cnp_evaluate_proposals
    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.