solution¶
MacSyFinder find lot of potential systems for the same model, all these systems are saved in “all_systems.xxx” files. This module allow to explore among of all systems which combination seems to be more probable.
Solution¶
-
macsypy.solution.
find_best_solutions
(systems)[source]¶ Among the systems choose the combination of systems which does not share
macsypy.hit.Hit
and maximize the sum of systems scores- Parameters
systems (list of
macsypy.system.System
object) – the systems to analyse- Returns
the list of list of systems which represent one best solution and the it’s score
- Return type
tuple of 2 elements ([[
macsypy.system.System
, …], [macsypy.system.System
, …]], float score) The inner list represent a best solution