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

📄 gaf.hlp

📁 王小平《遗传算法——理论、应用与软件实现》随书光盘
💻 HLP
📖 第 1 页 / 共 3 页
字号:
3: System Run Modes
4: Simulation mode
5: Adapt mode
6: Change Simulation Parameters
7: Change segment and value
8: Arrange Display Windows
A: Setup feedback module
B: Setup evaluation module
C: Control Genetic Algorithm
D: File menu functions
E: Function Keys

@Setup feedback module
GAF supports two kinds of feedback modules for
simulation.  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, one row per data set.  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

Use feedback data
  With this option to select the use of feedback data
  specified in a text data file.  This option and the
  option 'U' are mutually exclusive.

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

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

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.

User feedback
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 'S'
  option specifies which one is the feedback segment.

0: System Menu
1: The Windows
2: About GAF System
3: System Run Modes
4: Simulation mode
5: Adapt mode
6: Change Simulation Parameters
7: Change segment and value
8: Arrange Display Windows
9: Setup adapt environment
B: Setup evaluation module
C: Control Genetic Algorithm
D: File menu functions
E: Function Keys
  
@Setup evaluation module
The Eval menu provides user for specifying type of
evaluations and related parameters.  There are two
types of evaluation: one is user defined evaluation
segment, the other one is using GAF supported
default 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
User can use non-symmetric deadband to achieve
overshoot or undershoot requirements.

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

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.

User evaluation
Eval segment
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 'E' option
  specifies which one is the evaluation segment, and
  the 'R' option specifies the evaluation result
  variable.

0: System Menu
1: The Windows
2: About GAF System
3: System Run Modes
4: Simulation mode
5: Adapt mode
6: Change Simulation Parameters
7: Change segment and value
8: Arrange Display Windows
9: Setup adapt environment
A: Setup feedback module
C: Control Genetic Algorithm
D: File menu functions
E: Function Keys

@Control Genetic Algorithm
GAF uses weight 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.

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

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.

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.

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

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

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

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

    Shift fuzzy set
      The shift method shifts the membership set
      along the value without changing its shape.

    Change truth
      This method alters the truth value of the
      selected fuzzy membership set.

    Scale (0 - 1)
      The scale factor defines how much the above
      methods, except mutate and crossover, would
      change the set's value.  One means 100% and
      zero means none.

Adding new rule
  This method creates new generation by adding new
  rule to the segment.  The new rule is created
  with the same way as described in change rule.

En/dis-able rule
  This method disable (or enable) rule to form a
  new segment.

Alter cycle time
  This method creates new generation by modifying
  the cycle time of the old segment.  The range of
  cycle time can be specified with max and min under
  adapt menu.

Alter output gain
  This method adjusts the output gain to form a new
  generation.

Max cycle time
Min cycle time
  These two values clamp the sample rate, the cycle
  time of the segment, so GAF will not exceed these
  limits during adaptation, if adapting of cycle time
  is enabled via Method menu.

Maximum rules
  This option allows user to set a limit for number
  of rules is allowed during adaptation.  If the
  number is less than 1 there will be no limit.


0: System Menu
1: The Windows
2: About GAF System
3: System Run Modes
4: Simulation mode
5: Adapt mode
6: Change Simulation Parameters
7: Change segment and value
8: Arrange Display Windows
9: Setup adapt environment
A: Setup feedback module
B: Setup evaluation module
D: File menu functions
E: Function Keys

@File menu functions
The File menu provides the following functions:

Quit
  Select 'Q' or use ALT-Q to exit the program.

Open segment
  Select this option to open a segment from the
  specified file, GAF will prompt for the name
  of the file.  The segment file can also be
  specified as the command arguments. When open
  a new file segment a sequence number will be
  assigned to that segment as its segment ID.
  Use this ID to select display segment.

Close segment
  Use to close a segment.  Disabled for beta 1.1.

Report selected best list
Report all items in list
Report file
  These options allow user to generate report about
  the item(s) in the best list.  Use 'R' to set the file
  name of the report.  Use 'A' to report all items in
  the list, and use 'B' to select one out of the best.

Enable adapt log
Enable detail log
Log file to
  In adapt mode, GAF can generate a log file for user
  to review.  Use 'L' to enable (disable) the log, use
  'D' to switch on (off) detail log.  Use 'G' to
  specify the log file name.

Enable plot data
Plot data to
  When enabled, GAF generates a data file for the
  result of each iteration.  The data file can be used
  by MyPlot to plot.  The 'P' option specifies the file
  name of the data file.

Generate statistic log
Statistic to
  These options allow user to generate statistic report
  about the adaptation.  Use 'T' to set the file name
  of the statistic log.  The log includes statistics
  for all methods. Based on the statistic you may want
  to adjust the weight of the methods.

0: System Menu
1: The Windows
2: About GAF System
3: System Run Modes
4: Simulation mode
5: Adapt mode
6: Change Simulation Parameters
7: Change segment and value
8: Arrange Display Windows
9: Setup adapt environment
A: Setup feedback module
B: Setup evaluation module
C: Control Genetic Algorithm
E: Function Keys

@Function Keys

F1 - Get help
  Press F1 to call up the on-line help screen.  Inside
  help you can jump between topics by typing the
  corresponding number listed in main help, type '0'
  (zero) always gets you back to main help menu.

F2 - Display the system info
  Press F2 to see the system limits.

F3 - Next segment
  Press F3 to switch the display segment.

F4 - View segment information
  Press F4 to see the variable definition,
  initialization and run functions, and other
  information for the selected display segment.

F5 - View symbol definition
  Press F5 to see the fuzzy set symbols' definition
  for this segment.

F6 - View preset definition
  Press F6 to see the preset definition for this
  segment.

F7 - Reset the system
  The F7 function key allows you to reset the system
  -- that is to zero all inputs and outputs and reset
  the segment scheduler.  The system reset is
  actually defined in each segment's INITIALIZATION
  declaration.  GAF goes through all segments
  executes the initialization defined in each segment.

0: System Menu
1: The Windows
2: About GAF System
3: System Run Modes
4: Simulation mode
5: Adapt mode
6: Change Simulation Parameters
7: Change segment and value
8: Arrange Display Windows
9: Setup adapt environment
A: Setup feedback module
B: Setup evaluation module
C: Control Genetic Algorithm
D: File menu functions

⌨️ 快捷键说明

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