Click or drag to resize
Form1GetShuffleList Method
Vraci list s indexy [0, capacity - 1] v nahodnem poradi, pokud je swapping = true a ve vzestupnem poradi jinak. Pouzivame pro nahodny vyber n agentu do instance.

Namespace: MAPFsimulator
Assembly: MAPFsimulator (in MAPFsimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
internal List<int> GetShuffleList(
	int capacity,
	IntGenerator intGen,
	bool swapping
)

Parameters

capacity
Type: SystemInt32

[Missing <param name="capacity"/> documentation for "M:MAPFsimulator.Form1.GetShuffleList(System.Int32,MAPFsimulator.IntGenerator,System.Boolean)"]

intGen
Type: MAPFsimulatorIntGenerator

[Missing <param name="intGen"/> documentation for "M:MAPFsimulator.Form1.GetShuffleList(System.Int32,MAPFsimulator.IntGenerator,System.Boolean)"]

swapping
Type: SystemBoolean

[Missing <param name="swapping"/> documentation for "M:MAPFsimulator.Form1.GetShuffleList(System.Int32,MAPFsimulator.IntGenerator,System.Boolean)"]

Return Value

Type: ListInt32

[Missing <returns> documentation for "M:MAPFsimulator.Form1.GetShuffleList(System.Int32,MAPFsimulator.IntGenerator,System.Boolean)"]

See Also