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