|
anpcpp 0.1.0
Analytic Network Process computational library
|
Stores either pairwise or ratings judgments for one dest cluster. More...
#include <network.hpp>
Public Member Functions | |
| const std::vector< std::string > & | alternatives () const |
| bool | empty () const |
| bool | has_alternative (const std::string &name) const |
| void | add_alternative (const std::string &name, bool ignore_existing=false) |
Adds name to the active prioritizer. | |
| void | remove_alternative (const std::string &name, bool ignore_missing=false) |
Removes name from the active prioritizer. | |
| Vector | priorities () const |
| void | set_kind (NodePrioritizerKind new_kind) |
| Switches kind, preserving the alternative name list. | |
Stores either pairwise or ratings judgments for one dest cluster.
| const std::vector< std::string > & anpcpp::NodePrioritizerSlot::alternatives | ( | ) | const |
| bool anpcpp::NodePrioritizerSlot::empty | ( | ) | const |
| bool anpcpp::NodePrioritizerSlot::has_alternative | ( | const std::string & | name | ) | const |
name is an alternative in the active prioritizer. | Vector anpcpp::NodePrioritizerSlot::priorities | ( | ) | const |
| void anpcpp::NodePrioritizerSlot::set_kind | ( | NodePrioritizerKind | new_kind | ) |
Switches kind, preserving the alternative name list.
Pairwise is reset to an identity diagonal; ratings start empty with numeric + Identity interpreter.