Package jline.examples
Class NetworkGeneratorExample
-
- All Implemented Interfaces:
public class NetworkGeneratorExample
Example demonstrating the NetworkGenerator class
-
-
Constructor Summary
Constructors Constructor Description NetworkGeneratorExample()
-
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 -
-
Method Detail
-
starTopology
static Matrix starTopology(int n)
Custom topology function - creates a star topology where node 0 is connected to all other nodes
-
-
-
-