Jadex 0.941

jadex.testcases.benchmarks
Agent AgentCreation

jadex.testcases.benchmarks.AgentCreation
  • jadex.adapter.standalone.planlib.AMS_standalone

  • agent AgentCreation
    contains jadex.adapter.standalone.planlib.AMS_standalone

    Test agent creation performance.

    Creates a number of peers and prints out the time/memory it takes.


    Belief Summary
    belief int delay
              
    belief Integer max
               Could be String when started from command line, or Integer when started via goal.
    belief int num
              
    belief Long startmem
              
    belief Long starttime
              
     
    Goal Summary
    achievegoalref ams_create_agent
              
     
    Plan Summary
    standard plan start_peer()
              
     
    Initial State Summary
    default initial state  default
              
    initial state  slow (for debugging)
              
     

    Belief Detail

    delay

    belief int delay
    Default fact:
    0

    max

    belief Integer max
    Could be String when started from command line, or Integer when started via goal.

    Default fact:
    $args.length>0? (($args[0] instanceof String)? new Integer((String)$args[0]): (Integer)$args[0]) : new Integer(1000)

    num

    belief int num
    Default fact:
    $args.length>1? (Integer)$args[1] : new Integer(1)

    starttime

    belief Long starttime
    Default fact:
    $args.length>2? (Long)$args[2] : new Long(System.currentTimeMillis())

    startmem

    belief Long startmem
    Default fact:
    $args.length>3? (Long)$args[3] : new Long(Runtime.getRuntime().totalMemory()-Runtime.getRuntime().freeMemory())
    Goal Detail

    ams_create_agent

    achievegoalref ams_create_agent
    Parameters:
    parameterref agentidentifier
    parameterref ams
    parameterref configuration
    parameterref name
    parameterref type
    parameterset arguments
    Referenced from:
    ams_create_agent in capability jadex.adapter.standalone.planlib.AMS_standalone
    Plan Detail

    start_peer

    standard plan start_peer()
    Plan body:
    new StartPeerPlan()
    Initial State Detail

    default

    default initial state default
    Initial Plans:
    start_peer

    slow (for debugging)

    initial state slow (for debugging)
    Initial Beliefs:
    delay Initial value:  300
    Initial Plans:
    start_peer

    Jadex 0.941

    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-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.