def make_agent(self, pattern):  # L1専用
        Agents = []
        s = self.step[pattern]
        for i in range(self.n):
            if pattern % 2 == 0:
                Agents.append(
                    new_Agent(self.n, self.m, self.A[i], self.p[i], s, self.lamb, name=i, weight=None, R=self.R))
            elif pattern % 2 == 1:
                Agents.append(
                    new_Agent(self.n, self.m, self.A[i], self.p[i], s, self.lamb, name=i, weight=None,
                                             R=self.R))

        return Agents
    def make_agent(self, pattern):  # L1専用
        Agents = []
        for i in range(self.n):
            if pattern % 2 == 0:
                Agents.append(
                    new_Agent(self.n,
                              self.m,
                              self.A[i],
                              self.p[i],
                              self.step[0],
                              self.lamb,
                              name=i,
                              weight=None,
                              R=self.R))
            elif pattern % 2 == 1:
                Agents.append(
                    new_Agent_moment_CDC2017_paper2(self.n,
                                                    self.m,
                                                    self.A[i],
                                                    self.p[i],
                                                    self.step[1],
                                                    self.lamb,
                                                    name=i,
                                                    weight=None,
                                                    R=self.R))

        return Agents