Class KEdgeConnectedComponentsWang

    • Method Detail

      • setSeed

        public void setSeed​(long seed)
        Description copied from interface: RandomizedAlgorithm
        Sets the seed for the random number generator.

        The algorithm will use the same seed for the random number generator, in order to perform deterministically. Note that if methods of the algorithm are called multiple times, the seed should be set before each call.

        Specified by:
        setSeed in interface RandomizedAlgorithm
        Parameters:
        seed - the seed for the random number generator.