LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::qn::FeatureSet Class Reference

A subset of the registry: MATLAB's SolverFeatureSet, whose list is a flag per field. More...

#include <line/lang/qn/feature_set.h>

Public Member Functions

 FeatureSet ()
FeatureSetset (Feature f)
FeatureSetset (std::initializer_list< Feature > fs)
FeatureSetunset (Feature f)
bool has (Feature f) const
std::vector< Featurelist () const
 The features held, in registry order.
bool empty () const

Detailed Description

A subset of the registry: MATLAB's SolverFeatureSet, whose list is a flag per field.

Definition at line 387 of file feature_set.h.

Constructor & Destructor Documentation

◆ FeatureSet()

line::qn::FeatureSet::FeatureSet ( )
inline

Definition at line 389 of file feature_set.h.

References line::qn::feature_count().

Referenced by set(), set(), and unset().

Member Function Documentation

◆ empty()

bool line::qn::FeatureSet::empty ( ) const
inline

Definition at line 413 of file feature_set.h.

◆ has()

bool line::qn::FeatureSet::has ( Feature f) const
inline

Definition at line 403 of file feature_set.h.

References line::qn::COUNT.

Referenced by line::qn::feature_set_supports().

◆ list()

std::vector< Feature > line::qn::FeatureSet::list ( ) const
inline

The features held, in registry order.

Definition at line 407 of file feature_set.h.

◆ set() [1/2]

◆ set() [2/2]

FeatureSet & line::qn::FeatureSet::set ( std::initializer_list< Feature > fs)
inline

Definition at line 395 of file feature_set.h.

References FeatureSet(), and set().

◆ unset()


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