print "ECDFs of run lengths figures done." if isTab: prepend_to_file(os.path.join( outputdir, 'bbob_pproc_commands.tex'), [ '\providecommand{\\bbobpptablesmanylegend}[1]{' + pptables.tables_many_legend + '}' ]) dictNoi = pproc.dictAlgByNoi(dictAlg) for ng, tmpdictng in dictNoi.iteritems(): dictDim = pproc.dictAlgByDim(tmpdictng) for d, tmpdictdim in dictDim.iteritems(): pptables.main( tmpdictdim, sortedAlgs, inset. tableconstant_target_function_values, # TODO: here use non-constant values? outputdir, verbose) print "Comparison tables done." if isFig: plt.rc("axes", labelsize=20, titlesize=24) plt.rc("xtick", labelsize=20) plt.rc("ytick", labelsize=20) plt.rc("font", size=20) plt.rc("legend", fontsize=20) ppfigs.main(dictAlg, sortedAlgs, ftarget, outputdir, verbose) plt.rcdefaults() print "Scaling figures done."
print "ECDFs of run lengths figures done." if isTab: if isExpensive: prepend_to_file(os.path.join(outputdir, 'bbob_pproc_commands.tex'), ['\providecommand{\\bbobpptablesmanylegend}[1]{' + pptables.tables_many_expensive_legend + '}']) else: prepend_to_file(os.path.join(outputdir, 'bbob_pproc_commands.tex'), ['\providecommand{\\bbobpptablesmanylegend}[1]{' + pptables.tables_many_legend + '}']) dictNoi = pproc.dictAlgByNoi(dictAlg) for ng, tmpdictng in dictNoi.iteritems(): dictDim = pproc.dictAlgByDim(tmpdictng) for d, tmpdictdim in dictDim.iteritems(): pptables.main(tmpdictdim, sortedAlgs, outputdir, verbose) print "Comparison tables done." global ftarget # not nice if isFig: plt.rc("axes", labelsize=20, titlesize=24) plt.rc("xtick", labelsize=20) plt.rc("ytick", labelsize=20) plt.rc("font", size=20) plt.rc("legend", fontsize=20) if genericsettings.runlength_based_targets: ftarget = pproc.RunlengthBasedTargetValues([target_runlength]) # TODO: make this more variable but also consistent ppfigs.main(dictAlg, sortedAlgs, ftarget, outputdir, verbose) plt.rcdefaults() print "Scaling figures done."
prepend_to_file( os.path.join(outputdir, 'bbob_pproc_commands.tex'), [ '\providecommand{\\bbobpptablesmanylegend}[1]{' + pptables.tables_many_expensive_legend + '}' ]) else: prepend_to_file( os.path.join(outputdir, 'bbob_pproc_commands.tex'), [ '\providecommand{\\bbobpptablesmanylegend}[1]{' + pptables.tables_many_legend + '}' ]) dictNoi = pproc.dictAlgByNoi(dictAlg) for ng, tmpdictng in dictNoi.iteritems(): dictDim = pproc.dictAlgByDim(tmpdictng) for d, tmpdictdim in dictDim.iteritems(): pptables.main(tmpdictdim, sortedAlgs, outputdir, genericsettings.verbose) print "Comparison tables done." global ftarget # not nice if genericsettings.isFig: plt.rc("axes", labelsize=20, titlesize=24) plt.rc("xtick", labelsize=20) plt.rc("ytick", labelsize=20) plt.rc("font", size=20) plt.rc("legend", fontsize=20) plt.rc('pdf', fonttype=42) if genericsettings.runlength_based_targets: ftarget = pproc.RunlengthBasedTargetValues([ target_runlength ]) # TODO: make this more variable but also consistent ppfigs.main(dictAlg, genericsettings.many_algorithm_file_name,
if genericsettings.isTab: if genericsettings.isExpensive: prepend_to_file( os.path.join(outputdir, "bbob_pproc_commands.tex"), ["\providecommand{\\bbobpptablesmanylegend}[1]{" + pptables.tables_many_expensive_legend + "}"], ) else: prepend_to_file( os.path.join(outputdir, "bbob_pproc_commands.tex"), ["\providecommand{\\bbobpptablesmanylegend}[1]{" + pptables.tables_many_legend + "}"], ) dictNoi = pproc.dictAlgByNoi(dictAlg) for ng, tmpdictng in dictNoi.iteritems(): dictDim = pproc.dictAlgByDim(tmpdictng) for d, tmpdictdim in dictDim.iteritems(): pptables.main(tmpdictdim, sortedAlgs, outputdir, genericsettings.verbose) print "Comparison tables done." global ftarget # not nice if genericsettings.isFig: plt.rc("axes", labelsize=20, titlesize=24) plt.rc("xtick", labelsize=20) plt.rc("ytick", labelsize=20) plt.rc("font", size=20) plt.rc("legend", fontsize=20) plt.rc("pdf", fonttype=42) if genericsettings.runlength_based_targets: ftarget = pproc.RunlengthBasedTargetValues( [target_runlength] ) # TODO: make this more variable but also consistent ppfigs.main(
order=sortedAlgs, outputdir=outputdir, info=('%02dD_%s' % (d, fg)), verbose=verbose) print "ECDFs of run lengths figures done." if isTab: prepend_to_file(os.path.join(outputdir, 'bbob_pproc_commands.tex'), ['\providecommand{\\bbobpptablesmanylegend}[1]{' + pptables.tables_many_legend + '}']) dictNoi = pproc.dictAlgByNoi(dictAlg) for ng, tmpdictng in dictNoi.iteritems(): dictDim = pproc.dictAlgByDim(tmpdictng) for d, tmpdictdim in dictDim.iteritems(): pptables.main(tmpdictdim, sortedAlgs, inset.tableconstant_target_function_values, # TODO: here use non-constant values? outputdir, verbose) print "Comparison tables done." if isFig: plt.rc("axes", labelsize=20, titlesize=24) plt.rc("xtick", labelsize=20) plt.rc("ytick", labelsize=20) plt.rc("font", size=20) plt.rc("legend", fontsize=20) ppfigs.main(dictAlg, sortedAlgs, ftarget, outputdir, verbose) plt.rcdefaults() print "Scaling figures done." plt.rcdefaults()
prepend_to_file(os.path.join(outputdir, 'bbob_pproc_commands.tex'), ['\providecommand{\\bbobpptablesmanylegend}[1]{' + pptables.tables_many_expensive_legend + '}']) else: prepend_to_file(os.path.join(outputdir, 'bbob_pproc_commands.tex'), ['\providecommand{\\bbobpptablesmanylegend}[1]{' + pptables.tables_many_legend + '}']) dictNoi = pproc.dictAlgByNoi(dictAlg) for ng, tmpdictng in dictNoi.iteritems(): dictDim = pproc.dictAlgByDim(tmpdictng) for d, tmpdictdim in dictDim.iteritems(): pptables.main( tmpdictdim, sortedAlgs, dsList[0].isBiobjective(), outputdir, genericsettings.verbose) print "Comparison tables done." global ftarget # not nice if genericsettings.isFig: plt.rc("axes", labelsize=20, titlesize=24) plt.rc("xtick", labelsize=20) plt.rc("ytick", labelsize=20) plt.rc("font", size=20) plt.rc("legend", fontsize=20) plt.rc('pdf', fonttype = 42) if genericsettings.runlength_based_targets: reference_data = 'bestBiobj2016' if dsList[0].isBiobjective() else 'bestGECCO2009'