my ($self, $ss) = @_;
my ($first_alt, @rest_alt) = @{$ss->adjustments_made};
return $ss->but(next_step => $ss->on_exhaustion_step) unless $first_alt;
- return $ss->but(
- current_hypothesis => $first_alt->[1],
- adjustments_made => \@rest_alt,
- next_step => $first_alt->[0]->alternative_step,
- is_solution_state => 0,
- );
+ return $first_alt->[1]->but(next_step => $first_alt->[0]->alternative_step);
}
1;
class_type DictValue => { class => 'DX::Value::Dict' };
-declare AdjustmentList => as ArrayRef[Tuple[Step, Hypothesis]];
+declare AdjustmentList => as ArrayRef[Tuple[Step, SearchState]];
declare DependencyType => where {
foreach my $cand (EXISTENCE_OF, TYPE_OF, INDICES_OF, CONTENTS_OF) {