Test::Stochastic

Description

Test::Stochastic is a Perl module to check probabilities of randomized methods. SYNOPSIS use Test::Stochastic qw(stochastic_ok); stochastic_ok sub { ...random sub...}, {a => 0.4, b => 0.6}; stochastic_ok {a => 0.4, b => 0.6}, sub { ...random sub...}; Test::Stochastic::setup(times => 100, tolerence => 0.1); This module can be used to check the probability distribution of answers given by a method. The code fragments in the synopsis above check that the subroutine passed to stochastic_ok returns a with probability 0.4, and b with probability 0.6. This module will work only if the return values are numbers or strings. Future versions will handle references as well..

Teststochastic - Perl Module - Check - Module - Stochastic - Sub - Randomized - Perl - Libraries - Programming

Published By:Abhijit Mahabal

License Type:Freeware

Date Added:22 October, 2010

Version:0.03

Price:Free

Downloads:53

Size:4.1 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

Data::Encrypted is a Perl module to transparently store encrypted data via RSA. SYNOPSIS # functional interface: use Data::Encrypted file => "./.

DateAug 12, 2010

AuthorAaron J Mackey

Size7.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

XML::Generator::vCard is a Perl module that can generate SAX2 events for vCard 3.

DateOct 4, 2010

AuthorAaron Straup Cope

Size7.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

WWW::Webrobot::pod::Testplan is a Perl module that helps you on how to write a test plan for webrobot. A test plan is a list of elements. An element itself may be a request, a (sub) test plan, an include or a cookie control command.

DateAug 25, 2010

AuthorABAS Software AG

Size98.3 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Games::SGF::Tournament is a Perl module for tournament statistics generator.

DateOct 6, 2010

AuthorAl Nikolov

Size12.3 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

AI::FuzzyInference is a Perl module to implement a Fuzzy Inference System.

DateOct 28, 2010

AuthorAla Qumsieh

Size10.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming