Reservation Methods |
The Reservation type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddReservation |
Zaeviduje zaznam pro agenta agentID v case time. Pri nastaveni permanent = true se jedna o rezervaci ciloveho vrcholu,
tedy agent zde zustane naporad.
|
![]() | CanReserved |
Vraci true, pokud je mozne rezervovat vrchol pro agenta agentID v case time na dobu space.
|
![]() | 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.) |
![]() | GetSafeInt |
Vraci delku bezpecneho intervalu agenta agentID v case - tedy kolik ma casu, nez do vrcholu prijede nekdo dalsi.
|
![]() | GetSafeIntervalViolations |
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.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetViolations | |
![]() | IsOccupied |
Vraci odpoved na otazku, zda agent id s rozvrhem agentTimeTable dovoluje rezervaci v case time na dobu space.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |