Graph Class |
Namespace: MAPFsimulator
The Graph type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Graph | |
![]() | Graph |
Vytvori novy graf z pole retezcu.
Delka vsech retezcu musi byt stejne dlouha (tedy graf musi byt obdelnikovy).
Predpokladame, ze g obsahuje jen povolene znaky.
|
Name | Description | |
---|---|---|
![]() | activeVertices | |
![]() | height | |
![]() | width |
Name | Description | |
---|---|---|
![]() | ComputeActiveVertices |
Spocita vrcholy, na ktere agenti mohou vstoupit (zbyvajici cast jsou prekazky).
|
![]() | ConvertForPicat |
Pretransformuje tento graf do formatu, ktery vyzaduje resic v deklarativnim modelu Picat.
|
![]() | 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.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetNeighbours |
Vraci vsechny vrcholy, ze kterych muzeme dojit z vrcholu v na jeden krok (vcetne vrcholu v samotneho).
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsObstacle |
True, pokud je na pozici [x,y] prekazka.
|
![]() | IsVertex |
Vraci true, pokud se na souradnicich [x,y] nachazi platny vrchol, na ktery muze agent vstoupit.
Cislujeme zleva doprava a shora dolu, tedy [0,0] se nachazi v levem hornim rohu.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | allowedChars |