Features
|
#include <features.hpp>
Public Member Functions | |
feature_location_t (feature_id_t n_, feature_id_t m_) | |
const auto & | n () const |
const auto & | F () const |
const auto & | S () const |
const auto & | M () const |
const auto & | O () const |
const auto & | A () const |
const auto & | N () const |
const auto & | ON () const |
const auto & | AN () const |
const auto & | DF () const |
const auto & | T () const |
const auto & | D () const |
feature_names_t | generate_independent_features (const std::vector< feature_id_t > &f) const |
feature_names_t | generate_or_features (const std::vector< feature_id_t > &f) const |
feature_names_t | generate_and_features (const std::vector< feature_id_t > &f) const |
feature_names_t | generate_not_features (const std::vector< feature_id_t > &nf) const |
feature_names_t | generate_or_not_features (const std::vector< feature_id_t > &nf) const |
feature_names_t | generate_and_not_features (const std::vector< feature_id_t > &nf) const |
system_t | generate_system (const std::vector< feature_id_t > &f) const |
systems_t | generate_all_systems () const |
const std::vector< feature_id_t > & | raw_independent_features () const |
const std::vector< std::vector< feature_id_t > > & | raw_dependent_features () const |
const auto & | all_systems () const |
void | print_header (std::ostream &os=std::cout) |
void | print_systems (std::ostream &os=std::cout) |
Base class for all classes that perform feature location.
|
inline |
Constructor that requires the number of idependent features and the number of the model as parameters.
|
inline |
Returns the actual number of and-features.
|
inline |
Returns a collection wjth all systems.
|
inline |
Returns actual number of and-not-features.
|
inline |
Returns the number of all possible set differences of SPL systems.
|
inline |
Returns the actual number of inherently dependent features.
|
inline |
Returns the number of independent features, same as n().
|
inline |
Returns a collection of all systems of the SPL.
|
inline |
Creates and returns a collection with all names of and-features. Takes raw feature IDs for single system.
|
inline |
Creates and returns a collection with all names of and-not-features. Takes raw feature IDs for single system.
|
inline |
Creates and returns a collection with all names of independent features. Takes raw feature IDs for single system.
|
inline |
Creates and returns a collection with all names of not-features. Takes raw feature IDs for single system.
|
inline |
Creates and returns a collection with all names of or-features. Takes raw feature IDs for single system.
|
inline |
Creates and returns a collection with all names of or-not-features. Takes raw feature IDs for single system.
|
inline |
Creates and returns all feature names that define a system. Takes raw feature IDs for single system.
|
inline |
Returns the number of selected model.
|
inline |
Returns the number of independent features, same as F().
|
inline |
Returns the actual number of not-features.
|
inline |
Returns the actual number of or-features.
|
inline |
Returns actual number of or-not-features.
|
inline |
Prints header for results of feature location analysis. Takes output stream as parameter with std::cout as default value.
|
inline |
Prints all systems with the features that define them. Takes output stream as parameter with std::cout as default value.
|
inline |
Returns a collection with collection of raw feature IDs that represents dependent features (with the exception of not-features).
|
inline |
Returns a collection with raw independent feature IDs.
|
inline |
Returns the number of systems of SPL.
|
inline |
Returns the actual total number of features.