void SetLearnerRandomGen_bn ( learner_bn*  learner,   randgen_ns*  randgen )

Sets the algorithm to use for generating random numbers during learning.

You only need to call this function if you need advanced control of the random aspects of learning, for example, if you need to deterministically set the random sequence used for learning. By default, upon construction, the learner uses a very good algorithm that is both efficient and has a very large repetition cycle.

Version:

NOTICE:Not yet released.

See also:

NewRandomGenerator_ns    Constructs the randgen_ns
LearnCPTs_bn    Performs the learning using this generator