CAFE
Computational Analysis of gene Family Evolution
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Globals.cpp File Reference
#include <stdexcept>
#include "Globals.h"
#include "viterbi.h"
#include "gene_family.h"
#include "cross_validator.h"
#include "family.h"
#include "cafe.h"

Functions

void cafe_shell_set_lambda (pCafeParam param, double *parameters)
 

Variables

pCafeParam cafe_param
 Holds the global program state that user commands act on. More...
 
pBirthDeathCacheArray probability_cache
 

Function Documentation

void cafe_shell_set_lambda ( pCafeParam  param,
double *  parameters 
)

Variable Documentation

pCafeParam cafe_param

Holds the global program state that user commands act on.

pBirthDeathCacheArray probability_cache

The variable cafe_param is a global singleton that holds general program state. cafe_param holds pcafe, a CafeTree, and pfamily, a CafeFamily . These are set by the user via the commands "tree" and "load" respectively. When the user calls the command "lambda" calculations are performed on the pcafe and pfamily variables.