MASON-INTEREST-L Archives

July 2009

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
Date:
Sat, 4 Jul 2009 14:15:32 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
Tomislav, MASON doesn't have a built-in probability distribution event 
scheduler. It's a bit more low-level than that but if you think it'd be
useful we should probably add something in.

If you want to hack your own, MASON lets you schedule events for any
particular time in the future, so you could generate a random number,
transformed to the appropriate distribution, and then schedule using
that value as a time.

I'd be interested in adding this in but am presently out of the country,
so it will have to wait for a week or two.

Sean

t.n.a. wrote:
> Hi everyone,
>
> I am trying to write a small simulation using mason, but am a bit
> puzzled by the apparent lack of any mention of probability
> distributions. In other words, there are events I would like to
> schedule with gamma, exponential or other probability distributions,
> but there's no mention of it on the list or in the documentation.
> There are 3rd party libraries which do this (at least for some
> distributions: I've yet to find a gamma distribution generator), but
> it feels like such a core simulation concept that I'm surprised it's
> not a part of every simulation package.
> My question, therefore, is: how do you generate events according to,
> say, a gamma probability distribution?
>
> Cheers,
> Tomislav
>
> --
> http://www.PanBI.org - business intelligence everywhere!

ATOM RSS1 RSS2