Class AgentModelExamples
-
- All Implemented Interfaces:
public class AgentModelExamplesExamples demonstrating MAM with RCAT/INAP method for agent-based analysis. The RCAT (Reversed Compound Agent Theorem) algorithm decomposes queueing networks into interacting stochastic processes. INAP (Iterative Numerical Approximation Procedure) efficiently solves the resulting fixed-point equations. References: - Marin and Rota-Bulo', "A Mean-Field Analysis of a Class of Interactive Distributed Systems", MASCOTS 2009 - Harrison and Llado, "Stochastic bounds and product form solutions using RCAT", ICPE 2011
-
-
Constructor Summary
Constructors Constructor Description AgentModelExamples()
-
Method Summary
Modifier and Type Method Description static voidag_tandem_open()Open tandem queue (M/M/1 -> M/M/1) example. static voidag_closed_network()Closed network with two PS queues. static voidag_multiclass_closed()Multiclass closed network. static voidag_jackson_network()Jackson network with probabilistic routing. static voidag_gnetwork()G-network (Gelenbe network) with negative customers. static voidmain(Array<String> args)Run all agent model examples. -
-
Method Detail
-
ag_tandem_open
static void ag_tandem_open()
Open tandem queue (M/M/1 -> M/M/1) example. Demonstrates MAM with INAP method on a simple open network with two queues in series. Compares results against analytical M/M/1 formulas and MVA.
-
ag_closed_network
static void ag_closed_network()
Closed network with two PS queues. Demonstrates MAM with INAP method on a closed queueing network with processor-sharing discipline. Compares results against MVA and CTMC.
-
ag_multiclass_closed
static void ag_multiclass_closed()
Multiclass closed network. Demonstrates MAM with INAP method on a multiclass closed network. RCAT creates separate processes for each (station, class) pair.
-
ag_jackson_network
static void ag_jackson_network()
Jackson network with probabilistic routing. Demonstrates MAM with INAP method on an open Jackson network with feedback routing. RCAT models job transfers as synchronization actions between processes.
-
ag_gnetwork
static void ag_gnetwork()
G-network (Gelenbe network) with negative customers. Demonstrates MAM with INAP method on a G-network where negative customers (signals) remove jobs from queues. This models scenarios like job cancellations or service interrupts. Reference: Gelenbe, E. (1991). "Product-form queueing networks with negative and positive customers", Journal of Applied Probability
-
-
-
-