PDL Optimising Multitasking in PDL #10

register_params()

sub register_params
{
    my $state = shift;

    $state->add_chosen();
        push @{$state->main()->chosen_scans()}, $state->get_chosen_struct();
    $state->mark_as_used();
        $state->main()->selected_scans()->[$state->scan_idx()]->mark_as_used();
    $state->update_total_boards_solved();
        $state->main()->add('total_boards_solved', $state->num_solved());
continued...
Copyright © 2005 Shlomi Fish