Simulation::DiscreteEvent::Sink - collect information about customers that leaving system
$sink = $model->add( 'Simulation::DiscreteEvent::Sink', allowed_events => [ qw(served rejected) ], );
This class is descendant of Simulation::DiscreteEvent::Server and implements Simulation::DiscreteEvent::Recorder role. Purpose of this class is collecting statistics about customers leaving the system.
This class doesn't implement its own methods, see Simulation::DiscreteEvent::Recorder documentation to get the list of available methods.
Class has one attribute that may be passed to constructor.
Reference to an array with names of allowed events. If attribute is not defined, all events are accepted.
<zwon at cpan.org>
Please see documentation for Simulation::DiscreteEvent
Copyright 2010 Pavel Shaydo.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.