|
| class | AnpCluster |
| | A group of nodes (and cluster-level pairwise comparisons). More...
|
| |
| class | AnpNetwork |
| | Root ANP model: structure, judgments, supermatrices, and priorities. More...
|
| |
| class | AnpNode |
| | A decision element within a cluster (may own a subnetwork). More...
|
| |
| struct | ConsistencyOptions |
| | Options for consistency. More...
|
| |
| struct | ConsistencyResult |
| | Full consistency analysis result. More...
|
| |
| class | ConvergenceError |
| | Thrown when power iteration fails to converge within max_iterations. More...
|
| |
| class | DimensionError |
| | Thrown when vector/matrix dimensions do not match an operation. More...
|
| |
| struct | DivideByConstantInterpreter |
| | Divide each raw value by a fixed positive constant. More...
|
| |
| struct | DivideByMaxInterpreter |
| | Divide each raw value by the max among present values. More...
|
| |
| struct | EigenOptions |
| | Options controlling principal eigen computation. More...
|
| |
| struct | EigenResult |
| | Result of principal_eigen. More...
|
| |
| struct | IdentityInterpreter |
| | Pass-through interpreter (values already in [0, 1]). More...
|
| |
| class | JsonIoError |
| | Thrown on JSON parse, validation, or I/O errors. More...
|
| |
| struct | LimitMatrixOptions |
| | Options for limit-matrix calculation. More...
|
| |
| class | Matrix |
| | Dense row-major matrix stored in a flat buffer. More...
|
| |
| struct | MinMaxNormalizeInterpreter |
| | Map the column's [min, max] onto [0, 1]. More...
|
| |
| struct | NodePrioritizerSlot |
| | Stores either pairwise or ratings judgments for one dest cluster. More...
|
| |
| class | PairwiseJudgments |
| | Square pairwise comparison table over a named list of alternatives. More...
|
| |
| struct | PiecewiseLinearInterpreter |
| | Piecewise-linear map from raw value to [0, 1] via sorted knots. More...
|
| |
| struct | RatingCategory |
| | A named rating category with an associated score in [0, 1]. More...
|
| |
| class | RatingsPrioritizer |
| | Ratings table over named alternatives for one (wrt node, dest cluster). More...
|
| |
| class | SynthesisError |
| | Thrown when synthesis or expression evaluation fails. More...
|
| |
| struct | SynthesisOptions |
| | Synthesis configuration for networks with subnetworks. More...
|
| |
| class | Vector |
| | One-dimensional array of doubles with element-wise arithmetic. More...
|
| |
|
| Matrix | harker_fix (const Matrix &mat) |
| | Applies Harker's fix for incomplete pairwise matrices.
|
| |
| EigenResult | principal_eigen (const Matrix &mat, const EigenOptions &options={}) |
| | Power iteration with sum-normalization (pyanp pri_eigen compatible).
|
| |
| Vector | principal_eigenvector (const Matrix &mat, const EigenOptions &options={}) |
| | Returns the principal eigenvector only.
|
| |
| double | principal_eigenvalue (const Matrix &mat, const EigenOptions &options={}) |
| | Returns the principal eigenvalue only.
|
| |
| double | random_index (std::size_t n) |
| | Saaty random index (RI) for matrix order n.
|
| |
| double | consistency_index (double lambda_max, std::size_t n) |
| | Consistency index CI = (lambda_max - n) / (n - 1).
|
| |
| double | consistency_ratio (double lambda_max, std::size_t n) |
| | Consistency ratio CR = CI / RI.
|
| |
| ConsistencyResult | consistency (const Matrix &mat, ConsistencyOptions options={}) |
| | Computes Saaty CI and CR for a pairwise comparison matrix.
|
| |
| double | consistency_index (const Matrix &mat, ConsistencyOptions options={}) |
| | Consistency index from a matrix (throws on non-convergence).
|
| |
| double | consistency_ratio (const Matrix &mat, ConsistencyOptions options={}) |
| | Consistency ratio from a matrix (throws on non-convergence).
|
| |
| std::string | network_to_json (const AnpNetwork &network) |
| | Serializes a network (including subnetworks and layout hints) to JSON.
|
| |
| std::unique_ptr< AnpNetwork > | network_from_json (const std::string &json_text) |
| | Parses JSON produced by network_to_json.
|
| |
| void | save_network_file (const AnpNetwork &network, const std::string &path) |
| | Writes a network to a file.
|
| |
| std::unique_ptr< AnpNetwork > | load_network_file (const std::string &path) |
| | Loads a network from a file.
|
| |
| Matrix | column_normalize (const Matrix &mat) |
| | Column-normalizes each column by its sum (pyanp normalize).
|
| |
| void | column_normalize_inplace (Matrix &mat) |
| | In-place column_normalize.
|
| |
| Matrix | hierarchy_formula (const Matrix &mat) |
| | Hierarchy limit formula: normalize(sum of W^k for k=1..n-1).
|
| |
| Matrix | calculus_limit (const Matrix &mat, const LimitMatrixOptions &options={}) |
| | SuperDecisions / pyanp calculus limit matrix.
|
| |
|
Vector | priority_from_limit (const Matrix &limit_matrix) |
| | Row sums of the limit matrix, L1-normalized (pyanp priority_from_limit).
|
| |
| std::vector< std::optional< double > > | apply_score_interpreter (const ScoreInterpreter &interpreter, const std::vector< std::optional< double > > &raw) |
| | Apply interpreter to a column of optional raw values.
|
| |
| std::map< std::string, double > | synthesize_additive (const std::map< std::string, double > &subnet_weights, const std::map< std::string, std::map< std::string, double > > &alt_scores) |
| | Weighted average synthesis (matches AnpNetwork::sum_subnetwork_formula).
|
| |
|
std::map< std::string, double > | synthesize_multiplicative (const std::map< std::string, double > &subnet_weights, const std::map< std::string, std::map< std::string, double > > &alt_scores) |
| | Multiplicative synthesis: product of score^weight per alt, then L1-normalize.
|
| |
| std::map< std::string, double > | synthesize_custom (const std::string &expression, const std::map< std::string, std::map< std::string, double > > &alt_scores, const std::vector< std::string > &alt_order) |
| | Custom expression synthesis per alternative.
|
| |
|
std::map< std::string, double > | synthesize (const SynthesisOptions &options, const std::map< std::string, double > &subnet_weights, const std::map< std::string, std::map< std::string, double > > &alt_scores, const std::vector< std::string > &alt_order) |
| | Dispatches on SynthesisOptions::kind.
|
| |
| double | eval_expression (const std::string &expression, const std::map< std::string, double > &variables) |
| | Evaluates a numeric expression with named variables.
|
| |
Analytic Network Process computational library.