Click or drag to resize
AStarSearchPath Method
Hleda nejkratsi cestu pro agenta a v grafu g s minimalni delkou minL a startovnim casem startTime. Vysledna cesta musi splnovat vsechna vsechny podminky z mnoziny omezeni c a musi skoncit do casu maxDepth. Jako heuristicka funkce je pouzita vzdalenost vrcholu v metrice Manhattan.

Namespace: MAPFsimulator
Assembly: MAPFsimulator (in MAPFsimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Plan SearchPath(
	Agent a,
	Graph g,
	int minL,
	HashSet<Constraint> c,
	int startTime,
	int maxDepth
)

Parameters

a
Type: MAPFsimulatorAgent

[Missing <param name="a"/> documentation for "M:MAPFsimulator.AStar.SearchPath(MAPFsimulator.Agent,MAPFsimulator.Graph,System.Int32,System.Collections.Generic.HashSet{MAPFsimulator.Constraint},System.Int32,System.Int32)"]

g
Type: MAPFsimulatorGraph

[Missing <param name="g"/> documentation for "M:MAPFsimulator.AStar.SearchPath(MAPFsimulator.Agent,MAPFsimulator.Graph,System.Int32,System.Collections.Generic.HashSet{MAPFsimulator.Constraint},System.Int32,System.Int32)"]

minL
Type: SystemInt32

[Missing <param name="minL"/> documentation for "M:MAPFsimulator.AStar.SearchPath(MAPFsimulator.Agent,MAPFsimulator.Graph,System.Int32,System.Collections.Generic.HashSet{MAPFsimulator.Constraint},System.Int32,System.Int32)"]

c
Type: System.Collections.GenericHashSetConstraint

[Missing <param name="c"/> documentation for "M:MAPFsimulator.AStar.SearchPath(MAPFsimulator.Agent,MAPFsimulator.Graph,System.Int32,System.Collections.Generic.HashSet{MAPFsimulator.Constraint},System.Int32,System.Int32)"]

startTime
Type: SystemInt32

[Missing <param name="startTime"/> documentation for "M:MAPFsimulator.AStar.SearchPath(MAPFsimulator.Agent,MAPFsimulator.Graph,System.Int32,System.Collections.Generic.HashSet{MAPFsimulator.Constraint},System.Int32,System.Int32)"]

maxDepth
Type: SystemInt32

[Missing <param name="maxDepth"/> documentation for "M:MAPFsimulator.AStar.SearchPath(MAPFsimulator.Agent,MAPFsimulator.Graph,System.Int32,System.Collections.Generic.HashSet{MAPFsimulator.Constraint},System.Int32,System.Int32)"]

Return Value

Type: Plan
Plan obsahujici nejkratsi cestu.
See Also