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.
Pavel Shaydo, <zwon at cpan.org>
<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.
To install Simulation::DiscreteEvent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Simulation::DiscreteEvent
CPAN shell
perl -MCPAN -e shell install Simulation::DiscreteEvent
For more information on module installation, please visit the detailed CPAN module installation guide.