Algorithm-MarkovChain
view release on metacpan or search on metacpan
0.03 Tue Oct 31 16:22:56 2000
- change in spew behavior, prevents infinite loops in the case
that a chainset is self-referential
0.02 Mon Oct 09 17:54:00 2000
- test for existence of chains in spew to prevent looping
0.01 Sat Sep 30 23:30:25 2000
- original version;
lib/Algorithm/MarkovChain.pm view on Meta::CPAN
=over
=item Algorithm::MarkovChain::->new() or $obj->new()
Creates a new instance of the Algorithm::MarkovChain class.
Takes one optional parameter: C<recover_symbols>
C<recover_symbols> has meaning if your symbols differ from their true
values when stringifyed. With this option enabled steps are taken to
ensure that the original values for symbols are returned by the
I<spew> method.
=item $obj->seed()
Seeds the markov chains from an example symbol stream.
Takes two parameters, one required C<symbols>, one optional C<longest>
C<symbols> presents the symbols to seed from
( run in 0.251 second using v1.01-cache-2.11-cpan-069f9db706d )