|
| | 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 | clear_subnetwork (const std::string &node_name) |
| | Clears a node's subnetwork.
|
| |
| const SynthesisOptions & | synthesis_options () const noexcept |
| |
|
void | set_synthesis_options (SynthesisOptions options) |
| | Sets synthesis 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 |
| |
Root ANP model: structure, judgments, supermatrices, and priorities.