OpenCog Framework  Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IndefiniteTruthValue.cc File Reference
#include <gsl/gsl_math.h>
#include <gsl/gsl_integration.h>
#include "IndefiniteTruthValue.h"
#include <opencog/util/platform.h>
#include <opencog/util/exceptions.h>
+ Include dependency graph for IndefiniteTruthValue.cc:

Go to the source code of this file.

Macros

#define W()   getU()-getL();
 
#define DPRINTF(...)
 

Functions

static double integralFormula (double x, void *params)
 
static strength_t DensityIntegral (strength_t lower, strength_t upper, strength_t L_, strength_t U_, count_t k_, strength_t s_)
 

Macro Definition Documentation

#define DPRINTF (   ...)

Definition at line 37 of file IndefiniteTruthValue.cc.

#define W ( )    getU()-getL();

Definition at line 34 of file IndefiniteTruthValue.cc.

Function Documentation

static strength_t DensityIntegral ( strength_t  lower,
strength_t  upper,
strength_t  L_,
strength_t  U_,
count_t  k_,
strength_t  s_ 
)
static

Definition at line 60 of file IndefiniteTruthValue.cc.

References integralFormula(), and python.bindlink::result.

+ Here is the caller graph for this function:

static double integralFormula ( double  x,
void *  params 
)
static

Definition at line 48 of file IndefiniteTruthValue.cc.

+ Here is the caller graph for this function: