RandomStrategy.__init__#
- RandomStrategy.__init__(spread=False, seed=None)[source]
Initializes the Random placement strategy.
- Parameters:
spread (bool, optional) – Whether to spread the services across different nodes. Defaults to False.
seed (int | None, optional) – The seed for the random number generator. Defaults to None.