Fermat
Public Types | Public Methods | Public Members | List of all members
AdaptiveClusteredRLStorage Struct Reference

Detailed description

Host-side class to handle the storage of an Adaptively Clustered Reinforcement Learning sampler (Clustered RL).

#include <clustered_rl.h>

Public Types

typedef AdaptiveClusteredRLView view_type
 

Public Methods

uint64 needed_bytes (const uint32 _hash_size, const uint32 _n_clusters) const
 
void init (const uint32 _hash_size, const cugar::Bvh_node_3d *_nodes, const uint32 *_parents, const uint2 *_ranges, const uint32 _n_clusters, const uint32 *_cluster_indices, const uint32 *_cluster_offsets)
 
void update (bool adaptive=true)
 
void clear ()
 
uint32 size () const
 

Public Members

DeviceHashTable hashmap
 
DomainBuffer< CUDA_BUFFER, float > values
 
const cugar::Bvh_node_3dnodes
 
const uint32 * parents
 
const uint2 * ranges
 
uint32 hash_size
 
DomainBuffer< CUDA_BUFFER, uint32 > cluster_counts
 
DomainBuffer< CUDA_BUFFER, uint32 > cluster_indices
 
DomainBuffer< CUDA_BUFFER, uint32 > cluster_ends
 
uint32 init_cluster_count
 
const uint32 * init_cluster_indices
 
const uint32 * init_cluster_offsets
 

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