Skip to content

BasicNetwork.reset() vs basicNetwork.reset(int) #181

Closed
@pijusn

Description

@pijusn

I have noticed BasicNetwork has two reset methods:

public void reset() {
    getRandomizer().randomize(this);
}

And one with a seed variable:

public void reset(final int seed) {
    Randomizer randomizer = getRandomizer();
    randomizer.randomize(this);
}

However, seed variable is not used and they do the same thing. It does not seem right. It seems like the second method is supposed to initialise randomiser with given weights.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions