Package jline.examples.java.basic
Class MatchingExamples
java.lang.Object
jline.examples.java.basic.MatchingExamples
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidCycle C5 with unit arrival rates, solved by SolverNC.static voidComplete graph K3 with unit arrival rates, solved by SolverNC.static voidK3 with reneging (thesis Table 6.1): the ordered-word chain solved by SolverCTMC, then simulated by SolverSSA.static voidThe paw graph of Comte (2022), Fig.
-
Constructor Details
-
MatchingExamples
public MatchingExamples()
-
-
Method Details
-
matching_k3
Complete graph K3 with unit arrival rates, solved by SolverNC.- Throws:
Exception
-
matching_c5
Cycle C5 with unit arrival rates, solved by SolverNC.- Throws:
Exception
-
matching_paw_comte
The paw graph of Comte (2022), Fig. 1, solved by SolverNC.- Throws:
Exception
-
matching_k3_reneging
K3 with reneging (thesis Table 6.1): the ordered-word chain solved by SolverCTMC, then simulated by SolverSSA.- Throws:
Exception
-
main
- Throws:
Exception
-