def __init__(self, graph):
        """
             Model Constructor
             :param graph: A networkx graph object
         """
        super(self.__class__, self).__init__(graph)
        self.available_statuses = {}
        self.compartment = {}
        self.compartment_progressive = 0
        self.status_progressive = 0
def __init__ ( self , graph ) : super ( self . __class__ , self ) . __init__ ( graph ) self . available_statuses = { } self . compartment = { } self . compartment_progressive = 0 self . status_progressive = 0
Model Constructor
             :param graph: A networkx graph object