A C D E F G H I J K L M N O P R S T U W

A

AC_CONNECT_TO_MASTER_INTERVAL - Static variable in interface alpha.AlphaConstants
how long the router waits between connection to the master
AC_CONTROL_PORT - Static variable in interface alpha.AlphaConstants
TCP port on which the master listens for commands
AC_DEFAULT_WORK_REQUEST_COUNT - Static variable in interface alpha.AlphaConstants
how many workunits a router requests by default
AC_ROUTER_LIST_REQUEST_INTERVAL - Static variable in interface alpha.AlphaConstants
how often a router updates the router list
AC_ROUTERS_PORT - Static variable in interface alpha.AlphaConstants
TCP port on which the master listens for routers
AC_TASKS_CLEANUP_INTERVAL - Static variable in interface alpha.AlphaConstants
How often the master checks for completed tasks
AC_WORK_REQ_DELAY - Static variable in interface alpha.AlphaConstants
how long a router waits between request for more work units, after the master reported no work
AC_WORK_UNITS_THRESHOLD - Static variable in interface alpha.AlphaConstants
minimum threshold of WorkUnits, before router asks for more
AC_WORKER_WORK_REQ_DELAY - Static variable in interface alpha.AlphaConstants
how long a worker waits between request for more work units, after router reported no work
AC_WORKERS_PORT - Static variable in interface alpha.AlphaConstants
TCP port on which the router listens for workers connections
accept - Variable in class particle.ParticleWorker
 
actionPerformed(ActionEvent) - Method in class particle.ParticleWorker
 
actionPerformed(ActionEvent) - Method in class particle1.ParticleWorker
 
actionPerformed(ActionEvent) - Method in class particle2.ParticleWorker
 
AddComputation - Class in master
 
AddComputation() - Constructor for class master.AddComputation
 
addWorkUnit(WorkUnit) - Method in interface edu.cuny.brooklyn.swc2.WorkQueueAccess
Adds a new WorkUnit to the queue of pending WorkUnit's for the associated computation.
alpha - package alpha
 
AlphaConstants - Interface in alpha
This interface is used to define default constants used by the master, router and worker in the SWC2 system.
AlphaMaster - Class in alpha
AlphaMaster is the first implementation of the master server in the SWC2 system.
AlphaMaster(int, int, String, Logger) - Constructor for class alpha.AlphaMaster
 
AlphaRouter - Class in alpha
AlphaRouter is the first implementation of a router in the SWC2 system.
AlphaRouter(InetAddress, int, int, Logger) - Constructor for class alpha.AlphaRouter
 
AlphaWorker - Class in alpha
AlphaWorker is the first implementation of a worker in the SWC2 system.
AlphaWorker() - Constructor for class alpha.AlphaWorker
 
AlphaWorker(InetSocketAddress) - Constructor for class alpha.AlphaWorker
 
arrayAsString(double[]) - Static method in class particle2.ParticleComputation
 

C

calg(int) - Method in class particle.ParticleWorker
 
calg(int) - Method in class particle1.ParticleWorker
 
calg(int) - Method in class particle2.ParticleWorker
 
choice - Variable in class particle.ParticleWorker
 
ClassName - Variable in class master.AddComputation
 
Computation - Interface in edu.cuny.brooklyn.swc2
Computation is the interface to be implemented by a class that will be instantiated by the SWC2 system in order to generate WorkUnit's and collect ResultUnit's.
ComputationID - Variable in class master.RemoveComputation
 
ComputationList - Class in master
 
ComputationList() - Constructor for class master.ComputationList
 
Config - Variable in class master.AddComputation
 
ControlUtil - Class in alpha
ControlUtil is a command line program used to issue commands to the an AlphaMaster server.
ControlUtil() - Constructor for class alpha.ControlUtil
 

D

data - Variable in class master.UnitWrapper
 
dDim1 - Variable in class particle.ParticleWorker
 
dDim2 - Variable in class particle.ParticleWorker
 
dDim3 - Variable in class particle.ParticleWorker
 
dDim4 - Variable in class particle.ParticleWorker
 
dDim5 - Variable in class particle.ParticleWorker
 
density - Variable in class particle.ParticleWorker
 
diffDim1max - Variable in class particle.ParticleWorker
 
diffDim2max - Variable in class particle.ParticleWorker
 
diffDim3max - Variable in class particle.ParticleWorker
 
diffDim4max - Variable in class particle.ParticleWorker
 
diffDim5max - Variable in class particle.ParticleWorker
 
Dim1 - Variable in class particle.ParticleWorker
 
Dim1g - Variable in class particle.ParticleWorker
 
Dim2 - Variable in class particle.ParticleWorker
 
Dim2g - Variable in class particle.ParticleWorker
 
Dim3 - Variable in class particle.ParticleWorker
 
Dim3g - Variable in class particle.ParticleWorker
 
Dim4 - Variable in class particle.ParticleWorker
 
Dim4g - Variable in class particle.ParticleWorker
 
Dim5 - Variable in class particle.ParticleWorker
 
Dim5g - Variable in class particle.ParticleWorker
 
dimPower - Static variable in class particle.ParticleWorker
 
dr - Variable in class particle.ParticleWorker
 

E

edu.cuny.brooklyn.swc2 - package edu.cuny.brooklyn.swc2
 
equals(Object) - Method in class edu.cuny.brooklyn.swc2.Unit
 

F

factor1 - Variable in class particle.ParticleWorker
 
factor2 - Variable in class particle.ParticleWorker
 
factor3 - Variable in class particle.ParticleWorker
 
factorial - package factorial
 
FactorialComputation - Class in factorial
 
FactorialComputation() - Constructor for class factorial.FactorialComputation
 
FactorialResultUnit - Class in factorial
 
FactorialResultUnit(WorkUnit, BigInteger) - Constructor for class factorial.FactorialResultUnit
 
FactorialWorker - Class in factorial
 
FactorialWorker() - Constructor for class factorial.FactorialWorker
 
FactorialWorker2 - Class in factorial
 
FactorialWorker2() - Constructor for class factorial.FactorialWorker2
 
FactorialWorkUnit - Class in factorial
 
FactorialWorkUnit(long, long) - Constructor for class factorial.FactorialWorkUnit
 
FactorialWorkUnit2 - Class in factorial
 
FactorialWorkUnit2(BigInteger, BigInteger) - Constructor for class factorial.FactorialWorkUnit2
 

G

g - Variable in class particle.ParticleWorker
 
gap - Variable in class particle.ParticleWorker
 
GetComputationList - Class in master
 
GetComputationList() - Constructor for class master.GetComputationList
 
getCurN() - Method in class particle.myRandom
 
getCurN() - Method in class particle1.myRandom
 
getGUI() - Method in interface edu.cuny.brooklyn.swc2.Worker
Returns a GUI component which is used to display progress and other information.
getGUI() - Method in class factorial.FactorialWorker
 
getGUI() - Method in class factorial.FactorialWorker2
 
getGUI() - Method in class particle.ParticleWorker
 
getGUI() - Method in class particle1.ParticleWorker
 
getGUI() - Method in class particle2.ParticleWorker
 
getGUI() - Method in class pingpong.PingPongWorker
Returns null, since this object does not provide a GUI component.
getPrecentageDone() - Method in interface edu.cuny.brooklyn.swc2.Worker
Returns a float which represents what precentage of the calculation has completed.
getPrecentageDone() - Method in class factorial.FactorialWorker
 
getPrecentageDone() - Method in class factorial.FactorialWorker2
 
getPrecentageDone() - Method in class particle.ParticleWorker
 
getPrecentageDone() - Method in class particle1.ParticleWorker
 
getPrecentageDone() - Method in class particle2.ParticleWorker
 
getPrecentageDone() - Method in class pingpong.PingPongWorker
 
getResultUnit() - Method in interface edu.cuny.brooklyn.swc2.Worker
Returns the ResultUnit produced by the implementing class.
getResultUnit() - Method in interface edu.cuny.brooklyn.swc2.WorkQueueAccess
Returns any available ResultUnit, or blocks if none are available.
getResultUnit() - Method in class factorial.FactorialWorker
 
getResultUnit() - Method in class factorial.FactorialWorker2
 
getResultUnit() - Method in class particle.ParticleWorker
 
getResultUnit() - Method in class particle1.ParticleWorker
 
getResultUnit() - Method in class particle2.ParticleWorker
 
getResultUnit() - Method in class pingpong.PingPongWorker
 
GetRouterList - Class in master
 
GetRouterList() - Constructor for class master.GetRouterList
 
GetWorkUnit - Class in master
 
GetWorkUnit() - Constructor for class master.GetWorkUnit
 
GetWorkUnits - Class in master
 
GetWorkUnits(int) - Constructor for class master.GetWorkUnits
 
grange - Variable in class particle.ParticleWorker
 
grdump - Variable in class particle.ParticleWorker
 
grstep - Variable in class particle.ParticleWorker
 

H

hashCode() - Method in class edu.cuny.brooklyn.swc2.Unit
 
hyprad - Variable in class particle.ParticleWorker
 

I

i - Variable in class particle.ParticleWorker
 
IDs - Variable in class master.TakeComputationList
 
in - Variable in class particle.ParticleComputation
 

J

j - Variable in class particle.ParticleWorker
 

K

k - Variable in class particle.ParticleWorker
 

L

lengthDim1 - Variable in class particle.ParticleWorker
 
lengthDim2 - Variable in class particle.ParticleWorker
 
lengthDim3 - Variable in class particle.ParticleWorker
 
lengthDim4 - Variable in class particle.ParticleWorker
 
lengthDim5 - Variable in class particle.ParticleWorker
 
loadConfiguration(Map, WorkQueueAccess, OutputStream) - Method in interface edu.cuny.brooklyn.swc2.Computation
Invoked by the SWC2 system in order to initialize the computation with the user supplied parameters.
loadConfiguration(Map, WorkQueueAccess, OutputStream) - Method in class factorial.FactorialComputation
 
loadConfiguration(Map, WorkQueueAccess, OutputStream) - Method in class particle.ParticleComputation
 
loadConfiguration(Map, WorkQueueAccess, OutputStream) - Method in class particle1.ParticleComputation
 
loadConfiguration(Map, WorkQueueAccess, OutputStream) - Method in class particle2.ParticleComputation
 
loadConfiguration(Map, WorkQueueAccess, OutputStream) - Method in class pingpong.PingPongComputation
 
logResultPileSize() - Method in class alpha.AlphaRouter
 
logWorkPileSize() - Method in class alpha.AlphaRouter
 

M

main(String[]) - Static method in class alpha.AlphaMaster
 
main(String[]) - Static method in class alpha.AlphaRouter
 
main(String[]) - Static method in class alpha.AlphaWorker
 
main(String[]) - Static method in class alpha.ControlUtil
 
master - package master
 
move() - Method in class particle.ParticleWorker
 
move() - Method in class particle1.ParticleWorker
 
myRandom - Class in particle
 
myRandom(double, int, int) - Constructor for class particle.myRandom
 
myRandom - Class in particle1
 
myRandom(double, int, int) - Constructor for class particle1.myRandom
 

N

Name - Variable in class master.AddComputation
 
Names - Variable in class master.TakeComputationList
 
ngr - Variable in class particle.ParticleWorker
 
ngrmax - Static variable in class particle.ParticleWorker
 
nmax - Static variable in class particle.ParticleWorker
 
nmcsteps - Variable in class particle.ParticleWorker
 
noneq - Variable in class particle.ParticleWorker
 
NoWork - Class in master
 
NoWork() - Constructor for class master.NoWork
 
numberDim1 - Variable in class particle.ParticleWorker
 
numberDim2 - Variable in class particle.ParticleWorker
 
numberDim3 - Variable in class particle.ParticleWorker
 
numberDim4 - Variable in class particle.ParticleWorker
 
numberDim5 - Variable in class particle.ParticleWorker
 
numParticles - Variable in class particle.ParticleWorker
 

O

order - Variable in class particle.ParticleWorker
 
order_index - Variable in class particle.ParticleWorker
 
orderArr - Variable in class particle.ParticleWorker
 
orderdump - Variable in class particle.ParticleWorker
 
out - Variable in class particle.ParticleComputation
 
overlap(int) - Method in class particle.ParticleWorker
 
overlap(int) - Method in class particle1.ParticleWorker
 

P

paintComponent(Graphics) - Method in class particle.ParticleWorker
 
paintComponent(Graphics) - Method in class particle1.ParticleWorker
 
paintComponent(Graphics) - Method in class particle2.ParticleWorker
 
parallel_snws(int) - Method in class particle.myRandom
 
parallel_snws(int) - Method in class particle1.myRandom
 
particle - package particle
 
particle1 - package particle1
 
particle2 - package particle2
 
ParticleComputation - Class in particle
 
ParticleComputation() - Constructor for class particle.ParticleComputation
 
ParticleComputation - Class in particle1
 
ParticleComputation() - Constructor for class particle1.ParticleComputation
 
ParticleComputation - Class in particle2
 
ParticleComputation() - Constructor for class particle2.ParticleComputation
 
ParticleWorker - Class in particle
 
ParticleWorker() - Constructor for class particle.ParticleWorker
 
ParticleWorker - Class in particle1
 
ParticleWorker() - Constructor for class particle1.ParticleWorker
 
ParticleWorker - Class in particle2
 
ParticleWorker() - Constructor for class particle2.ParticleWorker
 
PassID - Variable in class edu.cuny.brooklyn.swc2.Unit
 
passIDModified(int) - Method in class alpha.AlphaMaster
 
Pi - Static variable in class particle.ParticleWorker
 
pingpong - package pingpong
 
PingPongComputation - Class in pingpong
The PingPong computation is an example of how to implement a particular computation, and can be used as the basis for such.
PingPongComputation() - Constructor for class pingpong.PingPongComputation
 
PingPongResultUnit - Class in pingpong
 
PingPongResultUnit(PingPongWorkUnit) - Constructor for class pingpong.PingPongResultUnit
 
PingPongWorker - Class in pingpong
 
PingPongWorker() - Constructor for class pingpong.PingPongWorker
 
PingPongWorkUnit - Class in pingpong
 
PingPongWorkUnit(int, int, long) - Constructor for class pingpong.PingPongWorkUnit
 
post_average_accept - Variable in class particle.ParticleWorker
 
pre_accept - Variable in class particle.ParticleWorker
 
pre_average_accept - Variable in class particle.ParticleWorker
 

R

r - Variable in class particle.ParticleWorker
 
RemoveComputation - Class in master
 
RemoveComputation() - Constructor for class master.RemoveComputation
 
requestCount - Variable in class master.GetWorkUnits
 
Result - Variable in class factorial.FactorialResultUnit
 
ResultReceived - Class in master
 
ResultReceived() - Constructor for class master.ResultReceived
 
ResultsReceived - Class in master
 
ResultsReceived() - Constructor for class master.ResultsReceived
 
ResultUnit - Class in edu.cuny.brooklyn.swc2
ResultUnit is the abstract base class that must be extended by any computation which ought to operate in the SWC2 system.
ResultUnit(WorkUnit) - Constructor for class edu.cuny.brooklyn.swc2.ResultUnit
 
RetFillerSize - Variable in class pingpong.PingPongWorkUnit
Indicates the filler-size in bytes that should returned with the {link PingPongResultUnit}.
Routers - Variable in class master.TakeRouterList
 
run() - Method in class alpha.AlphaMaster
 
run() - Method in class alpha.AlphaRouter
 
run() - Method in class alpha.AlphaWorker
 
run() - Method in class factorial.FactorialComputation
 
run() - Method in class factorial.FactorialWorker
 
run() - Method in class factorial.FactorialWorker2
 
run() - Method in class particle.ParticleComputation
 
run() - Method in class particle.ParticleWorker
 
run() - Method in class particle1.ParticleComputation
 
run() - Method in class particle1.ParticleWorker
 
run() - Method in class particle2.ParticleComputation
 
run() - Method in class particle2.ParticleWorker
 
run() - Method in class pingpong.PingPongComputation
 
run() - Method in class pingpong.PingPongWorker
 

S

setWorkUnit(WorkUnit) - Method in interface edu.cuny.brooklyn.swc2.Worker
Called by the host of the Worker object, in order to provide it with a work unit to be processed.
setWorkUnit(WorkUnit) - Method in class factorial.FactorialWorker
 
setWorkUnit(WorkUnit) - Method in class factorial.FactorialWorker2
 
setWorkUnit(WorkUnit) - Method in class particle.ParticleWorker
 
setWorkUnit(WorkUnit) - Method in class particle1.ParticleWorker
 
setWorkUnit(WorkUnit) - Method in class particle2.ParticleWorker
 
setWorkUnit(WorkUnit) - Method in class pingpong.PingPongWorker
 
Shutdown - Class in master
 
Shutdown() - Constructor for class master.Shutdown
 
SpaceFiller - Variable in class pingpong.PingPongResultUnit
An array used as a filler, in order to increase the size of this object.
SpaceFiller - Variable in class pingpong.PingPongWorkUnit
An array used as a filler, in order to increase the size of this object.
start() - Method in class alpha.AlphaWorker
 
startNewPass() - Method in interface edu.cuny.brooklyn.swc2.WorkQueueAccess
Instructs the SWC2 system to discard all the pending WorkUnit's, and to increment the pass-counter for this computation.
stop() - Method in class alpha.AlphaWorker
 

T

TakeComputationList - Class in master
 
TakeComputationList() - Constructor for class master.TakeComputationList
 
TakeResultUnits - Class in master
 
TakeResultUnits() - Constructor for class master.TakeResultUnits
 
TakeRouterList - Class in master
 
TakeRouterList() - Constructor for class master.TakeRouterList
 
TakeWorkUnits - Class in master
 
TakeWorkUnits() - Constructor for class master.TakeWorkUnits
 
TaskID - Variable in class edu.cuny.brooklyn.swc2.Unit
 
TaskName - Variable in class edu.cuny.brooklyn.swc2.WorkUnit
Descriptive information regarding the task; this is automatically assigned by the SWC2 system.
toString() - Method in class edu.cuny.brooklyn.swc2.Unit
 

U

Unit - Class in edu.cuny.brooklyn.swc2
Unit is the abstract base class which is subsequently extended by WorkUnit and ResultUnit.
Unit() - Constructor for class edu.cuny.brooklyn.swc2.Unit
 
units - Variable in class master.TakeResultUnits
 
units - Variable in class master.TakeWorkUnits
 
UnitWrapper - Class in master
 
UnitWrapper(Unit) - Constructor for class master.UnitWrapper
 

W

Worker - Interface in edu.cuny.brooklyn.swc2
Worker is the interface implemented by a user's class which will perform the calculations associated with a particular computation.
WorkerClassName - Variable in class edu.cuny.brooklyn.swc2.WorkUnit
The name of the class which implements the Worker interface, and handles the derived work units.
WorkerDelay - Variable in class pingpong.PingPongWorkUnit
Indicates how long {link PingPongWorker} should wait before completing the job.
WorkQueueAccess - Interface in edu.cuny.brooklyn.swc2
WorkQueueAccess is the interface though which the user's Computation can interface with the SWC2 system.
WorkUnit - Class in edu.cuny.brooklyn.swc2
WorkUnit is the abstract base class that must be extended by any computation which ought to operate in the SWC2 system.
WorkUnit() - Constructor for class edu.cuny.brooklyn.swc2.WorkUnit
 
WorkUnitID - Variable in class edu.cuny.brooklyn.swc2.Unit
 

A C D E F G H I J K L M N O P R S T U W