code: def __init__(self):
      for h in range(swarmSize):
          particle = Particle()
          self.swarm.append(particle)
      return
  
file_path: advisor/advisor_server/suggestion/algorithm/particle_swarm_optimization.py
imports: from __future__ import print_function
  import json
  import random
  from suggestion.models import Study
  from suggestion.models import Trial
  from suggestion.algorithm.abstract_algorithm import AbstractSuggestionAlgorithm
label_desc: Use image node_id 1 to create a new ParticleSwarmOptimizer object  with example: obj = ParticleSwarmOptimizer()