code: def create_network(self):
          
          return DiscreteGenerational(
              generations=self.generations,
              generation_size=self.generation_size,
              initial_source=True,
          )
docs: Create a new network.