Class MatchingModel

java.lang.Object
jline.examples.java.basic.MatchingModel

public class MatchingModel extends Object
Stochastic matching models with first-come-first-matched (FCFM) policy (Comte 2022): the model builders behind MatchingExamples. Twins of matlab/examples/basic/matching and python/examples/basic/matching.
  • Constructor Details

    • MatchingModel

      public MatchingModel()
  • Method Details

    • matching_k3

      public static Network matching_k3()
      Complete graph K3: three open classes arrive as Poisson processes of rate 1 and any two distinct classes are compatible. By the product form each class has L_i = 1/2 jobs waiting.
      Returns:
      the configured network
    • matching_c5

      public static Network matching_c5()
      Cycle C5 with unit arrival rates: Z = 16 and L_i = 3/4.
      Returns:
      the configured network
    • matching_paw_comte

      public static Network matching_paw_comte()
      The paw graph of Comte (2022), Fig. 1: a triangle {1,2,3} with a pendant class 4 attached to 3, arrival rates (0.25, 0.25, 0.375, 0.125). Z = 6 and the mean total number waiting is 2.25.
      Returns:
      the configured network
    • matching_k3_reneging

      public static Network matching_k3_reneging()
      K3 with impatient jobs (thesis Table 6.1): capacity 10 and patience of mean 2, Erlang-2 for class C1 and exponential for C2 and C3. Patience breaks the product form, so the model is solved by SolverCTMC. Thesis values: QLen = (0.365779, 0.291260, 0.291260), Tput = 1 - reneging rate with reneging rates (0.107629, 0.145630, 0.145630).
      Returns:
      the configured network