Click or drag to resize
ContigencyExecutionCurrentSpeed Method
Na zaklade aktualniho zpozdeni agenta i v planu p vraci poradove cislo vrcholu, do ktereho agent pojede. Tedy za normalnich okolnosti se pohybuje po hlavnim planu (vzdy o 1), v pripade, ze prejizdi na alternativni plan, tak se pomoci teto metody vypocita rozdil poradovych cisel, o ktere se musi agent posunout, aby dale pokracoval v alternativnim planu.

Namespace: MAPFsimulator
Assembly: MAPFsimulator (in MAPFsimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
protected override double CurrentSpeed(
	int i,
	Plan p
)

Parameters

i
Type: SystemInt32

[Missing <param name="i"/> documentation for "M:MAPFsimulator.ContigencyExecution.CurrentSpeed(System.Int32,MAPFsimulator.Plan)"]

p
Type: MAPFsimulatorPlan

[Missing <param name="p"/> documentation for "M:MAPFsimulator.ContigencyExecution.CurrentSpeed(System.Int32,MAPFsimulator.Plan)"]

Return Value

Type: Double

[Missing <returns> documentation for "M:MAPFsimulator.ContigencyExecution.CurrentSpeed(System.Int32,MAPFsimulator.Plan)"]

See Also