Class MatchingExamples

java.lang.Object
jline.examples.java.basic.MatchingExamples

public class MatchingExamples extends Object
Stochastic matching examples with the first-come-first-matched (FCFM) policy of Comte (2022), mirroring matlab/examples/basic/matching and python/examples/basic/matching. The models are built by MatchingModel.

The examples cover: - the product form of the K3, C5 and paw compatibility graphs (SolverNC) - impatient jobs with a finite buffer (SolverCTMC, checked by SolverSSA)

  • Constructor Details

    • MatchingExamples

      public MatchingExamples()
  • Method Details

    • matching_k3

      public static void matching_k3() throws Exception
      Complete graph K3 with unit arrival rates, solved by SolverNC.
      Throws:
      Exception
    • matching_c5

      public static void matching_c5() throws Exception
      Cycle C5 with unit arrival rates, solved by SolverNC.
      Throws:
      Exception
    • matching_paw_comte

      public static void matching_paw_comte() throws Exception
      The paw graph of Comte (2022), Fig. 1, solved by SolverNC.
      Throws:
      Exception
    • matching_k3_reneging

      public static void matching_k3_reneging() throws Exception
      K3 with reneging (thesis Table 6.1): the ordered-word chain solved by SolverCTMC, then simulated by SolverSSA.
      Throws:
      Exception
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception