|
| | AnpNetwork (bool create_alts_cluster=true) |
| | Constructs an empty network.
|
| |
|
| AnpNetwork (AnpNetwork &&) noexcept=default |
| | Move constructor.
|
| |
|
AnpNetwork & | operator= (AnpNetwork &&) noexcept=default |
| | Move assignment.
|
| |
| AnpCluster & | add_cluster (const std::string &name) |
| | Adds a cluster.
|
| |
| AnpCluster * | find_cluster (const std::string &name) |
| |
|
const AnpCluster * | find_cluster (const std::string &name) const |
| | Const overload of find_cluster.
|
| |
| AnpCluster & | cluster (const std::string &name) |
| |
|
const AnpCluster & | cluster (const std::string &name) const |
| | Const overload of cluster.
|
| |
| AnpCluster * | alternatives_cluster () const noexcept |
| |
|
void | set_alternatives_cluster (const std::string &name) |
| | Marks name as the alternatives cluster.
|
| |
|
AnpNode & | add_node (const std::string &cluster_name, const std::string &node_name) |
| | Adds a node to cluster_name.
|
| |
|
void | move_node (const std::string &name, std::size_t new_index) |
| | Reorders a node within its cluster.
|
| |
| AnpNode * | find_node (const std::string &name) |
| |
|
const AnpNode * | find_node (const std::string &name) const |
| | Const overload of find_node.
|
| |
| AnpNode & | node (const std::string &name) |
| |
|
const AnpNode & | node (const std::string &name) const |
| | Const overload of node.
|
| |
|
void | node_connect (const std::string &src, const std::string &dest) |
| | Connects two nodes by name.
|
| |
|
void | node_disconnect (const std::string &src, const std::string &dest) |
| | Disconnects two nodes.
|
| |
| void | set_node_comparison (const std::string &wrt_node, const std::string &a, const std::string &b, double value) |
| | Sets node pairwise comparison (w.r.t.
|
| |
|
void | set_cluster_comparison (const std::string &wrt_cluster, const std::string &a, const std::string &b, double value) |
| | Sets cluster-level pairwise comparison.
|
| |
| void | set_node_prioritizer_kind (const std::string &wrt_node, const std::string &dest_cluster, NodePrioritizerKind kind) |
| | Sets prioritizer kind for wrt_node → dest_cluster.
|
| |
|
void | set_node_rating (const std::string &wrt_node, const std::string &alt, const std::string &category_id) |
| | Sets a categorical rating (ensures connection; switches to ratings).
|
| |
|
void | set_node_rating_value (const std::string &wrt_node, const std::string &alt, double raw) |
| | Sets a numeric rating value (ensures connection; switches to ratings).
|
| |
|
void | remove_node (const std::string &name) |
| | Removes a node and its connections.
|
| |
|
void | remove_cluster (const std::string &name) |
| | Removes a cluster and its nodes.
|
| |
| void | rename_node (const std::string &old_name, const std::string &new_name) |
| | Renames a node network-wide (index, judgments, layout).
|
| |
| void | rename_cluster (const std::string &old_name, const std::string &new_name) |
| | Renames a cluster network-wide (judgment keys, layout).
|
| |
|
void | clear_subnetwork (const std::string &node_name) |
| | Clears a node's subnetwork.
|
| |
| const std::string & | name () const noexcept |
| |
|
void | set_name (std::string name) |
| | Sets the network display name.
|
| |
| const std::string & | description () const noexcept |
| |
|
void | set_description (std::string description) |
| | Sets the network description.
|
| |
| const SynthesisOptions & | synthesis_options () const noexcept |
| |
|
void | set_synthesis_options (SynthesisOptions options) |
| | Sets synthesis options.
|
| |
| const LimitMatrixOptions & | limit_matrix_options () const noexcept |
| |
|
void | set_limit_matrix_options (LimitMatrixOptions options) |
| | Sets the network default limit-matrix options.
|
| |
|
void | set_cluster_position (const std::string &name, double x, double y) |
| | Stores GUI layout hint (ignored by calculations).
|
| |
|
void | set_node_position (const std::string &name, double x, double y) |
| | Stores node canvas position (ignored by calculations).
|
| |
| bool | cluster_position (const std::string &name, double &x, double &y) const |
| | Retrieves cluster layout position.
|
| |
| bool | node_position (const std::string &name, double &x, double &y) const |
| | Retrieves node layout position.
|
| |
| std::size_t | nnodes () const |
| |
| std::size_t | nclusters () const noexcept |
| |
| std::vector< std::string > | cluster_names () const |
| |
| std::vector< std::string > | node_names () const |
| |
| std::vector< AnpCluster * > | clusters () |
| |
| std::vector< const AnpCluster * > | clusters () const |
| |
| std::vector< AnpNode * > | nodes () |
| |
| std::vector< const AnpNode * > | nodes () const |
| |
| Matrix | unscaled_supermatrix () const |
| |
| Matrix | cluster_weight_matrix () const |
| |
| Matrix | scaled_supermatrix () const |
| |
| Matrix | limit_matrix (const LimitMatrixOptions &options={}) const |
| |
| Vector | global_priority (const LimitMatrixOptions &options={}) const |
| |
| bool | has_subnet () const |
| |
| AnpNetwork & | subnet (const std::string &node_name) |
| |
| std::vector< std::string > | alt_names () const |
| |
| Vector | priority (const LimitMatrixOptions &options={}) const |
| |
| std::map< std::string, double > | priority_map (const LimitMatrixOptions &options={}) const |
| |
| std::map< std::string, double > | priority_map_at_p (const std::string &wrt_node, double p, const P0Mode &p0mode=P0Mode::Direct(0.5), const LimitMatrixOptions &options={}) const |
| | Alternative scores after ANP row sensitivity at parameter p.
|
| |
|
Vector | priority_at_p (const std::string &wrt_node, double p, const P0Mode &p0mode=P0Mode::Direct(0.5), const LimitMatrixOptions &options={}) const |
| | Ordered alternative scores from priority_map_at_p.
|
| |
| std::vector< InfluenceRawEntry > | influence_raw (const std::string &wrt_node, double delta_up=0.1, double delta_down=0.1, double p0=0.5, const LimitMatrixOptions &options={}) const |
| | Raw fixed-distance influence on alternative scores (incl.
|
| |
| std::vector< InfluenceRankEntry > | influence_rank (double error=1e-5, int round_to_decimal=5, const LimitMatrixOptions &options={}) const |
| | Rank influence score for each node (row) in this network.
|
| |
| std::vector< InfluenceMarginalEntry > | influence_marginal_smart (double delta=1e-6, const LimitMatrixOptions &options={}) const |
| | Smart-(p_0) marginal influence score for each node (row).
|
| |
| std::vector< InfluenceTotalEntry > | influence_total (double delta=0.25, const LimitMatrixOptions &options={}) const |
| | Fixed-distance total influence for each node (row).
|
| |
| Vector | perspective (const std::string &wrt_node, const P0Mode &p0mode=P0Mode::Direct(0.5), const LimitMatrixOptions &options={}) const |
| | Perspective of one node: limit as p approaches 1 of row sensitivity.
|
| |
| Matrix | perspective_matrix (const P0Mode &p0mode=P0Mode::Direct(0.5), const LimitMatrixOptions &options={}) const |
| | Perspective matrix: column j is perspective for node j.
|
| |
| const std::vector< JudgmentParticipant > & | participants () const |
| |
| std::vector< JudgmentParticipant > & | participants () |
| |
| const std::vector< JudgmentGroup > & | judgment_groups () const |
| |
| std::vector< JudgmentGroup > & | judgment_groups () |
| |
| const JudgmentSession & | judgment_session () const |
| |
|
void | set_judgment_session (JudgmentSession session) |
| | Sets session scope (does not rebuild; call rebuild_effective_judgments).
|
| |
| JudgmentParticipant & | add_participant (std::string id, std::string name, std::string email={}) |
| | Adds a participant if id is new.
|
| |
|
void | remove_participant (const std::string &id) |
| | Removes participant and their judgment tables.
|
| |
| JudgmentParticipant * | find_participant (const std::string &id) |
| |
|
const JudgmentParticipant * | find_participant (const std::string &id) const |
| | Const overload.
|
| |
| std::vector< std::string > | session_member_ids () const |
| | Participant ids contributing under the current session.
|
| |
| void | rebuild_effective_judgments () |
| | Rebuilds all effective pairwise/ratings slots from user tables and the current judgment_session.
|
| |
|
void | ensure_multiuser_initialized () |
| | Ensures every participant has user tables on existing links; migrates legacy effective-only data into default if needed.
|
| |
|
void | set_node_comparison_for (const std::string &user_id, const std::string &wrt_node, const std::string &a, const std::string &b, double value) |
| | Sets node pairwise for user_id (creates connections as needed).
|
| |
|
void | set_cluster_comparison_for (const std::string &user_id, const std::string &wrt_cluster, const std::string &a, const std::string &b, double value) |
| | Sets cluster pairwise for user_id.
|
| |
|
void | set_node_rating_for (const std::string &user_id, const std::string &wrt_node, const std::string &alt, const std::string &category_id) |
| | Sets categorical rating for user_id.
|
| |
|
void | set_node_rating_value_for (const std::string &user_id, const std::string &wrt_node, const std::string &alt, double raw) |
| | Sets numeric rating for user_id.
|
| |
Root ANP model: structure, judgments, supermatrices, and priorities.