Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <meta charset="utf-8">
- <style>
- body {
- background: #f3f3f3;
- color: #333;
- }
- #main-content {
- margin: 20px auto;
- width: 584px;
- font-size: 18px;
- }
- pre {
- width: 100%;
- box-sizing: border-box;
- overflow: auto;
- font-size: 16px;
- }
- </style>
- <div id="main-content">
- <h2>Mathx::Stat, a start of a statistics package</h2>
- <p>
- As I write games most of the time I needed something else than the
- SDL2::Raw package, as I am a SDL (1.2) coder. SDL from http://libsdl.org
- served the community of emulator and game hackers for years but was not
- included anymore in Perl 6, so I thought to make some polyvalent game
- mechanics without it.
- </p>
- <p>
- If you want to write a game with the Mathx::Stat package you can use
- the Variance and Estimate (Expectance) methods to differ in calculated
- variances.
- </p>
- <p>
- The fact is that you use a Population or DistributionPopulation instance
- for measuring variance on a distributed set of probabilities. You can then
- write your own, in the first place, uniformly distributed random variables
- set with it.
- </p>
- <p>
- The package was meant to support Markov strategies for calculating several
- variances and comparing them in game theory. The Probability class can be
- used for multi-variate Bayes.
- </p>
- <p>
- Later on, I will concur upon more statistical chaos theory inside the
- Mathx:::Stat package such as the popular Correlation Dimension.
- There is a Bayes::Learn package with brute force Bayesian Learning which
- uses the Bayes formula of Mathx::Stat. Game::Markov is another package
- in the make which features Time and Tick classes for making games.
- Each Time instance is a nano-,milli-,seconds based time which you can
- adjust at runtime. Game::Markov also includes control variates, antithetic
- variates and more to make fast games at initialization and runtime.
- Some classes feature a gen method whereby you can generate distributed
- (random) variables which can lead you to a game runtime of e.g. a plateau
- in a fractal landscape.
- </p>
- <p>
- OK, so we promised a lot and in a (few) months you'll have real-time
- strategiy and RPG Action classes in the Game::Markov CPAN archive.
- Note that a prototype exists in the ecosystem.
- </p>
- <p>
- That's it, enjoy !
- </p>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement