Click or drag to resize
Plan Methods

The Plan type exposes the following members.

Methods
  NameDescription
Public methodAddVertex
Prida vrchol na konec planu.
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 cesty v planu - to je pocet vrcholu - 1.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLenght
Vraci pocet vrcholu planu.
Public methodGetNext
Vraci vrchol, ktery je naslednikem vrcholu s poradovym cislem vertexNumber pri zpozdeni delay.
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.
Public methodGetNth(Int32)
Vrati n-ty vrchol planu. Pro n > pocet vrcholu v planu vraci posledni (cilovy) vrchol.
Public methodGetPath
Vraci posloupnost vrcholu, ktere tvori 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.
Public methodIsInMainPlan
Vraci true, pokud je vrchol, ktery je vracen po zavolani metody GetNth(i), soucasti hlavniho planu.
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 "-->"
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides ObjectToString.)
Top
See Also