Definition at line 14 of file reinsertion_optimizer.h.
Classes | |
struct | Candidate |
struct | Config |
struct | Reinsertion |
Static Public Member Functions | |
static void | optimize (Bvh< Node > &bvh, const Config &config={}) |
static void | optimize (ThreadPool &thread_pool, Bvh< Node > &bvh, const Config &config={}) |
Private Types | |
using | BBox = bvh::v2::BBox<Scalar, Node::dimension> |
using | Scalar = typename Node::Scalar |
Private Member Functions | |
ReinsertionOptimizer (Bvh< Node > &bvh, std::vector< size_t > &&parents) | |
BVH_ALWAYS_INLINE std::vector< Candidate > | find_candidates (size_t target_count) |
Reinsertion | find_reinsertion (size_t node_id) |
BVH_ALWAYS_INLINE auto | get_conflicts (size_t from, size_t to) |
template<typename Derived > | |
void | optimize (Executor< Derived > &executor, const Config &config) |
BVH_ALWAYS_INLINE void | refit_from (size_t index) |
BVH_ALWAYS_INLINE void | reinsert_node (size_t from, size_t to) |
Static Private Member Functions | |
template<typename Derived > | |
static std::vector< size_t > | compute_parents (Executor< Derived > &executor, const Bvh< Node > &bvh) |
template<typename Derived > | |
static void | optimize (Executor< Derived > &executor, Bvh< Node > &bvh, const Config &config) |
Private Attributes | |
Bvh< Node > & | bvh_ |
std::vector< size_t > | parents_ |
#include <bvh/v2/reinsertion_optimizer.h>
|
private |
Definition at line 16 of file reinsertion_optimizer.h.
|
private |
Definition at line 15 of file reinsertion_optimizer.h.
|
inlineprivate |
Definition at line 60 of file reinsertion_optimizer.h.
|
inlinestaticprivate |
Definition at line 72 of file reinsertion_optimizer.h.
|
inlineprivate |
Definition at line 88 of file reinsertion_optimizer.h.
|
inlineprivate |
Definition at line 107 of file reinsertion_optimizer.h.
|
inlineprivate |
Definition at line 227 of file reinsertion_optimizer.h.
|
inlinestatic |
Definition at line 32 of file reinsertion_optimizer.h.
|
inlinestaticprivate |
Definition at line 66 of file reinsertion_optimizer.h.
|
inlineprivate |
Definition at line 237 of file reinsertion_optimizer.h.
|
inlinestatic |
Definition at line 27 of file reinsertion_optimizer.h.
|
inlineprivate |
Definition at line 215 of file reinsertion_optimizer.h.
|
inlineprivate |
Definition at line 190 of file reinsertion_optimizer.h.
Definition at line 57 of file reinsertion_optimizer.h.
|
private |
Definition at line 58 of file reinsertion_optimizer.h.