def __init__(
     self,
     location_set,
     nested_structure=None,
     stratum=None,
     model_name=None,
     short_name=None,
     sampler="opus_core.samplers.stratified_sampler",
     utilities="opus_core.hierarchical_linear_utilities",
     probabilities="opus_core.nl_probabilities",
     **kwargs
 ):
     AgentLocationChoiceModel.__init__(
         self,
         location_set=location_set,
         model_name=model_name,
         short_name=short_name,
         sampler=sampler,
         utilities=utilities,
         probabilities=probabilities,
         **kwargs
     )
     HierarchicalChoiceModel.create_nested_and_tree_structure(self, nested_structure, stratum, **kwargs)
     self.model_interaction = ModelInteractionHierLCM(
         self, kwargs.get("interaction_pkg", "urbansim"), self.choice_set
     )
 def __init__(self, location_set, nested_structure=None, stratum=None, model_name=None, short_name=None,
                     sampler="opus_core.samplers.stratified_sampler", 
                     utilities="opus_core.hierarchical_linear_utilities",
                     probabilities="opus_core.nl_probabilities", **kwargs):
     AgentLocationChoiceModel.__init__(self, location_set=location_set, model_name=model_name, 
                                       short_name=short_name, sampler=sampler, utilities=utilities,
                                       probabilities=probabilities, **kwargs)
     HierarchicalChoiceModel.create_nested_and_tree_structure(self, nested_structure, stratum, **kwargs)
     self.model_interaction = ModelInteractionHierLCM(self, kwargs.get('interaction_pkg',"urbansim"), self.choice_set)