def estimate(self, specification, agent_set, agents_index=None, **kwargs):
     if agents_index is None:
         agents_index = arange(agent_set.size())
     # filter out agents for this group
     new_agents_index = self.group_member.get_index_of_my_agents(agent_set, agents_index)
     return AgentLocationChoiceModel.estimate(
         self, specification, agent_set, agents_index=agents_index[new_agents_index], **kwargs
     )
 def estimate(self, specification, agent_set, agents_index=None, **kwargs):
     if agents_index is None:
         agents_index = arange(agent_set.size())
     # filter out agents for this group
     new_agents_index = self.group_member.get_index_of_my_agents(
         agent_set, agents_index)
     return AgentLocationChoiceModel.estimate(
         self,
         specification,
         agent_set,
         agents_index=agents_index[new_agents_index],
         **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 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)