|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgenopt.simulation.SimulationThread
public class SimulationThread
Object for creating a thread that executes a simulation.
The method Optimizer.getF(Point[], boolean)
makes instances of this class to parallelize the simulations.
This project was carried out at:
and supported byGenOpt Copyright (c) 1998-2011, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
| Field Summary | |
|---|---|
protected java.lang.Exception |
exc
The Exception exception |
protected static java.util.concurrent.atomic.AtomicInteger |
iExc
The number of exceptions that have been accumulated |
protected java.lang.IllegalAccessException |
illAccExc
The IllegalAccessException exception |
protected java.lang.NoSuchMethodException |
noSucMetExc
The NoSuchMethodException exception |
protected Optimizer |
opt
The reference to the GenOpt Optimizer instance |
protected OptimizerException |
optExc
The OptimizerException exception |
protected SimulationInputException |
simInpExc
The SimulationInputException exception |
protected Point |
x
The point to be evaluated |
| Constructor Summary | |
|---|---|
SimulationThread(Optimizer optimizer,
Point poi)
Constructor. |
|
| Method Summary | |
|---|---|
void |
run()
Runs the simulation. |
void |
throwStoredException()
Throws all exceptions that have been catched when running run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Point x
protected Optimizer opt
protected static java.util.concurrent.atomic.AtomicInteger iExc
protected SimulationInputException simInpExc
protected OptimizerException optExc
protected java.lang.NoSuchMethodException noSucMetExc
protected java.lang.IllegalAccessException illAccExc
protected java.lang.Exception exc
| Constructor Detail |
|---|
public SimulationThread(Optimizer optimizer,
Point poi)
optimizer - reference to the optimizer instancepoi - the point to be evaluated| Method Detail |
|---|
public void run()
throwStoredException
run in interface java.lang.Runnable
public void throwStoredException()
throws SimulationInputException,
OptimizerException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.Exception
run.
SimulationInputException
OptimizerException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||