Class Reducer

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--Reducer
All Implemented Interfaces:
java.lang.Runnable

public class Reducer
extends java.lang.Thread

The Reducer provides simple gather/reduce + broadcast capability. The current functionality is rather limited, as the only reduction operation supported is max() using DoubleArr operands, but it should be simple to extend/subclass/modify for different purposes.

Author:
Michael S. Noble (mnoble@cfa.harvard.edu) Copyright (c) 2000 This code may only be used under the terms of GNU General Public License.

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Reducer(net.jini.space.JavaSpace space, int P)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Reducer

public Reducer(net.jini.space.JavaSpace space,
               int P)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread