rzshrote / pybrops

Python Breeding Optimizer and Simulator: A Python library for simulating and optimizing breeding pipelines.
https://rzshrote.github.io/pybrops/
MIT License
2 stars 1 forks source link

Change output type from 'pareto' functions #49

Closed rzshrote closed 1 year ago

rzshrote commented 2 years ago

Currently, the pareto functions output a tuple of arrays to describe the mapped pareto frontier. Consider making the output a class, say ParetoFrontier that contains this data. This class can provide plotting functionality to visually plot the frontier.

rzshrote commented 1 year ago

Latest update to this is to rename the pareto method to mosolve and change the output to a SelectionSolution type output. There can be additional plotting methods associated with this class or this class can have a method to output a ParetoFrontier object to create a plot.