(self, ga_engine)
Imports the VPython module and creates the four graph windows

      :param ga_engine: the GA Engine
Imports the VPython module and creates the four graph windows
Imports the VPython module and creates the four graph windows
def open(self, ga_engine):
      """ Imports the VPython module and creates the four graph windows

      :param ga_engine: the GA Engine
      """
      logging.debug("Loading visual.graph (VPython) module...")
      if self.vtkGraph is None:
         self.vtkGraph = Util.importSpecial("visual.graph").graph

      display_rawmin = self.makeDisplay("Raw Score (min)", 0, 0, ga_engine)
      display_rawmax = self.makeDisplay("Raw Score (max)", 0, 250, ga_engine)
      display_rawdev = self.makeDisplay("Raw Score (std. dev.)", 500, 0, ga_engine)
      display_rawavg = self.makeDisplay("Raw Score (avg)", 500, 250, ga_engine)

      self.curveMin = self.vtkGraph.gcurve(color=self.vtkGraph.color.red, gdisplay=display_rawmin)
      self.curveMax = self.vtkGraph.gcurve(color=self.vtkGraph.color.green, gdisplay=display_rawmax)
      self.curveDev = self.vtkGraph.gcurve(color=self.vtkGraph.color.blue, gdisplay=display_rawdev)
      self.curveAvg = self.vtkGraph.gcurve(color=self.vtkGraph.color.orange, gdisplay=display_rawavg)
def open ( self , ga_engine ) : logging . debug ( "Loading visual.graph (VPython) module..." ) if self . vtkGraph is None : self . vtkGraph = Util . importSpecial ( "visual.graph" ) . graph display_rawmin = self . makeDisplay ( "Raw Score (min)" , 0 , 0 , ga_engine ) display_rawmax = self . makeDisplay ( "Raw Score (max)" , 0 , 250 , ga_engine ) display_rawdev = self . makeDisplay ( "Raw Score (std. dev.)" , 500 , 0 , ga_engine ) display_rawavg = self . makeDisplay ( "Raw Score (avg)" , 500 , 250 , ga_engine ) self . curveMin = self . vtkGraph . gcurve ( color = self . vtkGraph . color . red , gdisplay = display_rawmin ) self . curveMax = self . vtkGraph . gcurve ( color = self . vtkGraph . color . green , gdisplay = display_rawmax ) self . curveDev = self . vtkGraph . gcurve ( color = self . vtkGraph . color . blue , gdisplay = display_rawdev ) self . curveAvg = self . vtkGraph . gcurve ( color = self . vtkGraph . color . orange , gdisplay = display_rawavg )