version 1.21, 2009/01/07 05:33:18 |
version 1.22, 2009/02/08 02:47:10 |
|
|
/* $OpenXM: OpenXM_contrib2/asir2000/engine/nd.h,v 1.20 2009/01/05 02:08:18 noro Exp $ */ |
/* $OpenXM: OpenXM_contrib2/asir2000/engine/nd.h,v 1.21 2009/01/07 05:33:18 noro Exp $ */ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
#include "ox.h" |
#include "ox.h" |
Line 116 typedef struct oIndArray |
|
Line 116 typedef struct oIndArray |
|
} index; |
} index; |
} *IndArray; |
} *IndArray; |
|
|
|
typedef struct oNDVI { |
|
NDV p; |
|
int i; |
|
} *NDVI; |
|
|
extern int (*ndl_compare_function)(UINT *a1,UINT *a2); |
extern int (*ndl_compare_function)(UINT *a1,UINT *a2); |
extern int nd_dcomp; |
extern int nd_dcomp; |
|
|
Line 126 extern ND_pairs _ndp_free_list; |
|
Line 131 extern ND_pairs _ndp_free_list; |
|
extern struct order_spec *dp_current_spec; |
extern struct order_spec *dp_current_spec; |
extern char *Demand; |
extern char *Demand; |
extern VL CO; |
extern VL CO; |
extern int Top,Reverse,DP_Print,dp_nelim,do_weyl,NoSugar; |
extern int Top,Reverse,DP_Print,dp_nelim,do_weyl,NoSugar,GenTrace; |
extern int *current_weyl_weight_vector; |
extern int *current_weyl_weight_vector; |
extern int *current_module_weight_vector; |
extern int *current_module_weight_vector; |
|
|
Line 134 extern int *current_module_weight_vector; |
|
Line 139 extern int *current_module_weight_vector; |
|
#define TD(d) (d[0]) |
#define TD(d) (d[0]) |
#define HDL(d) ((d)->body->dl) |
#define HDL(d) ((d)->body->dl) |
#define HTD(d) (TD(HDL(d))) |
#define HTD(d) (TD(HDL(d))) |
|
#define HCU(d) ((d)->body->c) |
#define HCM(d) ((d)->body->c.m) |
#define HCM(d) ((d)->body->c.m) |
#define HCQ(d) ((d)->body->c.z) |
#define HCQ(d) ((d)->body->c.z) |
#define HCP(d) ((d)->body->c.p) |
#define HCP(d) ((d)->body->c.p) |
Line 252 int ndv_newps(int m,NDV a,NDV aq); |
|
Line 258 int ndv_newps(int m,NDV a,NDV aq); |
|
/* top level functions */ |
/* top level functions */ |
void nd_gr(LIST f,LIST v,int m,int f4,struct order_spec *ord,LIST *rp); |
void nd_gr(LIST f,LIST v,int m,int f4,struct order_spec *ord,LIST *rp); |
void nd_gr_trace(LIST f,LIST v,int trace,int homo,int f4,struct order_spec *ord,LIST *rp); |
void nd_gr_trace(LIST f,LIST v,int trace,int homo,int f4,struct order_spec *ord,LIST *rp); |
NODE nd_f4(int m); |
NODE nd_f4(int m,int **indp); |
NODE nd_gb(int m,int ishomo,int checkonly); |
NODE nd_gb(int m,int ishomo,int checkonly,int **indp); |
NODE nd_gb_trace(int m,int ishomo); |
NODE nd_gb_trace(int m,int ishomo,int **indp); |
NODE nd_f4_trace(int m); |
NODE nd_f4_trace(int m,int **indp); |
|
|
/* ndl functions */ |
/* ndl functions */ |
int ndl_weight(UINT *d); |
int ndl_weight(UINT *d); |
Line 283 int nd_nf(int mod,ND d,ND g,NDV *ps,int full,NDC dn,ND |
|
Line 289 int nd_nf(int mod,ND d,ND g,NDV *ps,int full,NDC dn,ND |
|
int nd_nf_pbucket(int mod,ND g,NDV *ps,int full,ND *nf); |
int nd_nf_pbucket(int mod,ND g,NDV *ps,int full,ND *nf); |
|
|
/* finalizers */ |
/* finalizers */ |
NODE ndv_reducebase(NODE x); |
NODE ndv_reducebase(NODE x,int *perm); |
NODE ndv_reduceall(int m,NODE f); |
NODE ndv_reduceall(int m,NODE f); |
|
|
/* allocators */ |
/* allocators */ |