Features
Public Member Functions | List of all members
features::feature_location_t Class Reference

#include <features.hpp>

Inheritance diagram for features::feature_location_t:
Inheritance graph
[legend]

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)
 

Detailed Description

Base class for all classes that perform feature location.

Constructor & Destructor Documentation

◆ feature_location_t()

features::feature_location_t::feature_location_t ( feature_id_t  n_,
feature_id_t  m_ 
)
inline

Constructor that requires the number of idependent features and the number of the model as parameters.

Here is the call graph for this function:

Member Function Documentation

◆ A()

const auto& features::feature_location_t::A ( ) const
inline

Returns the actual number of and-features.

Here is the caller graph for this function:

◆ all_systems()

const auto& features::feature_location_t::all_systems ( ) const
inline

Returns a collection wjth all systems.

Here is the caller graph for this function:

◆ AN()

const auto& features::feature_location_t::AN ( ) const
inline

Returns actual number of and-not-features.

Here is the caller graph for this function:

◆ D()

const auto& features::feature_location_t::D ( ) const
inline

Returns the number of all possible set differences of SPL systems.

Here is the caller graph for this function:

◆ DF()

const auto& features::feature_location_t::DF ( ) const
inline

Returns the actual number of inherently dependent features.

Here is the caller graph for this function:

◆ F()

const auto& features::feature_location_t::F ( ) const
inline

Returns the number of independent features, same as n().

Here is the caller graph for this function:

◆ generate_all_systems()

systems_t features::feature_location_t::generate_all_systems ( ) const
inline

Returns a collection of all systems of the SPL.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ generate_and_features()

feature_names_t features::feature_location_t::generate_and_features ( const std::vector< feature_id_t > &  f) const
inline

Creates and returns a collection with all names of and-features. Takes raw feature IDs for single system.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ generate_and_not_features()

feature_names_t features::feature_location_t::generate_and_not_features ( const std::vector< feature_id_t > &  nf) const
inline

Creates and returns a collection with all names of and-not-features. Takes raw feature IDs for single system.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ generate_independent_features()

feature_names_t features::feature_location_t::generate_independent_features ( const std::vector< feature_id_t > &  f) const
inline

Creates and returns a collection with all names of independent features. Takes raw feature IDs for single system.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ generate_not_features()

feature_names_t features::feature_location_t::generate_not_features ( const std::vector< feature_id_t > &  nf) const
inline

Creates and returns a collection with all names of not-features. Takes raw feature IDs for single system.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ generate_or_features()

feature_names_t features::feature_location_t::generate_or_features ( const std::vector< feature_id_t > &  f) const
inline

Creates and returns a collection with all names of or-features. Takes raw feature IDs for single system.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ generate_or_not_features()

feature_names_t features::feature_location_t::generate_or_not_features ( const std::vector< feature_id_t > &  nf) const
inline

Creates and returns a collection with all names of or-not-features. Takes raw feature IDs for single system.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ generate_system()

system_t features::feature_location_t::generate_system ( const std::vector< feature_id_t > &  f) const
inline

Creates and returns all feature names that define a system. Takes raw feature IDs for single system.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ M()

const auto& features::feature_location_t::M ( ) const
inline

Returns the number of selected model.

Here is the caller graph for this function:

◆ n()

const auto& features::feature_location_t::n ( ) const
inline

Returns the number of independent features, same as F().

Here is the caller graph for this function:

◆ N()

const auto& features::feature_location_t::N ( ) const
inline

Returns the actual number of not-features.

Here is the caller graph for this function:

◆ O()

const auto& features::feature_location_t::O ( ) const
inline

Returns the actual number of or-features.

Here is the caller graph for this function:

◆ ON()

const auto& features::feature_location_t::ON ( ) const
inline

Returns actual number of or-not-features.

Here is the caller graph for this function:

◆ print_header()

void features::feature_location_t::print_header ( std::ostream &  os = std::cout)
inline

Prints header for results of feature location analysis. Takes output stream as parameter with std::cout as default value.

Here is the call graph for this function:

◆ print_systems()

void features::feature_location_t::print_systems ( std::ostream &  os = std::cout)
inline

Prints all systems with the features that define them. Takes output stream as parameter with std::cout as default value.

Here is the call graph for this function:

◆ raw_dependent_features()

const std::vector<std::vector<feature_id_t> >& features::feature_location_t::raw_dependent_features ( ) const
inline

Returns a collection with collection of raw feature IDs that represents dependent features (with the exception of not-features).

Here is the caller graph for this function:

◆ raw_independent_features()

const std::vector<feature_id_t>& features::feature_location_t::raw_independent_features ( ) const
inline

Returns a collection with raw independent feature IDs.

Here is the caller graph for this function:

◆ S()

const auto& features::feature_location_t::S ( ) const
inline

Returns the number of systems of SPL.

Here is the caller graph for this function:

◆ T()

const auto& features::feature_location_t::T ( ) const
inline

Returns the actual total number of features.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: