SUPPLEMENTARY MATERIAL
=====================

BiS-PRO: A Bi-Directional Scheduling Partial Reinforcement Optimizer with
Fitness-Variance Score Ranking

Yulong Sun, Guoshen Ding (corresponding author, Dingguoshen@ustc.edu)
North Automatic Control Technology Institute, Taiyuan, Shanxi, China


------------------------------------------------------------------
1. WHAT THIS PACKAGE CONTAINS
------------------------------------------------------------------
This package holds everything needed to re-run the experiments reported in
the paper and to recompute its tables and figures:

  - the MATLAB implementation of BiS-PRO,
  - its four ablation variants and the variants used in the mechanism study,
  - the ten comparison algorithms that appear in the paper,
  - the CEC2014 and CEC2017 benchmark suites and their input data,
  - the scripts that drive every experiment,
  - the consolidated result data behind each table and figure.

The MATLAB source code of BiS-PRO is S1_BiS-PRO/BiS_PRO.m.


------------------------------------------------------------------
2. REQUIREMENTS
------------------------------------------------------------------
  - MATLAB R2021a or newer, 64-bit Windows.
  - No toolbox beyond base MATLAB is required.
  - The CEC function wrappers are supplied both as precompiled win64 MEX
    files and as C++ sources. On a different platform, rebuild them with
        mex cec14_func.cpp
        mex cec17_func.cpp
    run from inside S3_benchmarks.
  - The CEC functions expect the current working directory to be the folder
    that contains the .mexw64 file and the input_data directory. The
    supplied drivers call cd() to do this themselves; if you call an
    algorithm directly, set the directory first.


------------------------------------------------------------------
3. DIRECTORY STRUCTURE
------------------------------------------------------------------
S1_BiS-PRO/            14 files, the method and its variants
    BiS_PRO.m                      the proposed BiS-PRO
    PRO_v1_cnt.m                   the original PRO, instrumented with
                                   update/success/skip counters
    PRO_A1_NoFD.m                  ablation: no Fitness-Variance Score
    PRO_A2_SingleSchedule.m        ablation: single schedule
    PRO_A3_NoSmartReschedule.m     ablation: no smart rescheduling
    PRO_A4_NoTriplet.m             ablation: no triplet guidance
    PRO_bis_cnt.m                  two-way schedule, instrumented
    PRO_single_cnt.m               single schedule, instrumented
    PRO_dual_noprune.m             two-way schedule without pruning
    PRO_single_prune.m             single schedule with pruning
    PRO_NoReschedule.m             no rescheduling, dual schedule
    PRO_NoReschedule_single.m      no rescheduling, single schedule
    PRO_sel.m                      selection-criterion variants
    PRO_RR.m                       reinforcement-rate sweep

S2_baselines/          10 files, the comparison algorithms
    APO.m  DO.m  enAHA.m  DCS.m  NOA.m  PVS.m  RIME.m  RSA.m  SWO.m  TTAO.m
    Each file is the authors' published implementation, obtained from the
    source that accompanies the corresponding reference. Only the algorithm
    file is included; the benchmark drivers that ship with those sources
    were replaced by the drivers in S4_scripts.

S3_benchmarks/         CEC suites
    cec14_func.mexw64 / cec14_func.cpp
    cec17_func.mexw64 / cec17_func.cpp
    input_data/        396 shift-vector and rotation-matrix files (35 MB)

S4_scripts/            every MATLAB and Python script used in the study
    The naming convention is:
      *_step.m        one-run driver for a single experiment cell, called
                      in a loop by the correspondingly named run_* script
      run_*.m         experiment drivers that call the *_step functions
      analyze_*.m     analysis of a result file, printing the numbers that
                      appear in the tables
      export_*.m      conversion of a result file to CSV
      analyze_*.py    non-parametric statistics (Friedman, Holm-corrected
                      Wilcoxon) and figure generation
    Each file carries a descriptive header comment stating what it does and
    which result file it reads or writes.

S5_results/            35 MAT files and 32 CSV files
    bench_CEC2014_summary.csv    mean, std, best, worst and run count for the
    bench_CEC2017_summary.csv    main benchmark comparison, one row per
                                 (algorithm, function); these are the values
                                 printed in Tables 1-4
    PRO_ablation_results.mat     ablation at D = 10
    d30_results.mat, d30b, d30c  ablation at D = 30
    sel_diag_results.mat         selection-quality mechanism study
    sel_prune_results.mat        selection-criterion comparison
    PRO_rr_sensitivity.mat       reinforcement-rate sweep
    PRO_fix_full.mat             selection-rate sweep
    reanalyze_29_results.mat     the as-implemented 29-function comparison
    cost_results.mat             wall-clock cost measurement
    *.csv                        per-run values from which the tables were
                                 assembled, in plain text, so that the tables
                                 can be checked without MATLAB


------------------------------------------------------------------
4. HOW TO RUN A BENCHMARK COMPARISON
------------------------------------------------------------------
  1. Put S1_BiS-PRO, S2_baselines and S4_scripts on the MATLAB path.
  2. cd to S3_benchmarks (so that cec17_func.mexw64 and input_data are
     visible).
  3. Run the driver for the experiment you want, for example
         run_benchmark_FDB
     The drivers write a .mat result file into the current directory.
  4. Recompute the tables from that file with the matching analyze_* or
     export_* script.

A single cell of a benchmark experiment takes roughly 0.1 to 2 seconds per
run depending on the function and dimension. The full comparison reported in
Tables 1-4 is 59 functions x 10 algorithms x 30 runs and takes several hours
on one desktop core; the drivers write incremental checkpoints so that an
interrupted run can be resumed.


------------------------------------------------------------------
5. CORRESPONDENCE BETWEEN THE PAPER AND THIS PACKAGE
------------------------------------------------------------------
  Table 1-4   optimisation results, CEC2014 and CEC2017
              data:    S5_results/bench_CEC2014_summary.csv and
                       bench_CEC2017_summary.csv
              scripts: analysis_main.m
  Table 5     Friedman mean ranks
  Table 6     Wilcoxon signed-rank p-values
              data:    the same result file
              scripts: analysis_main.m, analyze_friedman.py,
                       analyze_friedman2.py
  Table 7     reinforcement-rate sensitivity
              data:    PRO_rr_sensitivity.mat, rr_runs.csv, rr09_runs.csv
              scripts: run_rr_sensitivity.m, rr09_step.m
  Table 8     selection-rate sensitivity
              data:    PRO_fix_full.mat, fix_full_runs.csv
              scripts: run_fix_full.m
  Table 9     ablation at D = 10
              data:    PRO_ablation_results.mat
              scripts: run_ablation_study.m, analysis_ablation.m
  Table 10    ablation at D = 30
              data:    d30_results.mat, d30b_results.mat, d30c_results.mat
              scripts: d30_step.m, d30b_step.m, d30c_step.m,
                       analyze_d30_all12.m
  Table 11    selection quality of the two schedules
              data:    sel_diag_results.mat
              scripts: run_sel_diag.m, analyze_sel_diag.m
  Table 12    comparison of selection criteria
              data:    sel_prune_results.mat, extra_metrics.mat
              scripts: run_sel_prune2.m, sp_step.m
  Table 13    drone penetration path planning
  Table 14    Friedman ranks, path planning
  Table 15    Wilcoxon p-values, path planning
              The run records behind these three tables are not part of
              this package; see section 7.
  Figure 5    convergence curves
              scripts: plot_convergence.m
  Figure 6    ranking heatmap
              scripts: generate_heatmap.py
  Figure 7    selection quality, two panels
              data:    sel_diag_results.mat
              scripts: plot_mechdiag.m
  Section 2.2.1   the closed-form leave-one-out identity and its numerical
                  verification
              scripts: P6_fvs_scale.m
  Section 3.2     data-integrity checks across all result files
              scripts: check_data_integrity.m


------------------------------------------------------------------
6. BENCHMARK ATTRIBUTION
------------------------------------------------------------------
cec14_func.* and cec17_func.* are the benchmark suites distributed by the
organisers of the CEC2014 and CEC2017 Special Sessions on Single Objective
Real-Parameter Numerical Optimization. They are included here unchanged,
together with the shift and rotation data in input_data, so that the
reported results can be reproduced without a separate download. They remain
the work of their authors and are included for reproducibility only. If you
redistribute this package, keep this notice.

Function numbering follows the suites: CEC2014 has F1-F30; CEC2017 has no
F2, so its 29 functions are F1 and F3-F30. The paper follows this convention
throughout.


------------------------------------------------------------------
7. WHAT IS NOT INCLUDED
------------------------------------------------------------------
The complete per-run trajectory records of the main benchmark comparison
amount to about 4.5 GB (ten result files of 220-700 MB each, holding every
convergence curve of every run). They are not included, because the package
would become impractical to download. What is included instead is

  - bench_CEC2014_summary.csv and bench_CEC2017_summary.csv, which hold the
    mean, standard deviation, best, worst and run count for every
    (algorithm, function) pair of the main comparison of Tables 1-4, and
  - the CSV files in S5_results, which carry per-run values in plain text
    for the ablation, sensitivity and mechanism experiments.

The run records of the drone path planning experiment (Tables 13-15 and
Figure 10) are not included either; they form part of the raw records
available on request.

The full trajectory records are available from the corresponding author on
reasonable request. This is the same statement that appears in the Data
Availability Statement of the paper.


------------------------------------------------------------------
8. CONTACT
------------------------------------------------------------------
Guoshen Ding
North Automatic Control Technology Institute
No. 351 Tiyu Road, Taiyuan 030006, Shanxi, China
Dingguoshen@ustc.edu
