Class AgentModelExamples

  • All Implemented Interfaces:

    
    public class AgentModelExamples
    
                        

    Examples 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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static void ag_tandem_open() Open tandem queue (M/M/1 -> M/M/1) example.
      static void ag_closed_network() Closed network with two PS queues.
      static void ag_multiclass_closed() Multiclass closed network.
      static void ag_jackson_network() Jackson network with probabilistic routing.
      static void ag_gnetwork() G-network (Gelenbe network) with negative customers.
      static void main(Array<String> args) Run all agent model examples.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AgentModelExamples

        AgentModelExamples()
    • 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

      • main

         static void main(Array<String> args)

        Run all agent model examples.

        Parameters:
        args - command line arguments (unused)