Features
|
#include <features.hpp>
Public Member Functions | |
feature_location_isolation_t (feature_id_t n_, feature_id_t m_) | |
feature_names_t | generate_independent_features () const |
feature_names_t | generate_or_features () const |
feature_names_t | generate_and_features () const |
feature_names_t | generate_not_features () const |
feature_names_t | generate_or_not_features () const |
feature_names_t | generate_and_not_features () const |
const feature_names_t & | independent_features () const |
const std::vector< std::string > & | or_features () const |
const std::vector< std::string > & | and_features () const |
const std::vector< std::string > & | not_features () const |
const std::vector< std::string > & | or_not_features () const |
const std::vector< std::string > & | and_not_features () const |
const std::vector< std::string > & | all_features () const |
const features_isolation_t & | feature_isolations () const |
features_isolation_t | generate_feature_isolations () const |
void | print_intersections (const std::set< std::string > &s, std::ostream &os=std::cout) const |
void | print_unions (const std::set< std::string > &s, std::ostream &os=std::cout) const |
void | print_results (std::ostream &os=std::cout) const |
Public Member Functions inherited from features::feature_location_t | |
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) |
Class that performs feature location analysis based on feature isolation. In this approach, no IDs for set differences are created.
|
inline |
Constructor that requires the number of independent features and the number of the model as parameters.
|
inline |
Returns collection with all features.
|
inline |
Returns collection with all and-features.
|
inline |
Returns collection with all and-not-features.
|
inline |
Returns collection with all feature isolations.
|
inline |
Creates and returns a collection with all names of and-features of all systems of the SPL.
|
inline |
Creates and returns a collection with all names of and-not-features of all systems of the SPL.
|
inline |
Creates and returns collection with all feature isolations.
|
inline |
Creates and returns a collection with all names of independent features of all systems of the SPL.
|
inline |
Creates and returns a collection with all names of not-features of all systems of the SPL.
|
inline |
Creates and returns a collection with all names of or-features of all systems of the SPL.
|
inline |
Creates and returns a collection with all names of or-not-features of all systems of the SPL.
|
inline |
Returns collection with all independent features.
|
inline |
Returns collection with all not-features.
|
inline |
Returns collection with all or-features.
|
inline |
Returns collection with all or-not-features.
|
inline |
Prints intersection part, that is the left operand, of set difference. Takes output stream as parameter with std::cout as default value.
|
inline |
Prints results of feature isolation. Takes output stream as parameter with std::cout as default value.
|
inline |
Prints union part, that is the right operand, of set difference. Takes output stream as parameter with std::cout as default value.