def estimate(self, specification, *args, **kwargs): HierarchicalChoiceModel.init_membership_in_nests(self) HierarchicalChoiceModel.delete_logsum_from_specification(self, specification) return AgentLocationChoiceModel.estimate(self, specification, *args, **kwargs)
def estimate(self, specification, *args, **kwargs): HierarchicalChoiceModel.init_membership_in_nests(self) HierarchicalChoiceModel.delete_logsum_from_specification(self, specification) return AgentLocationChoiceModel.estimate(self, specification, *args, **kwargs)
def run_chunk(self, agents_index, agent_set, specification, coefficients): HierarchicalChoiceModel.add_logsum_to_specification(self, specification, coefficients) HierarchicalChoiceModel.init_membership_in_nests(self) return AgentLocationChoiceModel.run_chunk(self, agents_index, agent_set, specification, coefficients)
def run_chunk(self, agents_index, agent_set, specification, coefficients): HierarchicalChoiceModel.add_logsum_to_specification(self, specification, coefficients) HierarchicalChoiceModel.init_membership_in_nests(self) return AgentLocationChoiceModel.run_chunk(self, agents_index, agent_set, specification, coefficients)