parameters: ()
return_statement: return list(already_covered), available_scouts
docstring: Returns ([current target list], [available scout list]).
docstring_summary: Returns ([current target list], [available scout list]).
docstring_tokens: Returns ( [ current target list ] [ available scout list ] ) .
function: def get_current_exploration_info():
      """Returns ([current target list], [available scout list])."""
      fleet_ids = FleetUtilsAI.get_empire_fleet_ids_by_role(MissionType.EXPLORATION)
      available_scouts = []
      already_covered = set()
      aistate = get_aistate()
      for fleet_id in fleet_ids:
          fleet_mission = aistate.get_fleet_mission(fleet_id)
          if not fleet_mission.type:
              available_scouts.append(fleet_id)
          else:
              if fleet_mission.type == MissionType.EXPLORATION:
                  already_covered.add(fleet_mission.target.id)
                  if not fleet_mission.target:
                      debug("problem determining existing exploration target systems")
                  else:
                      debug("found existing exploration target: %s" % fleet_mission.target)
      debug("Current exploration targets: %s" % already_covered)
      debug("Available scout fleets: %s" % available_scouts)
      return list(already_covered), available_scouts
function_tokens: def get_current_exploration_info ( ) : fleet_ids = FleetUtilsAI . get_empire_fleet_ids_by_role ( MissionType . EXPLORATION ) available_scouts = [ ] already_covered = set ( ) aistate = get_aistate ( ) for fleet_id in fleet_ids : fleet_mission = aistate . get_fleet_mission ( fleet_id ) if not fleet_mission . type : available_scouts . append ( fleet_id ) else : if fleet_mission . type == MissionType . EXPLORATION : already_covered . add ( fleet_mission . target . id ) if not fleet_mission . target : debug ( "problem determining existing exploration target systems" ) else : debug ( "found existing exploration target: %s" % fleet_mission . target ) debug ( "Current exploration targets: %s" % already_covered ) debug ( "Available scout fleets: %s" % available_scouts ) return list ( already_covered ) , available_scouts