Click or drag to resize
Reservation Class
Trida spravujici casove intervaly jednotlivych agentu - pouziti pro jednotlive vrcholy grafu.
Inheritance Hierarchy
SystemObject
  MAPFsimulatorReservation

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

The Reservation type exposes the following members.

Constructors
  NameDescription
Public methodReservation
Rezervace pro celkem maxAgents agentu, kazdy z nich bude na 1 zaznam blokovat interval delky gap.
Top
Methods
  NameDescription
Public methodAddReservation
Zaeviduje zaznam pro agenta agentID v case time. Pri nastaveni permanent = true se jedna o rezervaci ciloveho vrcholu, tedy agent zde zustane naporad.
Public methodCanReserved
Vraci true, pokud je mozne rezervovat vrchol pro agenta agentID v case time na dobu space.
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 methodGetSafeInt
Vraci delku bezpecneho intervalu agenta agentID v case - tedy kolik ma casu, nez do vrcholu prijede nekdo dalsi.
Public methodGetSafeIntervalViolations
Vraci list poruseni bezpecnych intervalu. Violation je ctverice - id agenta, cas, delka jeho bezpecneho intervalu (ktery je mensi, nez by mel byt) a id druheho agenta, ktery prijizdi bezprostredne po id.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Private methodGetViolations
Private methodIsOccupied
Vraci odpoved na otazku, zda agent id s rozvrhem agentTimeTable dovoluje rezervaci v case time na dobu space.
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
See Also