Ignore:
Timestamp:
Jun 26, 2008 7:46:14 PM (14 years ago)
Author:
liveletlive
Message:

Added changes to accomodate gaussian profiles and random number distribution selection on a per gene basis.
also changed the mutation to a per gene based mutation if specified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/optimizer/src/rp_optimizer.c

    r899 r1070  
    114114    numPtr->min = -DBL_MAX;
    115115    numPtr->max = DBL_MAX;
     116    numPtr->mutnrate = PARAM_NUM_UNSPEC_MUTN_RATE; /*Unspecified by default, should result in global mutn rate being applied*/
     117    numPtr->randdist = RAND_NUMBER_DIST_GAUSSIAN ;/*Gaussian by default*/
     118    numPtr->stddev = 1;
     119    numPtr->mean = 0;
     120    numPtr->strictmax = 0; /*no strict truncation by default*/
     121    numPtr->strictmax = 0; /*no strict maximum truncation by default*/
    116122
    117123    RpOptimAddParam(envPtr, (RpOptimParam*)numPtr);
Note: See TracChangeset for help on using the changeset viewer.