Commits

Shlomi Fish committed 94999e4

Eliminated the un-needed chosen_scans accessor, as it now can be accessed
from the arbitrator.

git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@676 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a

  • Participants
  • Parent commits ea48e85

Comments (0)

Files changed (1)

File fc-solve/presets/soft-threads/meta-moves/auto-gen/Shlomif/FCS/CalcMetaScan/CmdLine.pm

 
 __PACKAGE__->mk_accessors(qw(
     arbitrator
-    chosen_scans
     num_boards
     output_filename
     quotas_expr
     my $self = shift;
     return "--prelude \"" .
         join(",",
-            map { $self->format_prelude_iter($_) } @{$self->chosen_scans()}
+            map { $self->format_prelude_iter($_) } @{$self->get_chosen_scans()}
         ) . "\"";
 }
 
     );
 }
 
+sub get_chosen_scans
+{
+    my $self = shift;
+    return $self->arbitrator()->chosen_scans();
+}
+
 sub run
 {
     my $self = shift;
         $self->arbitrator()->do_rle();    
     }
 
-    $self->chosen_scans($self->arbitrator()->chosen_scans());
     printf("total_iters = %s\n", $self->arbitrator()->total_iters());
 
     $self->write_script();