Class NetworkVisualizationExample

  • All Implemented Interfaces:

    
    public class NetworkVisualizationExample
    
                        

    Demonstrates JUNG visualization of Network models using the plot() method.

    This example creates queueing network models and displays them using the built-in plot() method. The visualization showcases the structure of queueing networks.

    The visualization uses shape coding:

    • White right-triangle: Source nodes
    • Black left-triangle: Sink nodes
    • White rectangle: Queue stations
    • White circle: Delay stations
    • White diamond: Fork/Join nodes
    • White hexagon: ClassSwitch nodes

    All edges are black solid lines indicating routing paths.

    • 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 Network createSimpleOpenNetwork() Creates a simple open queueing network with Source, Queue, Delay, and Sink.
      static Network createForkJoinNetwork() Creates a network with a Fork-Join structure.
      static Network createMultiPathNetwork() Creates a more complex network with multiple paths.
      static Network createMixedClassNetwork() Creates a larger mixed-class network with open and closed classes.
      static Network createCentralServerModel() Creates a central server model (closed network with CPU and multiple disks).
      static void main(Array<String> args) Main method demonstrating the plot() method on Network models.
      • Methods inherited from class java.lang.Object

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

      • NetworkVisualizationExample

        NetworkVisualizationExample()
    • Method Detail

      • createSimpleOpenNetwork

         static Network createSimpleOpenNetwork()

        Creates a simple open queueing network with Source, Queue, Delay, and Sink.

        Returns:

        configured open network model

      • createForkJoinNetwork

         static Network createForkJoinNetwork()

        Creates a network with a Fork-Join structure.

        Returns:

        configured fork-join network model

      • createMultiPathNetwork

         static Network createMultiPathNetwork()

        Creates a more complex network with multiple paths.

        Returns:

        configured multi-path network model

      • createMixedClassNetwork

         static Network createMixedClassNetwork()

        Creates a larger mixed-class network with open and closed classes.

        Returns:

        configured mixed-class network model

      • createCentralServerModel

         static Network createCentralServerModel()

        Creates a central server model (closed network with CPU and multiple disks).

        Returns:

        configured central server network model

      • main

         static void main(Array<String> args)

        Main method demonstrating the plot() method on Network models.

        Parameters:
        args - command line arguments (not used)