PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches
gserialized_estimate_support.h File Reference
#include "postgres.h"
#include <limits.h>
#include <math.h>
Include dependency graph for gserialized_estimate_support.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ND_BOX_T
 
struct  ND_IBOX_T
 
struct  ND_STATS_T
 

Macros

#define ND_DIMS   4
 

Typedefs

typedef struct ND_BOX_T ND_BOX
 
typedef struct ND_IBOX_T ND_IBOX
 
typedef struct ND_STATS_T ND_STATS
 

Functions

static int nd_stats_value_index (const ND_STATS *stats, const int *indexes)
 
static int histogram_cell_budget (double total_rows, int ndims, int attstattarget)
 
static int histogram_axis_cells (int histo_cells_target, int histo_ndims, double edge_ratio)
 
static double nd_box_ratio (const ND_BOX *cover, const ND_BOX *target, int ndims)