gps.toolbox
Class EventGen4BT

java.lang.Object
  extended by gps.toolbox.EventGen4BT

public class EventGen4BT
extends java.lang.Object

generates events configuration file for BT simulation

Version:
1.0, 7/20/2005
Author:
Weishuai Yang

Constructor Summary
EventGen4BT()
          dummy constructor
 
Method Summary
static void gen(int eventnum, double interval, int pnum, int poffset, int seed, java.lang.String f)
          generate events distribution configuration file
static void main(java.lang.String[] args)
          main entrance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventGen4BT

public EventGen4BT()
dummy constructor

Method Detail

gen

public static void gen(int eventnum,
                       double interval,
                       int pnum,
                       int poffset,
                       int seed,
                       java.lang.String f)
generate events distribution configuration file

Parameters:
eventnum - total document number
interval - time interval between events(seconds)
pnum - number of peer agents
poffset - offset of peer agents, i.e. the first agent id of peer node
seed - random seed
f - output file

main

public static void main(java.lang.String[] args)
main entrance

Parameters:
args - command line parameters