Single Solution Analyzer (single_solution_analyzer)¶
- class pypint.plugins.analyzers.single_solution_analyzer.SingleSolutionAnalyzer(*args, **kwargs)[source]¶
- Bases: pypint.plugins.analyzers.i_analyzer.IAnalyzer - Analyzer for a single solution instance. - For now, it only plots the final solution and the error of each iteration. - __init__(*args, **kwargs)[source]¶
- Parameters: - plotter_options (dict) – options to be passed on to the plotter 
 - add_data(*args, **kwargs)[source]¶
- Parameters: - state (ISolverState) – state of the solver - Raises: - ValueError – if state is not given or is not a ISolverState 
 - run(**kwargs)[source]¶
- Raises: - ValueError – if solver is not given and not an IIterativeTimeSolver