= [wiki:Reviews Reviews] - HeuristicLab 3.3.0 Application Review = Review comments which have been implemented are listed [wiki:ReviewHeuristicLab3.3.0ApplicationDone here]. == Reviewer: abeham == === Priority: HIGH === * The operator graph view is a bit confusing: * The flow chart is very nice, but sometimes arrows are a bit wild and going backwards which creates a not so nice strikethrough appearance. Would be good to have non-direct arrows as well. * swagner: In a discussion with maffenze it was decided to address this issue after the release of HeuristicLab 3.3.0. * Adding a `ValueParameter` in a `VariableCreator` and selecting a generic type e.g. `ItemList` fails because no choice can be made on the generic type of the `ItemList` (ticket #42). * The !OperatorGraphVisualization doesn't respect operator collections (e.g. `SequentialSubScopesProcessor`). * mkommend: This feature will rarely be used by a standard user and it will not be fixed right now. Although special shapes for `MultipleCallOperators` are planned. * In `TypeSelector` filter types that don't have a constructor (like currently `PathTSPTour`). * swagner: Generally all items should provide a parameterless constructor. I implemented one for `PathTSPTour` in r3139. * When the TSP importer is used after pausing the execution, the engine should be reset. * When there is an error in one of the item's constructors, the `TypeSelector` dialog (when pressing the "new" button) will open the first time, but stop listing items after encountering the item with the error. The second time the `TypeSelector` is shown through the "new" button, the optimizer crashes with an exception. * A !KeyNotFoundException is thrown in Values_ItemsAdded when a `DataTableView` is closed while it is updated. * Closing the clipboard and reopening through the views menu leads to an exception * mkommend: corrected in r3417 * Remember the optimizer to start maximized if it was maximized when last closed * Some algorithms (e.g. !TabuSearch) don't plot best solution and best known solution. * !TabuSearch visualizes the current solution, but not the best * Creating a !UserDefinedAlgorithm from any existing wired algorithm before adding a new problem is not the best idea. There should be some kind of warning to the unexperienced user that he's entering dangerous territory if he clicks the prominent, big and inviting button "Create User Defined Algorithm". * !NullReferenceException is thrown when the user double clicks the view host icon in the parameter tab of e.g. a newly created genetic algorithm * mkommend * Evaluators of test functions allow name to be changed * Operator graph view * The "Zoom area tool" in the operator graph view does not really perform the action expected by the icon * Saving a screenshot from an operator graph and specifying the filename doesn't automatically add the extension * The icon for the screenshot button doesn't really indicate it's taking a screenshot, some kind of camera icon would be nicer * The icon for redraw the graph is okay, but usually there's one with 3 boxes connected by lines * !UserDefinedAlgorithms cannot be edited (connections, operators adding or removing) through the graph view (either cloned or newly created) * "Break Point" (should be spelled "Breakpoint") and "Initial Operator" are selectable in the context menu although the graph view is not editable (they do nothing when clicked). * The context menu should display "Open View" in bold letters * Connecting the input port to another input port throws an exception * Deleting an operator from the chart still leaves the details there * Showing an operator graph in the chart and the tree view at the same time, selecting an operator in the chart, but deleting that operator from the graph in the tree view still shows a frame and the details in the chart * The engine tab in an algorithm doesn't fill the whole space * Closing the start page through the "x" still shows a check in the views menu. Also if it was closed that way and then "Close all" is chosen the start page cannot be shown again. * mkommend * Opening a file that is not a hl file should display a nicer dialog than the `PersistenceException` that complains about a missing typecache.xml * Using "Close all", also closes the operators list, clipboard and the start page. The start page okay, but operators list or clipboard I wouldn't have exptected to be closed. === Priority: MEDIUM === * The TSP problem view: * Would be nice to have paste support (e.g. from Excel) in the datagrid of the string convertible matrix view. * In the operator graph chart view: * Some boxes are sometimes placed above the top end of the chart. * mkommend: This behavior could not be reproduced in r3176. * Top-down layouting would be better instead of left-right for two reasons: 1. The boxes are usually much wider than high and thus a left-right layout makes the graph even longer. 2. A top-down graph better fits the paper orientation in a publication. * mkommend: This will be implemented with the other changes regarding the layout of the operator graph. * Every `IDeepCloneable` item needs to have a public default constructor. If `Activator.CreateInstance` in `DeepCloneable.Clone` is given a second parameter "true", non-public constructors would also be used. * swagner: See ticket #922. * `TypeSelector` view: When only one single type is possible (e.g. `DoubleData`), select that type and auto-close with OK. * In a discussion with maffenze it was decided to show the type selector dialog in every case as we fear that it might be irritating for a user, if the dialog is sometimes shown and sometimes not shown. * A problem should inject a variable that indicates its dimensionality (sometimes you want to set values depending on the dimension of the problem). * swagner: In a discussion with abeham it was decided that a problem dimension parameter is not really required. * The description in the start page should show the respective icon or menu entry as crop out of a screenshot in the explanation of what to do. * swagner: Added some button images in r3225. * The default action for drag & drop actions should be copy (e.g. to/from the clipboard). Linking is more advanced, assumes programming knowledge, and can lead to all sorts of unwanted situations. * Adding a new parameter through the GUI and choosing a `ConstrainedValueParameter` does not make sense as the set of valid values cannot be defined anywhere in the GUI. The parameter will never be able to take a value. Additionally, switching the view for this `ConstrainedValueParameter` to a `ValueParameterView` and setting a value there leads to an exception. The `ValueParameterView` should not be a view for the `ConstrainedValueParameter`. * Adding a new `ValueParameter` could create a default value if T is instantiable. For most !ValueParameters you will want to have a value upon creation. * The tabs don't change when you drag something over them (e.g. you have parameters tab open and drag a problem in: So you have to cancel drag, switch to problem tab and redo the drag). === Priority: LOW === * Focus is not removed from a textbox if one clicks anywhere in the "gray" area. * swagner: This is the behavior of Windows Forms. * abeham: I mentioned this because I want to validate the control by clicking out of the text box and thus losing the focus. Maybe this can be achieved by allowing focus on the control or form. I think by default the "gray area" doesn't accept focus. * There should be a nicer way of saying the chart controls are not installed instead of an exception. * swagner: The HeuristicLab setup will check if the Microsoft Chart Controls are installed and will show a meaningful error message. * The quality chart looks great! * We should probably use the same colors we had in 1.1 for best/average/worst qualities. * Would be good to be able to hide certain lines. * At some point we'll certainly need export to png, eps, etc. functionality (would be great to be able to specify resolution and width/height). * The tooltips should not exceed a certain width. With a long description you've got one line running over the whole screen. * swagner: It is not possible to define a maximum text width and to enforce word wrapping for tool tips. Therefore line breaks have to be set for each tool tip text individually. Please specify which tool tips are too long so that appropriate line breaks can be added. * The `DataTableValuesCollector` says it can only display double values, why not ints? * abeham: In r3489 the collector was expanded to display `IEnumerable`, this could further be extended to ints or probably solved through the unified `INumber` * I got a very cryptic "Operation is not valid due to the current state of the object" exception at one point building the TS operator (as discussed Parameters should have an optional attribute that says they should throw an error in case `ActualValue` is null after retrieving). * Going through the scopes with the arrow keys doesn't update the details view of the scope. * Resetting the engine doesn't update the global scope details view (user defined algorithm). * The view host icon should act like a button that when single-clicked opens the context-menu, when hovering over it, there should be a frame around it like a button so that it's clear that it can be clicked. * swagner: When hovering over the view host icon a tool tip is displayed that explains how the different views can be selected. * abeham: I'm still not fully happy with the view host icon, but it's probably the least priority thing right now * Some operators have a Parameter "!CurrentScope" that cannot be changed in any way, is there a necessity to display this parameter? * swagner: The scope parameter "!CurrentScope" indicates that the current scope (i.e. its sub-scopes) is manipulated by an operator. It is shown in order to give the user comprehensive information about what an operator does. Maybe this is not really helpful. Should I remove scope parameters in general? In the code of an operator they are not really required, as the current scope can always be accessed via the current execution context. * swagner: In a discussion with maffenze it was decided to keep scope parameters. * abeham: I think more parameter are just more confusing and description of the internal mechanisms of an operator are better displayed in the description text. I'll vote for removal of the current scope parameters, but I'll move this to low priority for now. * Improve description of !SearchIntervalFactor in `BreederGeneticAlgorithmManipulator`. * `EvolutionStrategy`: * Add parameter to ES to indicate if 1/5 success rule or sigma-self adapation should be used. * Name in docking tab is not synchronized with the item name it displays. * We do not currently count the number of evaluated solutions. * abeham: added evaluated solutions for offspring selection where this cannot be computed a priori in r3426 ---- == Reviewer: gkronber == === Priority: HIGH === * The plugin management GUI is not finished. * In the global scope view: If the selected item in the tree view is changed via keyboard (cursor keys) the Variables view is not updated. * Closing the Optimizer while the global scope view is shown (user defined algorithm) and expanded throws `ArgumentException` in `HeuristicLab.Core.Views.ScopeView.Dispose()`. * swagner: Could not reproduce this exception in r3502. * Exception in `BestQualityMemorizer` because the actual name of the quality parameter is not updated. (To reproduce open a new user defined GA and then load a problem that changes the actual name of the quality parameter and then start the engine.) * swagner: Setting parameters automatically does not work in user defined algorithms. In a user defined algorithm all parameter settings (values, actual names, etc.) have to be set manually by the user. === Priority: MEDIUM === * Breakpoints should be visually emphasized. * swagner: At the moment, breakpoints are marked red in the `OperatorTreeView` and will be visually emphasized in the `OperatorGraph` visualization in the next version. Where else should they be emphasized? * It seems strange now that operators have the property `Breakpoint`. It is more usual to set breakpoints on invocations/calls of operators. Also isn't the engine responsible for breakpoints? * swagner: As in HL 3.2 the `Breakpoint` property is implemented in operators and can be changed in the GUI of an `OperatorGraph`. Additionally, I decided to add a checkbox to each operator in order to be able to mark breakpoints there as well (this was not possible in HL 3.2). If an operator is marked as breakpoint, an engine stops its execution after this operator has been processed. I agree that it would be more intuitive to store it in some other location, which operators are currently breakpoints. However, I do not immediately know where. Any suggestions? === Priority: LOW === ---- == Reviewer: swinkler == === Priority: HIGH === * Using a population with 0 individuals leads to an overflow exception, no matter which selector is chosen. * Ater opening a new algorithm and creating a new knapsack problem, starting the algorithm causes an null-pointer-exception. === Priority: MEDIUM === * After closing the start page it is still checked (as if it was opened) in the View menu. * There is no way to see the optimal solution that is found by the algorithm, for example the best tour or the best knapsack selection. Even though not all users might be interested to see these best results, it might help to increase the confidence of users. * IMHO the standard selection operators in gender specific selection should be flipped; this would more reflect behavior in nature. The reason for this is that these selectors do not specify how fe/male individuals select their parnters, but rather how they are selected. === Priority: LOW === * Could it be reasonable to display a special icon for parameters that are not yet set properly (e.g., with a red exclamation mark etc.)? * swagner: This will be quite hard as it is not easy to decide programmatically, if a parameter is properly set or not. But we can think about it. Maybe we can introduce constrained parameters? Although it will be a lot of work to enable users to define constraints of parameters in the GUI (for example when adding a new parameter to a `CombinedOperator`). * On a screen with resolution 1280x800 I can for example not change the group size of tournament selection because the text box is not visible (unless the !OptionalValueParameter View is chosen). * swagner: Can you give me some hints where we can save space? Which information/controls might not be necessary? * swinkler: As names and data types cannot be edited in the details sections of parameters, I would suggest combining these two into one !TextBox and showing data types in brackets (as it is done in the list box shown left, e.g.). * Regarding the description of operators: * As the references to articles and books are incorporated in grammatically meaningful sentences (which I like a lot!) I would not use full stops (.) within references; I would use semicola (;) instead. * Charts (results display, quality progress, ...) can slow down the execution very much; it would be nice to have a parameter that sets the update interval. ---- == Reviewer: maffenze == === Priority: HIGH === === Priority: MEDIUM === === Priority: LOW === ---- == Reviewer: vdorfer == === Priority: HIGH === === Priority: MEDIUM === * In the results view I would show by default the quality data table (instead of first having to stop (pause) the algorithm, select the data table and resume the algorithm). When the tour visualization is done, this would be best to show by default. * swagner: Showing results by default is critical, as the continuous redraw of a result's value (e.g. quality chart, tour visualization) might consume a lot of runtime. Therefore the user should have to select a result manually, if he wants to look at a result. * A "Do you want to save your work" question is missing when clicking the "x" of an open SGA, TSP, ... * A `TabuSearch` with a ch150 TSP is not running fluently, it jerks. * swagner: Which parameter settings of the tabu search were used? If an exhaustive move generator is used, the tabu search jerks as computing the whole set of possible moves is quite time-consuming. * vdorfer: I used the default parameter settings, which have an `ExhaustiveTwoOptMoveGenerator` as move generator. === Priority: LOW === * The comments in the generated code of a `ProgrammableOperator` are German. * epitzer: This is a feature of the .NET runtime and depends on the installed operating system language. ---- == Reviewer: mkommend == === Priority: HIGH === === Priority: MEDIUM === === Priority: LOW === ---- == Reviewer: epitzer == === Priority: HIGH === * A Help menu should be available, maybe also an about dialog. === Priority: MEDIUM === * Problem parameters that cannot be changed by the user could be hidden. * i.e. Maximation is always the first parameter but can rarely be changed. * swagner: In a discussion with maffenze it was decided not to hide parameters. The parameters collection of a problem should show all parameters of a problem so that a user sees and understands how the underlying problem object looks like. This should help users when they start to implement own problems. * The [+] Button in the !ValueParameterView should also be disabled if the type of the parameter cannot be changed. * swagner: Even if the type of a value parameter cannot be changed, it might be necessary to be able to exchange the whole value object. Therefore the [+] button should be enabled in every case. * New Item Dialog: Algorithm and Problem items should be listed before the advanced items in "Algorithm Design". * swagner: In a discussion with maffenze it was decided to keep alphabetical sorting of creatable groups in the new item dialog. Alphabetical sorting is used in many places throughout the whole application and it might be irritating for a user if we change this in the new item dialog. Furthermore, it depends on a user which creatable groups are considered to be more important. * Parameters of sub-operators that are not changeable by the user should be hidden (e.g. lookup parameter). * Graph View * Icon for expanding/collapsing details is rather confusing (undo/redo), should be +/- imho * A zoom rectangle tool would be nice * panning while pressing the middle mouse button would be nice too * display updates while scrolling and panning are rather slow === Priority: LOW === * Show results tab when engine is started, set a default item that is selected too (e.g. quality chart). * swagner: Showing results by default is critical, as the continuous redraw of a result's value (e.g. a quality chart) might consume a lot of runtime. Therefore the user should have to select a result manually, if he wants to look at a result. * Hierarchical grouping of operators by namespace in operator tab (instead of just by plugin) or maybe just remove the intial "HeuristicLab" as this is common for all of them and makes it harder to scan for the right plugin/namespace. * swagner: In a discussion with maffenze it was decided not to change the way how operators are grouped and displayed in the operators sidebar. Reasons are that grouping hierarchically by namespaces might lead to deep trees that have to be opened to get an operator and that the initial "HeuristicLab" in each plugin name might not be common for all plugins if an external user develops an own plugin. ---- == Reviewer: svonolfen == === Priority: HIGH === === Priority: MEDIUM === * When choosing the MultiXCrossover (e.g. MultiBinaryCrossover) and no Operators are selected an exception should be thrown, otherwise e.g. the GA crashes at a later point (e.g. evaluation) === Priority: LOW === * The view flickers, because double buffering is not enabled. ---- == Other Reviewers == === Priority: HIGH === * Sometimes child controls are not correctly resized when the Optimizer is maximized. === Priority: MEDIUM === === Priority: LOW === ----