SeedRandom Sub Procedure

Startpage
Overview
Index
HAPI
   |
   HAPI.Domain
      |
      SeedRandom(seed As Long)

Syntax

Sub Procedure SeedRandom(seed As Long)

Description

The configurations generated by simulate are not really random. Tey are generated using a pseudorandom number generator producing a sequence of numbers that although it appears random is actually completely deterministic. To change the starting point for the generator, use the following method. Seed the random generator located on Domain with seed.

HUGIN Expert A/S, 2008 - comments to activex@hugin.com