Ejemplo n.º 1
0
    def __retrieve_info(self, x_val: float, y_val: float,
                        solution: Solution) -> None:
        jMetalPyLogger.info("Output file: " + '{0}-{1}'.format(x_val, y_val))

        with open('{0}-{1}'.format(x_val, y_val), 'w') as of:
            of.write(solution.__str__())