|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectparticle2.ParticleComputation
public class ParticleComputation
Constructor Summary | |
---|---|
ParticleComputation()
|
Method Summary | |
---|---|
static java.lang.String |
arrayAsString(double[] arr)
|
void |
loadConfiguration(java.util.Map config,
WorkQueueAccess wqa,
java.io.OutputStream os)
Invoked by the SWC2 system in order to initialize the computation with the user supplied parameters. |
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParticleComputation()
Method Detail |
---|
public static java.lang.String arrayAsString(double[] arr)
public void loadConfiguration(java.util.Map config, WorkQueueAccess wqa, java.io.OutputStream os) throws java.lang.Exception
Computation
loadConfiguration
in interface Computation
config
- The key/value pairs passed as initialization values for the computation.wqa
- The object through which the computation will submit work units and collect result units.os
- An output stream opened by the swc2 system, to be used by the computation for any output.
java.lang.Exception
- Any exception during initialization will caught by the swc2 system
and the computation will be terminated.WorkQueueAccess
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |