AlgorithmRuntimeBreakdown

AlgorithmRuntimeBreakdown#

class AlgorithmRuntimeBreakdown(algorithm, used_random, worst_case_breakdown=None, input_sequences=None, per_case_breakdowns=None)#

Bases: Generic[ProblemInstance, InputSize]

__init__(algorithm, used_random, worst_case_breakdown=None, input_sequences=None, per_case_breakdowns=None)#

Methods

__init__(algorithm, used_random[, ...])

Attributes

algorithm: Algorithm#
input_sequences: Optional[dict[InputSize, ProblemInstance]] = None#
per_case_breakdowns: Optional[dict[InputSize, algpy_src.base.algorithm_runtime_breakdown.AlgorithmRuntimeSingle]] = None#
used_random: bool#
worst_case_breakdown: Optional[AlgorithmRuntimeSingle] = None#