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

#include <features.hpp>

Inheritance diagram for features::feature_location_calculation_t:
Inheritance graph
[legend]
Collaboration diagram for features::feature_location_calculation_t:
Collaboration graph
[legend]

Public Member Functions

 feature_location_calculation_t (feature_id_t n_, feature_id_t m_)
 
maxnat_t initialize_bitmask () const
 
const maxnat_tsystems_bitmask () const
 
system_feature_difference_t calculate_difference (maxnat_t index, const std::string &name) const
 
differences_t calculate_differences () const
 
differences_t differences () const
 
feature_expression_t calculate_independent_features () const
 
feature_expression_t calculate_or_features () const
 
feature_expression_t calculate_and_features () const
 
feature_expression_t calculate_not_features () const
 
feature_expression_t calculate_or_not_features () const
 
feature_expression_t calculate_and_not_features () const
 
feature_expression_t independent_features () const
 
feature_expression_t or_features () const
 
feature_expression_t and_features () const
 
feature_expression_t not_features () const
 
feature_expression_t or_not_features () const
 
feature_expression_t and_not_features () const
 
feature_expression_t all_features () 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)
 

Detailed Description

Class that performs feature location analysis by calculating only valid set differences. In this approach, only IDs for valid set differences are created.

Constructor & Destructor Documentation

◆ feature_location_calculation_t()

features::feature_location_calculation_t::feature_location_calculation_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

◆ all_features()

feature_expression_t features::feature_location_calculation_t::all_features ( ) const
inline

Returns collection with all feature names plus difference ID plus set difference.

Here is the caller graph for this function:

◆ and_features()

feature_expression_t features::feature_location_calculation_t::and_features ( ) const
inline

Returns collection with all and-feature names plus difference ID plus set difference.

◆ and_not_features()

feature_expression_t features::feature_location_calculation_t::and_not_features ( ) const
inline

Returns collection with all and-not-feature names plus difference ID plus set difference.

◆ calculate_and_features()

feature_expression_t features::feature_location_calculation_t::calculate_and_features ( ) const
inline

Calculates and returns collection of and-features.

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

◆ calculate_and_not_features()

feature_expression_t features::feature_location_calculation_t::calculate_and_not_features ( ) const
inline

Calculates and returns collection of and-not-features.

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

◆ calculate_difference()

system_feature_difference_t features::feature_location_calculation_t::calculate_difference ( maxnat_t  index,
const std::string &  name 
) const
inline

Calculates and returns set difference. Takes system ID and system name as parameters.

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

◆ calculate_differences()

differences_t features::feature_location_calculation_t::calculate_differences ( ) const
inline

Evaluates and returns collection with all valid system differences.

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

◆ calculate_independent_features()

feature_expression_t features::feature_location_calculation_t::calculate_independent_features ( ) const
inline

Calculates and returns collection of independent features.

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

◆ calculate_not_features()

feature_expression_t features::feature_location_calculation_t::calculate_not_features ( ) const
inline

Calculates and returns collection of not-features.

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

◆ calculate_or_features()

feature_expression_t features::feature_location_calculation_t::calculate_or_features ( ) const
inline

Calculates and returns collection of or-features.

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

◆ calculate_or_not_features()

feature_expression_t features::feature_location_calculation_t::calculate_or_not_features ( ) const
inline

Calculates and returns collection of or-not-features.

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

◆ differences()

differences_t features::feature_location_calculation_t::differences ( ) const
inline

Returns collection with valid system differences.

Here is the caller graph for this function:

◆ independent_features()

feature_expression_t features::feature_location_calculation_t::independent_features ( ) const
inline

Returns collection with all independent feature names plus difference ID plus set difference.

Here is the caller graph for this function:

◆ initialize_bitmask()

maxnat_t features::feature_location_calculation_t::initialize_bitmask ( ) const
inline

Calculates and returns bit mask that masks non-existant systems.

Here is the call graph for this function:

◆ not_features()

feature_expression_t features::feature_location_calculation_t::not_features ( ) const
inline

Returns collection with all not-feature names plus difference ID plus set difference.

Here is the caller graph for this function:

◆ or_features()

feature_expression_t features::feature_location_calculation_t::or_features ( ) const
inline

Returns collection with all or-feature names plus difference ID plus set difference.

◆ or_not_features()

feature_expression_t features::feature_location_calculation_t::or_not_features ( ) const
inline

Returns collection with all or-not-feature names plus difference ID plus set difference.

◆ print_intersections()

void features::feature_location_calculation_t::print_intersections ( const std::set< std::string > &  s,
std::ostream &  os = std::cout 
) const
inline

Prints intersection part, that is the left operand, of set difference. Takes output stream as parameter with std::cout as default value.

Here is the caller graph for this function:

◆ print_results()

void features::feature_location_calculation_t::print_results ( std::ostream &  os = std::cout) const
inline

Prints results of feature isolation. Takes output stream as parameter with std::cout as default value.

Here is the call graph for this function:

◆ print_unions()

void features::feature_location_calculation_t::print_unions ( const std::set< std::string > &  s,
std::ostream &  os = std::cout 
) const
inline

Prints union part, that is the right operand, of set difference. Takes output stream as parameter with std::cout as default value.

Here is the caller graph for this function:

◆ systems_bitmask()

const maxnat_t& features::feature_location_calculation_t::systems_bitmask ( ) const
inline

Returns bit mask that masks non-existant systems.

Here is the caller graph for this function:

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