planet.test.serialize
Class SerializeNetwork

java.lang.Object
  extended byplanet.generic.commonapi.GenericApp
      extended byplanet.test.serialize.SerializeNetwork

public class SerializeNetwork
extends GenericApp

Shows the way to serialize the whole network.

Author:
Ruben Mondejar, Jordi Pujol

Constructor Summary
SerializeNetwork()
          Builds a network based with events file "test_join1000d.txt" and serialize it to file "test_1000.dat".
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class planet.generic.commonapi.GenericApp
printNetwork, restart, start, timeElapsedInSeconds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializeNetwork

public SerializeNetwork()
                 throws InitializationException
Builds a network based with events file "test_join1000d.txt" and serialize it to file "test_1000.dat".

Throws:
InitializationException - if the events file is not found.
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args - Nothing waiting.