Opened 6 years ago

Closed 2 years ago

#1668 closed enhancement (done)

Provide a SimpleAlgorithm base class or interface

Reported by: ascheibe Owned by: mkommend
Priority: high Milestone: HeuristicLab 3.3.11
Component: Optimization Version: 3.3.5
Keywords: Cc:

Description

It would be nice to have a base class or an interface that provides a Run method which can be implemented and then run within HeuristicLab like a normal HL algorithm. This would make it very easy for beginners to quickly write algorithms without having to know anything about operator graphs. Of course pausing, for example, won't work out of the box. But on the other hand for prototyping or beginners, who quickly want to try out HL, it would be great.

Change History (14)

comment:1 Changed 5 years ago by abeham

  • Milestone changed from HeuristicLab 3.3.7 to HeuristicLab 3.3.x Backlog

comment:2 Changed 5 years ago by gkronber

In #1418 we implemented a FixedDataAnalysisAlgorithm (see r5617). It does not yet support stopping correctly.

comment:3 Changed 4 years ago by gkronber

  • Milestone changed from HeuristicLab 3.3.x Backlog to HeuristicLab 4.0.x Backlog
  • Priority changed from medium to low

comment:4 Changed 2 years ago by ascheibe

  • Owner changed from ascheibe to mkommend
  • Status changed from new to assigned

comment:5 Changed 2 years ago by mkommend

  • Status changed from assigned to accepted

comment:6 Changed 2 years ago by mkommend

  • Milestone changed from HeuristicLab 4.0.x Backlog to HeuristicLab 3.3.11
  • Priority changed from low to high

comment:7 Changed 2 years ago by mkommend

r11790: Implemented BasicAlgorithm and an according view.

comment:8 Changed 2 years ago by mkommend

  • Status changed from accepted to reviewing

comment:9 Changed 2 years ago by mkommend

This ticket is necessary for the parameterless population pyramid (#2282).

Last edited 2 years ago by mkommend (previous) (diff)

comment:10 Changed 2 years ago by mkommend

  • Owner changed from mkommend to gkronber

comment:11 Changed 2 years ago by mkommend

r11815: Corrected exception text in basic algorithm.

comment:12 Changed 2 years ago by gkronber

r11878: minor changes to BasicAlgorithm class

comment:13 Changed 2 years ago by gkronber

  • Owner changed from gkronber to mkommend
  • Status changed from reviewing to readytorelease

Reviewed r11790 and r11815.

comment:14 Changed 2 years ago by mkommend

  • Resolution set to done
  • Status changed from readytorelease to closed

r11924: Merged r11790, r11815 and r11878 into stable.

Note: See TracTickets for help on using tickets.