Click or drag to resize
ContingencyPlan Class
Plan s alternativami - trida rozsirujici puvodni sekvenci plan na plan se stromovou strukturou. Vyuziva ho alternatvni a semi k-robustnost.
Inheritance Hierarchy
SystemObject
  MAPFsimulatorPlan
    MAPFsimulatorContingencyPlan

Namespace: MAPFsimulator
Assembly: MAPFsimulator (in MAPFsimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
internal class ContingencyPlan : Plan

The ContingencyPlan type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAddAlternatePlan
Pridani planu, ktery se napojuje na vrchol s poradovym cislem from za podminek urcenych v c.
Public methodAddMainPlan
Nahraje novy hlavni plan - List vrcholu plan.
Public methodAddVertex
Prida vrchol na konec planu.
(Inherited from Plan.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCost
Vraci pocet hran hlavni cesty - tedy pocet vrcholu - 1.
(Overrides PlanGetCost.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLenght
Vraci pocet vrcholu hlavniho planu.
(Overrides PlanGetLenght.)
Public methodGetNext
Vraci vrchol, ktery je naslednikem vrcholu s poradovym cislem vertexNumber pri zpozdeni delay.
(Overrides PlanGetNext(Int32, Int32, Int32).)
Public methodGetNth(Double)
Vrati n-ty vrchol planu. Pro n > pocet vrcholu v planu vraci posledni (cilovy) vrchol. Desetinne cislo d, udavajici poradi vrcholu je zaokrouhleno zavolanim metody DoubleToInt.ToInt.
(Inherited from Plan.)
Public methodGetNth(Int32)
Vrati n-ty vrchol planu. Pro n > pocet vrcholu v planu vraci posledni (cilovy) vrchol.
(Inherited from Plan.)
Public methodGetPath
Vraci posloupnost vrcholu, ktere tvori plan.
(Inherited from Plan.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasNextVertex
True, pokud po vrcholu v planu s poradovym cislem i nasleduje v budoucnou dalsi vrchol, ruzny od i-teho.
(Overrides PlanHasNextVertex(Int32).)
Public methodIsInMainPlan
Vraci true, pokud je cislo i poradove cislo vrcholu, ktery patri do hlavniho planu.
(Overrides PlanIsInMainPlan(Int32).)
Public methodLoadFromString
Nacte plan z textoveho retezce. Jednotlive vrcholy musi byt zapsany ve forme souradnic x,y, oddelene carkami. Mezi vrcholy se musi nachazet oddelovac "-->"
(Inherited from Plan.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides PlanToString.)
Top
Fields
  NameDescription
Protected fieldpath (Inherited from Plan.)
Top
See Also