Ignore:
Timestamp:
Jun 24, 2008 7:07:01 PM (14 years ago)
Author:
liveletlive
Message:

made small changes related to testing the <name>samples ?number? command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/optimizer/examples/simple.tcl

    r1052 r1063  
    1616#  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
    1717# ======================================================================
    18 set auto_path [linsert $auto_path 0 /tmp/opt/lib] 
     18set auto_path [linsert $auto_path 0 /tmp/opt/lib]
    1919package require BLT
    2020package require Itcl
    2121package require Rappture
    2222package require RapptureGUI
     23set auto_path [linsert $auto_path 0 /home/ganesh/workspace/optim_post_dir_changes/src/lib]
    2324package require -exact RapptureOptimizer 1.1
    2425set popsize 100  ;# size of each population for genetic algorithm
     
    7778}
    7879
     80
    7981set jobnumber 0
    8082proc add_to_plot {xmlobj} {
     
    8688    fvec$pop append [$xmlobj get output.number(f).current]
    8789    incr jobnumber
     90#    optim samples $jobnumber
    8891}
    8992
     
    101104    -fitness output.number(f).current \
    102105    -updatecommand add_to_plot]
    103 
    104106puts "done: $status"
Note: See TracChangeset for help on using the changeset viewer.