TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Proportional 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:
Jacob Sparre Andersen <[log in to unmask]>
Reply To:
Jacob Sparre Andersen <[log in to unmask]>
Date:
Tue, 4 Sep 2001 12:38:06 +0200
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (17 lines)
Rick:

> I am working on a class assignment project for which I
> require a stream of random characters.  To circumvent
> the problem of identical lists from Ada.Discrete_Random
> I devised a task which continually updates seed numbers.

I honestly can't see why you should update the seeds
"manually". If you just use a single generator and
encapsulates it in a protected type, you should get as good
random numbers as you can expect from a deterministic
system.

Jacob
--
Max brændte høj og flyvsk quiz på wc

ATOM RSS1 RSS2