nl.tudelft.simulation.dsol.statistics
Class Counter
java.lang.Object
nl.tudelft.simulation.event.EventProducer
nl.tudelft.simulation.jstats.statistics.StatisticsObject
nl.tudelft.simulation.jstats.statistics.Counter
nl.tudelft.simulation.dsol.statistics.Counter
- All Implemented Interfaces:
- Serializable, EventListener, EventListenerInterface, EventProducerInterface, Swingable
public class Counter
- extends Counter
The counter extends the counter 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
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 |
Counter
public Counter(String description,
SimulatorInterface simulator)
throws RemoteException
- constructs a new Counter
- Parameters:
description
- refers to the description of this countersimulator
- the simulator
- Throws:
RemoteException
- on network failure
Counter
public Counter(String description,
SimulatorInterface simulator,
EventProducerInterface target,
EventType field)
throws RemoteException
- constructs a new Counter
- Parameters:
description
- the descriptionsimulator
- the simulator of this modeltarget
- the target on which to countfield
- the field which is counted
- Throws:
RemoteException
- on network failure
notify
public void notify(EventInterface event)
- Specified by:
notify
in interface EventListenerInterface
- Overrides:
notify
in class Counter
- 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.