Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
enough.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
Include dependency graph for enough.c:

Go to the source code of this file.

Classes

struct  tab
 

Macros

#define local   static
 
#define INDEX(i, j, k)   (((size_t)((i-1)>>1)*((i-2)>>1)+(j>>1)-1)*(max-1)+k-1)
 

Typedefs

typedef unsigned long long big_t
 
typedef unsigned long long code_t
 

Functions

static void cleanup (void)
 
static big_t count (int syms, int len, int left)
 
static int beenhere (int syms, int len, int left, int mem, int rem)
 
static void examine (int syms, int len, int left, int mem, int rem)
 
static void enough (int syms)
 
int main (int argc, char **argv)
 

Variables

static int max
 
static int root
 
static int large
 
static size_t size
 
static int * code
 
static big_tnum
 
static struct tabdone
 

Class Documentation

struct tab

Definition at line 112 of file enough.c.

Collaboration diagram for tab:
Collaboration graph
Class Members
size_t len
char * vec

Macro Definition Documentation

#define INDEX (   i,
  j,
 
)    (((size_t)((i-1)>>1)*((i-2)>>1)+(j>>1)-1)*(max-1)+k-1)

Definition at line 179 of file enough.c.

#define local   static

Definition at line 107 of file enough.c.

Typedef Documentation

typedef unsigned long long big_t

Definition at line 110 of file enough.c.

typedef unsigned long long code_t

Definition at line 111 of file enough.c.

Function Documentation

static int beenhere ( int  syms,
int  len,
int  left,
int  mem,
int  rem 
)
static

Definition at line 258 of file enough.c.

static void cleanup ( void  )
static

Definition at line 182 of file enough.c.

static big_t count ( int  syms,
int  len,
int  left 
)
static

Definition at line 203 of file enough.c.

static void enough ( int  syms)
static

Definition at line 403 of file enough.c.

static void examine ( int  syms,
int  len,
int  left,
int  mem,
int  rem 
)
static

Definition at line 322 of file enough.c.

int main ( int  argc,
char **  argv 
)

Definition at line 458 of file enough.c.

Variable Documentation

int* code
static

Definition at line 174 of file enough.c.

struct tab* done
static

Definition at line 176 of file enough.c.

int large
static

Definition at line 172 of file enough.c.

int max
static

Definition at line 170 of file enough.c.

big_t* num
static

Definition at line 175 of file enough.c.

int root
static

Definition at line 171 of file enough.c.

size_t size
static

Definition at line 173 of file enough.c.