From db295005e1d0fb1d6ab2724caa79aeb6d431a148 Mon Sep 17 00:00:00 2001 From: hackbard Date: Thu, 18 Nov 2004 17:13:09 +0000 Subject: [PATCH] changed default values --- dfe.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dfe.c b/dfe.c index 208b1a6..53c5c36 100644 --- a/dfe.c +++ b/dfe.c @@ -34,11 +34,11 @@ typedef struct s_gp { #define RANGE 4 -#define X_ 50 -#define Y_ 10 +#define X_ 100 +#define Y_ 20 -#define STEPS 100 -#define PLOT 1 +#define STEPS 1000 +#define PLOT 10 int main(int argc,char **argv) { @@ -175,7 +175,7 @@ int main(int argc,char **argv) { gp_ptr->fy=sf[1]+lf[1]+((1.0*rand()/RAND_MAX)-0.5)/rs; if(gp_ptr->y==0) gp_ptr->fy+=by; if(gp_ptr->status&FEST) { - gp_ptr->fy+=(bf*exp(-y*1.0/100)); + gp_ptr->fy+=(bf*exp(-y*1.0/1000)); if(gp_ptr->fx>0) { gp_ptr->fx-=gp_ptr->pp; if(gp_ptr->fx<0) gp_ptr->fx=0; -- 2.39.2