voiage.methods.dominance.DominanceResult
Structured dominance-analysis result.
Attributes
Section titled “Attributes”strategy_names : list[str] Strategy labels in the original input order. costs : numpy.ndarray Strategy costs. effects : numpy.ndarray Strategy effects. frontier_indices : list[int] Indices on the cost-effectiveness frontier. strongly_dominated_indices : list[int] Indices removed by strong dominance. extended_dominated_indices : list[int] Indices removed by extended dominance. status : list[str] Per-strategy status labels. incremental_costs : numpy.ndarray Incremental costs between frontier strategies. incremental_effects : numpy.ndarray Incremental effects between frontier strategies. icers : numpy.ndarray Incremental cost-effectiveness ratios along the frontier.
Examples
Section titled “Examples”>>> import numpy as np >>> from voiage.methods.dominance import calculate_dominance >>> result = calculate_dominance(np.array([10, 12]), np.array([1.0, 1.2])) >>> result.frontier_indices [0, 1]
Methods
Section titled “Methods”to_dict
Section titled “to_dict”to_dict([positional or keyword] self: None = None, [keyword-only] analysis_id: str = None, [keyword-only] decision_problem_id: str = None) -> dict[str, object]Serialize this result to the stable v1 dominance payload.
Parameters:
selfanalysis_idstrdecision_problem_idstr
Returns: dict[str, object]