(self)
Returns true if is time to migrate
Returns true if is time to migrate
Returns true if is time to migrate
def isReady(self):
      """ Returns true if is time to migrate """

      if self.GAEngine.getCurrentGeneration() == 0:
         return False

      if self.GAEngine.getCurrentGeneration() % self.nMigrationRate == 0:
         return True
      else:
         return False
def isReady ( self ) : if self . GAEngine . getCurrentGeneration ( ) == 0 : return False if self . GAEngine . getCurrentGeneration ( ) % self . nMigrationRate == 0 : return True else : return False