Previous topic

write

This Page

NetworkGenerator

class nepidemix.utilities.networkgeneratorwrappers.NetworkGenerator(creationFunction, typeMap)

Network generation wrapper object.

Methods

create(**kwargs) This method will call function given when creating the
__init__(creationFunction, typeMap)
Parameters :

creationFunction : function

Function used to create a networkx graph.

typeMap : dict

Dictionary of the structure (<parameter name>, <type>) so that the the parameter is a parameter to creationFunction and <type> is a type object.

Methods

__init__(creationFunction, typeMap)
Parameters:
create(**kwargs) This method will call function given when creating the