- Timestamp:
- Jun 24, 2008, 7:07:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/optimizer/examples/simple.tcl
r1052 r1063 16 16 # redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. 17 17 # ====================================================================== 18 set auto_path [linsert $auto_path 0 /tmp/opt/lib] 18 set auto_path [linsert $auto_path 0 /tmp/opt/lib] 19 19 package require BLT 20 20 package require Itcl 21 21 package require Rappture 22 22 package require RapptureGUI 23 set auto_path [linsert $auto_path 0 /home/ganesh/workspace/optim_post_dir_changes/src/lib] 23 24 package require -exact RapptureOptimizer 1.1 24 25 set popsize 100 ;# size of each population for genetic algorithm … … 77 78 } 78 79 80 79 81 set jobnumber 0 80 82 proc add_to_plot {xmlobj} { … … 86 88 fvec$pop append [$xmlobj get output.number(f).current] 87 89 incr jobnumber 90 # optim samples $jobnumber 88 91 } 89 92 … … 101 104 -fitness output.number(f).current \ 102 105 -updatecommand add_to_plot] 103 104 106 puts "done: $status"
Note: See TracChangeset
for help on using the changeset viewer.