stat.h File Reference

#include "libqhull.h"
Include dependency graph for stat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  intrealT
struct  qhstatT

Defines

#define DEFqhstatT   1
#define MAYdebugx
#define qh_KEEPstatistics   1
#define qhstat   qh_qhstat.
#define wadd_(id, val)   {}
#define wmax_(id, val)   {}
#define wmin_(id, val)   {}
#define wval_(id)   qhstat tempr
#define wwadd_(id, val)   {MAYdebugx; qhstat stats[id].r += (val);}
#define wwmax_(id, val)   {MAYdebugx; maximize_(qhstat stats[id].r,(val));}
#define wwval_(id)   ((qhstat stats[id]).r)
#define zadd_(id, val)   {}
#define zdef_(type, name, doc, count)
#define zinc_(id)   {}
#define zmax_(id, val)   {}
#define zmin_(id, val)   {}
#define zval_(id)   qhstat tempi
#define zzadd_(id, val)   {MAYdebugx; qhstat stats[id].i += (val);}
#define zzdef_(stype, name, string, cnt)
#define zzinc_(id)   {MAYdebugx; qhstat stats[id].i++;}
#define zzval_(id)   ((qhstat stats[id]).i)

Typedefs

typedef union intrealT intrealT
typedef struct qhstatT qhstatT

Enumerations

enum  statistics {
  Zback0, Zbestdist, Zcentrumtests, Zcheckpart,
  Zconcaveridges, Zcoplanarhorizon, Zcoplanarpart, Zcoplanarridges,
  Zcyclefacettot, Zcyclehorizon, Zdelvertextot, Zdistcheck,
  Zdistconvex, Zdistzero, Zdoc1, Zdoc2,
  Zdoc3, Zdoc11, Zflippedfacets, Zgauss0,
  Zminnorm, Zmultiridge, Znearlysingular, Wnewvertexmax,
  Znumvisibility, Zpartcoplanar, Zpartition, Zpartitionall,
  Zprocessed, Zretry, Zridge, Wridge,
  Wridgemax, Zridge0, Wridge0, Wridge0max,
  Zridgemid, Wridgemid, Wridgemidmax, Zridgeok,
  Wridgeok, Wridgeokmax, Zsetplane, Ztotcheck,
  Ztotmerge, ZEND
}
enum  ztypes {
  zdoc, zinc, zadd, zmax,
  zmin, ZTYPEreal, wadd, wmax,
  wmin, ZTYPEend
}

Functions

void qh_allstatA (void)
void qh_allstatB (void)
void qh_allstatC (void)
void qh_allstatD (void)
void qh_allstatE (void)
void qh_allstatE2 (void)
void qh_allstatF (void)
void qh_allstatG (void)
void qh_allstatH (void)
void qh_allstatI (void)
void qh_allstatistics (void)
void qh_collectstatistics (void)
void qh_freestatistics (void)
void qh_initstatistics (void)
boolT qh_newstats (int idx, int *nextindex)
boolT qh_nostatistic (int i)
void qh_printallstatistics (FILE *fp, const char *string)
void qh_printstatistics (FILE *fp, const char *string)
void qh_printstatlevel (FILE *fp, int id, int start)
void qh_printstats (FILE *fp, int idx, int *nextindex)
realT qh_stddev (int num, realT tot, realT tot2, realT *ave)

Variables

qhstatT qh_qhstat

Define Documentation

#define DEFqhstatT   1

Definition at line 484 of file stat.h.

#define MAYdebugx

Definition at line 355 of file stat.h.

#define qh_KEEPstatistics   1

Definition at line 33 of file stat.h.

#define qhstat   qh_qhstat.

Definition at line 498 of file stat.h.

#define wadd_ ( id,
val   )     {}

Definition at line 402 of file stat.h.

#define wmax_ ( id,
val   )     {}

Definition at line 433 of file stat.h.

#define wmin_ ( id,
val   )     {}

Definition at line 447 of file stat.h.

#define wval_ ( id   )     qhstat tempr

Definition at line 418 of file stat.h.

#define wwadd_ ( id,
val   )     {MAYdebugx; qhstat stats[id].r += (val);}

Definition at line 396 of file stat.h.

#define wwmax_ ( id,
val   )     {MAYdebugx; maximize_(qhstat stats[id].r,(val));}

Definition at line 427 of file stat.h.

#define wwval_ ( id   )     ((qhstat stats[id]).r)

Definition at line 412 of file stat.h.

#define zadd_ ( id,
val   )     {}

Definition at line 401 of file stat.h.

#define zdef_ ( type,
name,
doc,
count   ) 

Definition at line 373 of file stat.h.

#define zinc_ ( id   )     {}

Definition at line 386 of file stat.h.

#define zmax_ ( id,
val   )     {}

Definition at line 432 of file stat.h.

#define zmin_ ( id,
val   )     {}

Definition at line 446 of file stat.h.

#define zval_ ( id   )     qhstat tempi

Definition at line 417 of file stat.h.

#define zzadd_ ( id,
val   )     {MAYdebugx; qhstat stats[id].i += (val);}

Definition at line 395 of file stat.h.

#define zzdef_ ( stype,
name,
string,
cnt   ) 
Value:
qhstat id[qhstat next++]=name; \
   qhstat doc[name]= string; qhstat count[name]= cnt; qhstat type[name]= stype

Definition at line 367 of file stat.h.

#define zzinc_ ( id   )     {MAYdebugx; qhstat stats[id].i++;}

Definition at line 382 of file stat.h.

#define zzval_ ( id   )     ((qhstat stats[id]).i)

Definition at line 411 of file stat.h.


Typedef Documentation

typedef union intrealT intrealT

Definition at line 459 of file stat.h.

typedef struct qhstatT qhstatT

Definition at line 485 of file stat.h.


Enumeration Type Documentation

enum statistics
Enumerator:
Zback0 
Zbestdist 
Zcentrumtests 
Zcheckpart 
Zconcaveridges 
Zcoplanarhorizon 
Zcoplanarpart 
Zcoplanarridges 
Zcyclefacettot 
Zcyclehorizon 
Zdelvertextot 
Zdistcheck 
Zdistconvex 
Zdistzero 
Zdoc1 
Zdoc2 
Zdoc3 
Zdoc11 
Zflippedfacets 
Zgauss0 
Zminnorm 
Zmultiridge 
Znearlysingular 
Wnewvertexmax 
Znumvisibility 
Zpartcoplanar 
Zpartition 
Zpartitionall 
Zprocessed 
Zretry 
Zridge 
Wridge 
Wridgemax 
Zridge0 
Wridge0 
Wridge0max 
Zridgemid 
Wridgemid 
Wridgemidmax 
Zridgeok 
Wridgeok 
Wridgeokmax 
Zsetplane 
Ztotcheck 
Ztotmerge 
ZEND 

Definition at line 287 of file stat.h.

enum ztypes
Enumerator:
zdoc 
zinc 
zadd 
zmax 
zmin 
ZTYPEreal 
wadd 
wmax 
wmin 
ZTYPEend 

Definition at line 345 of file stat.h.


Function Documentation

void qh_allstatA ( void   ) 

Definition at line 36 of file stat.c.

void qh_allstatB ( void   ) 

Definition at line 60 of file stat.c.

void qh_allstatC ( void   ) 

Definition at line 90 of file stat.c.

void qh_allstatD ( void   ) 

Definition at line 122 of file stat.c.

void qh_allstatE ( void   ) 

Definition at line 148 of file stat.c.

void qh_allstatE2 ( void   ) 

Definition at line 168 of file stat.c.

void qh_allstatF ( void   ) 

Definition at line 187 of file stat.c.

void qh_allstatG ( void   ) 

Definition at line 216 of file stat.c.

void qh_allstatH ( void   ) 

Definition at line 239 of file stat.c.

void qh_allstatI ( void   ) 

Definition at line 268 of file stat.c.

void qh_allstatistics ( void   ) 

Definition at line 299 of file stat.c.

void qh_collectstatistics ( void   ) 

Definition at line 710 of file stat.c.

void qh_freestatistics ( void   ) 

Definition at line 428 of file stat.c.

void qh_initstatistics ( void   ) 

Definition at line 446 of file stat.c.

boolT qh_newstats ( int  idx,
int *  nextindex 
)

Definition at line 516 of file stat.c.

boolT qh_nostatistic ( int  i  ) 

Definition at line 538 of file stat.c.

void qh_printallstatistics ( FILE *  fp,
const char *  string 
)
void qh_printstatistics ( FILE *  fp,
const char *  string 
)
void qh_printstatlevel ( FILE *  fp,
int  id,
int  start 
)

Definition at line 634 of file stat.c.

void qh_printstats ( FILE *  fp,
int  idx,
int *  nextindex 
)

Definition at line 671 of file stat.c.

realT qh_stddev ( int  num,
realT  tot,
realT  tot2,
realT *  ave 
)

Variable Documentation

Definition at line 21 of file stat.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Fri Jan 11 11:20:24 2013