Class LambdaCreationAgent

java.lang.Object
jadex.micro.helloworld.LambdaCreationAgent

public class LambdaCreationAgent extends Object
Agent creation benchmark.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static void
    createAgent(int max, int num, Long smem, Long stime)
     
    protected static void
    deletePeers(int cnt, long killstarttime, double dur, double pera, long omem, double upera, int max)
    Delete all peers from last-1 to first.
    protected static void
    killLastPeer(int max, long killstarttime, double dur, double pera, long omem, double upera)
    Kill the last peer and print out the results.
    static void
    main(String[] args)
    Main for testing.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LambdaCreationAgent

      public LambdaCreationAgent()
  • Method Details

    • main

      public static void main(String[] args)
      Main for testing.
    • createAgent

      protected static void createAgent(int max, int num, Long smem, Long stime)
    • deletePeers

      protected static void deletePeers(int cnt, long killstarttime, double dur, double pera, long omem, double upera, int max)
      Delete all peers from last-1 to first.
      Parameters:
      cnt - The highest number of the agent to kill.
    • killLastPeer

      protected static void killLastPeer(int max, long killstarttime, double dur, double pera, long omem, double upera)
      Kill the last peer and print out the results.