Click or drag to resize
ContigencyExecution Class
Exekuce planu, s upravami pro stromove plany. Oproti klasicke exekuci musime hlidat vypocet abstraktnich pozic nasledniku - v normalnim pripade se jedna vzdy o posun o 1, zde to muze byt vic (pri presunu z hlavni na alternativni cestu)
Inheritance Hierarchy
SystemObject
  MAPFsimulatorExecution
    MAPFsimulatorContigencyExecution

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

The ContigencyExecution type exposes the following members.

Constructors
  NameDescription
Public methodContigencyExecution
Initializes a new instance of the ContigencyExecution class
Top
Methods
  NameDescription
Protected methodCurrentSpeed
Na zaklade aktualniho zpozdeni agenta i v planu p vraci poradove cislo vrcholu, do ktereho agent pojede. Tedy za normalnich okolnosti se pohybuje po hlavnim planu (vzdy o 1), v pripade, ze prejizdi na alternativni plan, tak se pomoci teto metody vypocita rozdil poradovych cisel, o ktere se musi agent posunout, aby dale pokracoval v alternativnim planu.
(Overrides ExecutionCurrentSpeed(Int32, Plan).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteSolution
Provede exekuci planu ulozenych v listu plans.
(Inherited from Execution.)
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsSwappingConflict
Vraci true, pokud byl v planech agentu v case time detekovan konflikt vymeny vrcholu.
(Inherited from Execution.)
Protected methodIsVertexConflict
Vraci true, pokud ma agentID s planem p v case t vrcholovy konflikt s jinym agentem.
(Inherited from Execution.)
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.)
Private methodTypOfConf
Rozlisuje, jaky typ konfliktu mezi agenty nastal (pro contigency robustnost).
(Inherited from Execution.)
Protected methodWillDelay
Vraci true, pokud se agentID v planu p v case t opozdi.
(Overrides ExecutionWillDelay(Int32, Plan, Int32).)
Top
Fields
  NameDescription
Protected fieldagents (Inherited from Execution.)
Public fieldcolTime (Inherited from Execution.)
Public fieldcolType (Inherited from Execution.)
Protected fieldconfV (Inherited from Execution.)
Protected fielddelay (Inherited from Execution.)
Protected fieldmaxTime (Inherited from Execution.)
Protected fieldpositionsInTime (Inherited from Execution.)
Protected fieldswappingConflict (Inherited from Execution.)
Protected fieldvertexConflict (Inherited from Execution.)
Top
See Also