HOG2
Classes | Functions | Variables
EnvUtil.h File Reference
#include <iostream>
#include <vector>
#include <cassert>
#include <stdint.h>
#include <cstdio>
#include <cinttypes>
Include dependency graph for EnvUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bucketInfo
 
struct  bucketData
 
struct  bucketChanges
 

Functions

template<class Environment , class State >
void InitTwoPieceData (std::vector< bucketInfo > &data, uint64_t maxBucketSize)
 
template<class Environment , class State >
void InitBucketSize (std::vector< bucketData > &buckets, uint64_t maxBucketSize)
 
template<class Environment , class State >
void InitChanges (std::vector< bucketData > &buckets, std::vector< bucketChanges > &twoPieceChanges, uint64_t maxBucketSize)
 
template<class Environment , class State >
uint64_t GetMaxBucketSize (bool print)
 

Variables

const int openSize = 256
 
const int numBuckets = 2
 

Function Documentation

◆ GetMaxBucketSize()

template<class Environment , class State >
uint64_t GetMaxBucketSize ( bool  print)

Definition at line 206 of file EnvUtil.h.

References numBuckets.

◆ InitBucketSize()

template<class Environment , class State >
void InitBucketSize ( std::vector< bucketData > &  buckets,
uint64_t  maxBucketSize 
)

Definition at line 108 of file EnvUtil.h.

References openSize.

◆ InitChanges()

template<class Environment , class State >
void InitChanges ( std::vector< bucketData > &  buckets,
std::vector< bucketChanges > &  twoPieceChanges,
uint64_t  maxBucketSize 
)

Definition at line 152 of file EnvUtil.h.

References openSize.

◆ InitTwoPieceData()

template<class Environment , class State >
void InitTwoPieceData ( std::vector< bucketInfo > &  data,
uint64_t  maxBucketSize 
)

Definition at line 66 of file EnvUtil.h.

References openSize.

Variable Documentation

◆ numBuckets

const int numBuckets = 2

Definition at line 20 of file EnvUtil.h.

Referenced by generatePaths(), and GetMaxBucketSize().

◆ openSize

const int openSize = 256