p3j.gui.dialogs.execstatus
Class ExecutionProgressInstrumenter

java.lang.Object
  extended by p3j.gui.dialogs.execstatus.ExecutionProgressInstrumenter
All Implemented Interfaces:
james.core.experiments.instrumentation.computation.IComputationInstrumenter, james.core.experiments.instrumentation.IInstrumenter, Serializable

public class ExecutionProgressInstrumenter
extends Object
implements james.core.experiments.instrumentation.computation.IComputationInstrumenter

Instruments PPPM simulations with an observer that displays the progress to the user.

Author:
Christina Bohk, Roland Ewald
See Also:
Serialized Form

Constructor Summary
ExecutionProgressInstrumenter()
          Instantiates a new execution progress instrumenter.
ExecutionProgressInstrumenter(Integer numOfTrials)
          Instantiates a new execution progress instrumenter.
 
Method Summary
static void cleanObservers()
          Cleans list of observers.
 List<? extends james.core.observe.IObserver> getInstantiatedObservers()
           
 int getNumberOfTrials()
           
 void instrumentComputation(james.core.experiments.tasks.IComputationTask computationTask)
           
 void setNumberOfTrials(int numberOfTrials)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionProgressInstrumenter

public ExecutionProgressInstrumenter()
Instantiates a new execution progress instrumenter.


ExecutionProgressInstrumenter

public ExecutionProgressInstrumenter(Integer numOfTrials)
Instantiates a new execution progress instrumenter.

Parameters:
numOfTrials - the num of trials
Method Detail

instrumentComputation

public void instrumentComputation(james.core.experiments.tasks.IComputationTask computationTask)
Specified by:
instrumentComputation in interface james.core.experiments.instrumentation.computation.IComputationInstrumenter

getInstantiatedObservers

public List<? extends james.core.observe.IObserver> getInstantiatedObservers()
Specified by:
getInstantiatedObservers in interface james.core.experiments.instrumentation.IInstrumenter

cleanObservers

public static void cleanObservers()
Cleans list of observers.


getNumberOfTrials

public int getNumberOfTrials()

setNumberOfTrials

public void setNumberOfTrials(int numberOfTrials)


Copyright © 2012. All Rights Reserved.