Click or drag to resize
Graph Class
Reprezentace grafu, ve kterem se agenti pohybuji.
Inheritance Hierarchy
SystemObject
  MAPFsimulatorGraph

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

The Graph type exposes the following members.

Constructors
  NameDescription
Private methodStatic memberGraph
Public methodGraph
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.
Top
Properties
  NameDescription
Public propertyactiveVertices
Public propertyheight
Public propertywidth
Top
Methods
  NameDescription
Private methodComputeActiveVertices
Spocita vrcholy, na ktere agenti mohou vstoupit (zbyvajici cast jsou prekazky).
Public methodConvertForPicat
Pretransformuje tento graf do formatu, ktery vyzaduje resic v deklarativnim modelu Picat.
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNeighbours
Vraci vsechny vrcholy, ze kterych muzeme dojit z vrcholu v na jeden krok (vcetne vrcholu v samotneho).
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsObstacle
True, pokud je na pozici [x,y] prekazka.
Public methodIsVertex
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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberallowedChars
Top
See Also