nl.tudelft.simulation.dsol.statistics
Class Tally

java.lang.Object
  extended by nl.tudelft.simulation.event.EventProducer
      extended by nl.tudelft.simulation.jstats.statistics.StatisticsObject
          extended by nl.tudelft.simulation.jstats.statistics.Tally
              extended by nl.tudelft.simulation.dsol.statistics.Tally
All Implemented Interfaces:
Serializable, EventListener, EventListenerInterface, EventProducerInterface, Swingable

public class Tally
extends Tally

The Tally extends the tally and links this it to the dsol framework
(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser General Public License (LGPL) , no warranty.

Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:21:28 $
Author:
Peter Jacobs
See Also:
Serialized Form

Field Summary
 
Fields inherited from class nl.tudelft.simulation.jstats.statistics.Tally
BOTH_SIDE_CONFIDENCE, description, LEFT_SIDE_CONFIDENCE, max, MAX_EVENT, min, MIN_EVENT, n, N_EVENT, RIGTH_SIDE_CONFIDENCE, SAMPLE_MEAN_EVENT, SAMPLE_VARIANCE_EVENT, sampleMean, semaphore, STANDARD_DEVIATION_EVENT, sum, SUM_EVENT, varianceSum
 
Fields inherited from class nl.tudelft.simulation.jstats.statistics.StatisticsObject
filter
 
Fields inherited from class nl.tudelft.simulation.event.EventProducer
listeners
 
Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface
FIRST_POSITION, LAST_POSITION
 
Constructor Summary
Tally(String description, SimulatorInterface simulator)
          constructs a new Tally.
Tally(String description, SimulatorInterface simulator, EventProducerInterface target, EventType field)
          constructs a new Tally
 
Method Summary
protected  void endOfReplication()
          endOfReplication is invoked to store the final results
 void notify(EventInterface event)
           
 
Methods inherited from class nl.tudelft.simulation.jstats.statistics.Tally
getConfidenceInterval, getConfidenceInterval, getDescription, getMax, getMin, getN, getSampleMean, getSampleVariance, getStdDev, getSum, getTable, initialize, isInitialized, setFilter, setMax, setMin, setN, setSampleMean, setSum, toString
 
Methods inherited from class nl.tudelft.simulation.jstats.statistics.StatisticsObject
getSwingPanel
 
Methods inherited from class nl.tudelft.simulation.event.EventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tally

public Tally(String description,
             SimulatorInterface simulator)
      throws RemoteException
constructs a new Tally.

Parameters:
description - refers to the description of this Tally.
simulator - the simulator to schedule on.
Throws:
RemoteException - on network failure.

Tally

public Tally(String description,
             SimulatorInterface simulator,
             EventProducerInterface target,
             EventType field)
      throws RemoteException
constructs a new Tally

Parameters:
description - the description of this tally.
simulator - the simulator to schedule on.
target - the target on which to subscribe.
field - the field which is counted
Throws:
RemoteException - on network failure.
Method Detail

notify

public void notify(EventInterface event)
Specified by:
notify in interface EventListenerInterface
Overrides:
notify in class Tally
See Also:
#notify(nl.tudelft.simulation.event.EventInterface)

endOfReplication

protected void endOfReplication()
endOfReplication is invoked to store the final results



Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.