⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gaf.doc

📁 王小平《遗传算法——理论、应用与软件实现》随书光盘
💻 DOC
📖 第 1 页 / 共 4 页
字号:
        only first two columns on the left (the status and rule number).

    6: Select no plot mode
        This display mode removes plot window from the right portion.  So the
        combined result and firing window are displayed on the right along
        with text window on the left.

    7: Select text only mode
        This mode shows the text window only.  Because graphics, i.e. trend
        plot draw result, and draw firing condition, takes much of CPU time,
        this mode allows you to speed up the test or control.

    P: Plot duration
        The default plot frame period is five seconds (except in auto clock
        mode).  Use this option to change the frame duration, the value is
        specified in seconds.

    C: Color/monochrome
        Use this option to switch between color and mono mode.

    W: Window split (Change size of text window)
        Allows user to change the size of the text window.  The value is
        specified in percent, i.e. 60 means that text window occupies 60% of
        the display window.  If the value is greater than 90, GAF
        automatically switches to text only mode.  If the value is less than
        10, GAF shuts text window off (except the left most two columns).

    D: Display local variable
        The default display mode is to display/plot IN, OUT, and INOUT
        variables. The LOCAL variables are not displayed.  Use this option to
        enable LOCAL variables.


Adapt: Setup adapt environment
    The adapt menu is used to change the overall environment for genetic
    adaptation.  See the Method section for more information about
    controlling the genetic algorithm.

    C: Continuous mode
        Set the adaptation to continuous mode without pause or delay, unless
        user interferes.  The continuous mode is the default mode after
        starting adaptation.

    P: Iteration pause
    Y: Pause per cycle
        These two options allow user to halt the adapting process in order
        to examine it.  The iteration pause is to halt at the end of each
        iteration.  The cycle pause is to halt at the end of each preset cycle. 
        Type 'C' to continue, press Alt-C to switch back to continuous mode.

    S: Sample number
        Specifies number of samples should be taken for calculating each
        preset test's evaluation result.

    W: Weight increment
        GAF uses linear propotional weight for random selecting from the
        gene pool.  This option is to set the linear increment of the weight. 
        For example the increment is 2, then the weight for the best in the
        gene pool will be 2 * 100 = 200, and the weight for the worst in the
        pool will be 2.

    B: Max best items
        The number of items kept in the best list (gene pool).  The limit of
        this value is 1 to 10.

    I: Max iteration
        This allows user to specify the maximum number of iterations.  GAF
        stops after this number of iterations is reached.  If the value is
        less than or equal to 0, there is no limit.

    T: Test time
        As explained the test time is the time for each preset test before
        evaluate the result.  Use this to set the proper value, in general it
        should be greater than the rising time for the longest response in all
        preset tests.

    D: Iteration delay
    L: Cycle delay
        Instead pause for each iteration/preset cycle, users can specify
        time delay between iterations or preset cycles.  Zero value means
        continuous.

    O: Minimum score
        This value defines the minimum score for a successful preset test
        cycle.  GAF tries to go through all preset tests, but stops after any
        preset test failed to score the minimum value.  The default value is
        0.6.

    A: Adapt segment
        Use this option to change the segment you want to adapt.  The name
        of the selected adapt segment is shown on the next line in the menu. 
        Note that the selected adapt segment may not be the same as the
        selected display segment.

    U: Use best list
    G: Use original segment
        The first option allows user to pick one adaptation out of the best
        list and then switch to simulation mode for testing or debugging.  The
        "Use original segment" option allows user to switch back to the
        original segment, which is loaded from the file.

    R: Reset best list
        This option allows user to clear the gene pool, i.e. delete every
        sample in the gene pool.


Feedback: Setup feedback module
    GAF supports two kinds of feedback modules.  The first one is using user
    data, from field measured data or generated from higher level model.  The
    other choice is to use user defined feedback segment.

    A user defined segment is just like a control segment with FEEDBACK
    keyword instead of SEGMENT.  You can define the feedback segment with
    fuzzy rules or with math formulas.  Multiple feedback segments are
    allowed.  The outputs from feedback segment(s) are routed to all segments'
    inputs if they have the same variable name.  Please refer to Fuzzy Control
    Language (FCL) guide for constructing a GAF segment.

    To use user data as feedback, user simply put data in a text file with
    spread sheet like format, i.e., one column per variable, with different
    variables in a row.  The data must be an evenly distributed complete data
    set with both input and output variables specified like a feedback
    segment.  GAF only has limited capability to handle non-evenly distributed
    data set.  The output variables defined in this file will be treated as
    output of a feedback segment.  Besides put data in the text file, user can
    specify following options in the same file or interactively.
            whether to compress data or not
            type of fuzzy set
            bandwidth of fuzzy set

    D: Use feedback data
        With this option to select the use of feedback data specified in a
        text data file.  This option and the option "user feedback" are
        mutually exclusive.

    R: Reload data
        Use this option to load or reload data from specified data file.

    F: Feedback data file
        This option specifies the file name of the text feedback data file.

    E: Examine feedback
        Use this option to check/examine the response of the feedback.  When
        selected, GAF uses check segment mode for user to examine its
        response.

    U: User feedback
    S: Feedback segment
        These two options are used to specify user defined feedback segment. 
        Use 'U' to select user feedback.  This will deselect feedback data
        option.  The "feedback segment" option specifies which one is the
        feedback segment.


Evaluation: Setup evaluation module
    The Eval menu provides user for specifying type of evaluations and
    related parameters.  There are two types of evaluation: the user defined
    evaluation segment and the canned evaluation.  With user evaluation
    segment, the user has to specify which segment is the evaluation segment
    and what is the final result (an output variable) of the evaluation.  The
    default evaluation segment name is "EVALUATION", and the default result
    variable is "EVAL_RESULT".  When user starts adapt mode, GAF tries to
    find both evaluation segment and result variable, if not defined GAF
    stops.  With GAF supported canned evaluation the user must specify
    following information:
            variable(s) to evaluate
            the target of those variable(s)
            the deadbands of those variable(s)
            the rising time
            the preset tests
    User can use non-symmetric deadband to achieve overshoot or undershoot
    requirements.

    D: Default evaluation
        To select default (canned) evaluation.  This will deselect user
        evaluation.  After select canned evaluation, user must specify
        output variable(s) for evaluation.

    V: Variable to eval
        Use this option to specify the variable to evaluate and its target,
        rising time, and dead bands for selected display segment.  GAF pops
        up a window for user to select and fill in all parameters.

    U: User evaluation
    E: Eval segment
    R: Eval result variable
        These three options are used to specify user defined segment.  Use
        'U' to select user evaluation.  This will deselect default evaluation. 
        The "eval segment" option specifies which one is the evaluation
        segment, and the "eval result variable" option specifies the
        evaluation result variable.


Method: Control Genetic Algorithm
    GAF uses weighed random to select one of the genetic algorithms for
    creating next generation.  The method menu allows user to control these
    algorithms by setting new weight factor.  A method can be disabled by
    setting zero weight.  For example, if no new rules are allowed then set
    "adding rules" to zero.  The method menu is divided into two parts, the
    upper half for changing weights for overall adapting methods.  The lower
    half is to change the detailed weight for specific adapting method.

    Z: Zero all weights
        This option zeros all weights in the upper half adapting methods.

    C: Change rules
    4: Change rules ...
        The change rules method adapts the existing rules inside that
        generation.  The first option (in the upper half) changes the overall
        weight for adapting existing rules.  The second option is used to
        change the detail adapting weights inside change rules.  When the
        second option is selected, GAF pops up a sub menu under method menu. 
        The followings are options in the sub menu.

    I: Adjust input set
    5: Adjust input set ...
        The adjust input set method alters the fuzzy membership sets defined
        in the segment.  The first option (in the upper half) changes the
        overall weight for adapting input fuzzy membership set. The second
        option is used to change the detail adapting weights inside input set
        adaptation.  When the second option is selected, GAF pops up a sub
        menu under method menu.  The followings are options in the sub menu.

        M: Mutate
            The mutate method randomly change one or two "cell" in the
            membership set.  Use this option to set the weight of mutation.

        C: Crossover
            The crossover method uses two parent genes (two generations
            from the gene pool) to generate next generation by inheriting
            cells from either parent.

        I: Intensify/dilute
            The intensify method intensifies the membership set, the dilute
            method dilutes the membership set.

        B: Broaden/restrict
            This method either broaden or restrict the fuzzy membersip set.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -