Class NetworkGeneratorExample

  • All Implemented Interfaces:

    
    public class NetworkGeneratorExample
    
                        

    Example demonstrating the NetworkGenerator class

    • 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 main(Array<String> args)
      static Matrix starTopology(int n) Custom topology function - creates a star topology where node 0 is connected to all other nodes
      • Methods inherited from class java.lang.Object

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

      • NetworkGeneratorExample

        NetworkGeneratorExample()
    • Method Detail

      • starTopology

         static Matrix starTopology(int n)

        Custom topology function - creates a star topology where node 0 is connected to all other nodes