Search Trajectory Networks (STNs) for multi-objective evolutionary algorithms when solving continuous optimisation problems.
Resources for constructing, visualising and calculating metrics of STNs of continuous benchmark functions.
This repository is associated with the revised version of the article:
Lavinas, Y., Aranha, C., Ochoa, G. (2022). Search Trajectories Networks of Multiobjective Evolutionary Algorithms. Applications of Evolutionary Computation. EvoApplications 2022. Lecture Notes in Computer Science, vol 13224. Springer, Cham.
Here is the revised version of the article.
- R libraries:
igraph, dplyr, tidyr
The resources are organised into four folders:
Three R scripts are provided:
- Creates STN models for all the input files contained in the data folder
- Models are saved within
.Rdata
files in the stns folder
- Plots the STN models from the
.RData
files in the stns folder - Files with plots (
.pdf
) are saved in the plots folder - Each file pages has 3 pages, each a graph visualisation with a different graph layout
- Computes a set of metrics associated to the STNs models from the
.RData
files in the stns folder - A single
.csv
file with metrics , which is saved in the metrics folder.
- Text files with data containing post-processed algorithm trajectories of two multi-objective evolutionary algorithms: moead and nsga-2, when solving the 10 unconstrained multi-objective benchmark functions UF1 , ..., UF10, of the CEC2009 special session and competition (Zhang etal.,2009).
- There is one file for each of the 10 functions for the two algorithms (a total of 20 files).
- These files were produced using the code in the following repository (add link)
- A single .
csv
file containing a set of network metrics for each of the STN models, for the two algorithms and the 10 benchmark functions - This file is the output of running the script named metrics.R described above
- A brief description of the metrics is as follows
- algorithm: name of the algorithm
- instance: name of the instance
- nodes: total number of nodes
- edges: total number of edges
- pedges: tatio of edges to nodes
- pareto: number of Pareto optimal solutions
- end: number of nodes at the end of trajectories (excluding the Pareto nodes)
- shared: number of shared nodes among vectors
- pshared: ratio of shared nodes among vectors
- v1 - v5: number of nodes per vector
- components: number of connected components
- maxin: max incoming degree of nodes
- meanin: mean incoming degree of nodes
- maxout: max outgoing degree of nodes
- meanout: max outgoing degree of nodes
- Text files contains the Pareto front for each of the 10 benchmark instances, UF1 ... UF10.
- These Pareto fronts were obtained from the MOEADr R package
- PDF files with graph visualisations of each of the STN models
- There is one file for each of the 10 functions for the two algorithms (a total of 20 files).
- These files were produced using the script named plot.R described above
- Each file has 3 pages, each visualising the same model with a different [force-directed] (https://en.wikipedia.org/wiki/Force-directed_graph_drawing)layout:
- Fruchterman-Reingoldlayout
- Kamada-Kawai layout
- Component-wise layout with Fruchterman-Reingold for each compponent