yawning_titan.networks.network_creator.create_star#

yawning_titan.networks.network_creator.create_star(first_layer_size=8, group_size=5, group_connectivity=0.5)[source]#

Create a star node environment.

This is one node in the middle with groups of nodes around it. There is only one connection between a group and the center node. Groups cannot connect to each other.

Parameters:
  • first_layer_size – The number of collections of nodes in first “outer ring”.

  • group_size – How many nodes are in each collection.

  • group_connectivity – How connected the nodes in the connections are.

Returns:

An instance of Network.