Commits

Anonymous committed 7ccd554

Renamed a method.

To calc_final_layout instead of generate.

  • Participants
  • Parent commits 84d919c

Comments (0)

Files changed (1)

File abc-path/generator/generate-abs-path.pl

 
 use List::Util qw(first);
 
-sub generate
+sub calc_final_layout
 {
     my $self = shift;
 
             return $l;
         }
 
-        # TODO : remove these traces later.
         # print "Depth = " . scalar(@dfs_stack) . "\n";
         # print "Last state = " . Dumper($last_state) . "\n";
         # print "Layout = \n" . $self->get_layout_as_string($last_state->{layout}) . "\n";
 
 my $gen = Games::ABC_Path::Generator->new({ seed => $seed, });
 
-print $gen->get_layout_as_string($gen->generate());
+print $gen->get_layout_as_string($gen->calc_final_layout());