Main Page | File List | Globals

score.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gmp.h>
#include <mpfr.h>
#include "score.h"
#include <db.h>
#include "store.h"

Functions

void score_initScoring (void)
void score_getProbability (int verbose)
mpfr_t * score_getChi2 (double chi, unsigned int df)
unsigned int * score_getScore (char *token)
void score_storeToken (char *token, int type)
void score_closedb (void)
void print_mpfr (char *string, mpfr_t var)
void triRapide (double *t, int debut, int fin, int *tind)
void partitionner (double *t, int debut, int fin, int *pPosition, int *tind)
void echanger (double *px, double *py)
void echangerInt (int *px, int *py)

Variables

DB * dbtemp = NULL
unsigned int BAD
unsigned int GOOD
double X = 0.4
double S = 2
double DEV = 0.4
mpfr_t sum
unsigned int valeur [2]
unsigned int tokens = 0

Function Documentation

void score_initScoring (  void   ) 
 

void score_getProbability (  int  verbose  ) 
 

mpfr_t* score_getChi2 (  double  chi,
unsigned int  df
) 
 

unsigned int* score_getScore (  char *  token  ) 
 

void score_storeToken (  char *  token,
int  type
) 
 

void score_closedb (  void   ) 
 

void print_mpfr (  char *  string,
mpfr_t  var
) 
 

void triRapide (  double *  t,
int  debut,
int  fin,
int *  tind
) 
 

void partitionner (  double *  t,
int  debut,
int  fin,
int *  pPosition,
int *  tind
) 
 

Used by function triRapide

void echanger (  double *  px,
double *  py
) 
 

Used by function triRapide

void echangerInt (  int *  px,
int *  py
) 
 

Used by function triRapide


Variable Documentation

DB* dbtemp = NULL [static]
 

unsigned int BAD [static]
 

unsigned int GOOD [static]
 

double X = 0.4 [static]
 

double S = 2 [static]
 

double DEV = 0.4 [static]
 

mpfr_t sum
 

unsigned int valeur[2]
 

unsigned int tokens = 0
 


Generated on Tue May 31 16:28:13 2005 for filterFlex by  doxygen 1.3.9.1