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: MAPFsimulatorAssembly: MAPFsimulator (in MAPFsimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntaxinternal List<int> GetShuffleList(
int capacity,
IntGenerator intGen,
bool swapping
)
Friend Function GetShuffleList (
capacity As Integer,
intGen As IntGenerator,
swapping As Boolean
) As List(Of Integer)
internal:
List<int>^ GetShuffleList(
int capacity,
IntGenerator^ intGen,
bool swapping
)
internal member GetShuffleList :
capacity : int *
intGen : IntGenerator *
swapping : bool -> List<int>
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