Plan Class |
Namespace: MAPFsimulator
The Plan type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Plan | |
![]() | Plan |
Vytvori prazdny plan bez vrcholu.
|
![]() | Plan(ListVertex) |
Vytvori novy plan z listu vrcholu uvedenych v path.
|
Name | Description | |
---|---|---|
![]() | AddVertex |
Prida vrchol na konec planu.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetCost |
Vraci pocet hran cesty v planu - to je pocet vrcholu - 1.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLenght |
Vraci pocet vrcholu planu.
|
![]() | GetNext |
Vraci vrchol, ktery je naslednikem vrcholu s poradovym cislem vertexNumber pri zpozdeni delay.
|
![]() | GetNth(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.
|
![]() | GetNth(Int32) |
Vrati n-ty vrchol planu. Pro n > pocet vrcholu v planu vraci posledni (cilovy) vrchol.
|
![]() | GetPath |
Vraci posloupnost vrcholu, ktere tvori plan.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HasNextVertex |
True, pokud po vrcholu v planu s poradovym cislem i nasleduje v budoucnou dalsi vrchol, ruzny od i-teho.
|
![]() | IsInMainPlan |
Vraci true, pokud je vrchol, ktery je vracen po zavolani metody GetNth(i), soucasti hlavniho planu.
|
![]() | LoadFromString |
Nacte plan z textoveho retezce.
Jednotlive vrcholy musi byt zapsany ve forme souradnic x,y, oddelene carkami.
Mezi vrcholy se musi nachazet oddelovac "-->"
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | (Overrides ObjectToString.) |