$darkmode
DENOPTIM
GUIPrepareGARun.java
Go to the documentation of this file.
1/*
2 * DENOPTIM
3 * Copyright (C) 2020 Marco Foscato <marco.foscato@uib.no>
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as published
7 * by the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19package denoptim.gui;
20
21import java.util.concurrent.atomic.AtomicInteger;
22
23
31public class GUIPrepareGARun extends GUIPrepare
32{
33
37 private static final long serialVersionUID = 1L;
38
42 public static AtomicInteger prepGATabUID = new AtomicInteger(1);
43
48 super(mainPanel, "Prepare GA experiment #" + prepGATabUID.getAndIncrement());
49 initialize();
50 }
51
55 private void initialize() {
56
57 GAParametersForm gaParsPane = new GAParametersForm(mainPanel.getSize());
58 super.allParams.add(gaParsPane);
59 super.tabbedPane.addTab("Genetic Algorithm", null, gaParsPane, null);
60
61 FSParametersForm fseParsPane = new FSParametersForm(
62 mainPanel.getSize());
63 super.allParams.add(fseParsPane);
64 super.tabbedPane.addTab("Space of Building Blocks", null, fseParsPane, null);
65
67 mainPanel.getSize());
68 super.allParams.add(fitParsPane);
69 super.tabbedPane.addTab("Fitness Provider", null, fitParsPane, null);
70
71 }
72}
Form collecting input parameters for defining the fragment space.
Form collecting input parameters for a setting-up the fitness provider.
Form collecting input parameters for a genetic algorithm experiment.
GUIMainPanel mainPanel
The main panel (cards deck)
The main panel is a deck of cards that occupies all the GUI frame.
Master form containing all sub-forms that need to be filled to define the input parameters for Denopt...
void initialize()
Initialize the contents of the frame.
static AtomicInteger prepGATabUID
Unique identified for instances of this form.
static final long serialVersionUID
Version UID.
GUIPrepareGARun(GUIMainPanel mainPanel)
Constructor.
Class representing the general structure of a form including a specific set of parameter collections.
Definition: GUIPrepare.java:59