18template<
typename First,
typename ... Next>
20 static constexpr bool value {(std::is_same_v<First,Next> && ...)};
22template<
typename First,
typename ... Next>
28template<
typename First,
typename ... Next>
30 static constexpr bool value {(std::is_same_v<First,Next> || ...)};
32template<
typename First,
typename ... Next>
35template<
typename T,
typename ... U>
36concept IsAnyOf = (std::same_as<T, U> || ...);
39typedef Eigen::Array<bool,Eigen::Dynamic,1>
ArrayXb;
40typedef Eigen::Array<int,Eigen::Dynamic,1>
ArrayXi;
41typedef Eigen::Array<bool,Eigen::Dynamic,Eigen::Dynamic>
ArrayXXb;
42typedef Eigen::Array<int,Eigen::Dynamic,Eigen::Dynamic>
ArrayXXi;
45typedef ceres::Jet<float, stride>
fJet;
46typedef ceres::Jet<int, stride>
iJet;
47typedef ceres::Jet<bool, stride>
bJet;
52typedef Eigen::Array<fJet,Eigen::Dynamic,Eigen::Dynamic>
ArrayXXfJet;
53typedef Eigen::Array<iJet,Eigen::Dynamic,Eigen::Dynamic>
ArrayXXiJet;
54typedef Eigen::Array<bJet,Eigen::Dynamic,Eigen::Dynamic>
ArrayXXbJet;
60 typedef std::conditional_t<
77template<PT T>
struct Program;
86 template<Brush::ProgramType T>
class Individual;
96template<PT T>
class Engine;
119 typedef std::variant<
166NLOHMANN_JSON_SERIALIZE_ENUM(
DataType, {
242template <
typename V,
size_t n>
250 : std::is_base_of<Eigen::ArrayBase<std::decay_t<T> >, std::decay_t<T> > {};
256template <
typename>
struct is_tuple: std::false_type {};
257template <
typename ...T>
struct is_tuple<
std::tuple<T...>>: std::true_type {};
The Engine class represents the core engine of the brush library.
TimeSeries< float > TimeSeriesf
namespace containing Data structures used in Brush
TimeSeries< fJet > TimeSeriesfJet
TimeSeries< iJet > TimeSeriesiJet
TimeSeries< bool > TimeSeriesb
TimeSeries convenience typedefs.
TimeSeries< float > TimeSeriesf
TimeSeries< bJet > TimeSeriesbJet
std::variant< ArrayXb, ArrayXi, ArrayXf, ArrayXXb, ArrayXXi, ArrayXXf, TimeSeriesb, TimeSeriesi, TimeSeriesf, ArrayXbJet, ArrayXiJet, ArrayXfJet, ArrayXXbJet, ArrayXXiJet, ArrayXXfJet, TimeSeriesbJet, TimeSeriesiJet, TimeSeriesfJet > State
defines the possible types of data flowing thru nodes.
TimeSeries< int > TimeSeriesi
< nsga2 selection operator for getting the front
static constexpr bool is_tuple_v
Program< PT::Representer > RepresenterProgram
ceres::Jet< int, stride > iJet
Eigen::Array< bool, Eigen::Dynamic, 1 > ArrayXb
ceres::Jet< bool, stride > bJet
Eigen::Array< int, Eigen::Dynamic, Eigen::Dynamic > ArrayXXi
typename WeightType< T >::type WeightType_t
Eigen::Array< bJet, Eigen::Dynamic, Eigen::Dynamic > ArrayXXbJet
Program< PT::BinaryClassifier > ClassifierProgram
Engine< PT::MulticlassClassifier > MulticlassClassifierEngine
Engine< PT::Regressor > RegressorEngine
static constexpr bool is_eigen_array_v
static constexpr bool is_one_of_v
static constexpr bool all_same_v
Eigen::Array< bool, Eigen::Dynamic, Eigen::Dynamic > ArrayXXb
Eigen::Array< fJet, Eigen::Dynamic, 1 > ArrayXfJet
Pop::Individual< PT::MulticlassClassifier > MulticlassClassifierIndividual
Engine< PT::BinaryClassifier > ClassifierEngine
Eigen::Array< int, Eigen::Dynamic, 1 > ArrayXi
Eigen::Array< bJet, Eigen::Dynamic, 1 > ArrayXbJet
Pop::Individual< PT::Representer > RepresenterIndividual
Eigen::Array< fJet, Eigen::Dynamic, Eigen::Dynamic > ArrayXXfJet
Program< PT::Regressor > RegressorProgram
Eigen::Array< iJet, Eigen::Dynamic, 1 > ArrayXiJet
Pop::Individual< PT::BinaryClassifier > ClassifierIndividual
static constexpr int stride
static constexpr bool is_std_array_v
Eigen::Array< iJet, Eigen::Dynamic, Eigen::Dynamic > ArrayXXiJet
Pop::Individual< PT::Regressor > RegressorIndividual
Program< PT::MulticlassClassifier > MulticlassClassifierProgram
Engine< PT::Representer > RepresenterEngine
ceres::Jet< float, stride > fJet
TimeSeries< bool > TimeSeriesb
TimeSeries convenience typedefs.
TimeSeries< int > TimeSeriesi
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
static constexpr DT value
Stores time series data and implements operators over it.
An individual program, a.k.a. model.
Returns the weight type associated with the scalar type underlying T.
std::conditional_t< is_one_of_v< typename T::Scalar, fJet, iJet, bJet >, fJet, float > type
checks whether all the types match.
static constexpr bool value
checks whether any of the types match the first one.
static constexpr bool value
Stores time series data and implements operators over it.