ROL
Loading...
Searching...
No Matches
ROL_UniformSimplexGenerator.hpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Rapid Optimization Library (ROL) Package
4//
5// Copyright 2014 NTESS and the ROL contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10#ifndef ROL_UNIFORMSIMPLEXGENERATOR_HPP
11#define ROL_UNIFORMSIMPLEXGENERATOR_HPP
12
14
15namespace ROL {
16
17template<typename Real>
19private:
20 const int dim_;
21
22protected:
23 std::vector<std::vector<Real>> sample(int nSamp, bool store = true, bool refine = false);
24
25public:
27 int dim,
28 const Ptr<BatchManager<Real>> &bman,
29 bool use_SA = false,
30 bool adaptive = false,
31 int numNewSamps = 0);
32
33};
34
35}
36
38
39#endif
std::vector< std::vector< Real > > sample(int nSamp, bool store=true, bool refine=false)
constexpr auto dim