$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
19
package
denoptim.gui;
20
21
import
java.util.concurrent.atomic.AtomicInteger;
22
23
31
public
class
GUIPrepareGARun
extends
GUIPrepare
32
{
33
37
private
static
final
long
serialVersionUID
= 1L;
38
42
public
static
AtomicInteger
prepGATabUID
=
new
AtomicInteger(1);
43
47
public
GUIPrepareGARun
(
GUIMainPanel
mainPanel
) {
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
66
FitnessParametersForm
fitParsPane =
new
FitnessParametersForm
(
67
mainPanel
.getSize());
68
super.allParams.add(fitParsPane);
69
super.tabbedPane.addTab(
"Fitness Provider"
,
null
, fitParsPane,
null
);
70
71
}
72
}
denoptim.gui.FSParametersForm
Form collecting input parameters for defining the fragment space.
Definition:
FSParametersForm.java:59
denoptim.gui.FitnessParametersForm
Form collecting input parameters for a setting-up the fitness provider.
Definition:
FitnessParametersForm.java:74
denoptim.gui.GAParametersForm
Form collecting input parameters for a genetic algorithm experiment.
Definition:
GAParametersForm.java:74
denoptim.gui.GUICardPanel.mainPanel
GUIMainPanel mainPanel
The main panel (cards deck)
Definition:
GUICardPanel.java:43
denoptim.gui.GUIMainPanel
The main panel is a deck of cards that occupies all the GUI frame.
Definition:
GUIMainPanel.java:33
denoptim.gui.GUIPrepareGARun
Master form containing all sub-forms that need to be filled to define the input parameters for Denopt...
Definition:
GUIPrepareGARun.java:32
denoptim.gui.GUIPrepareGARun.initialize
void initialize()
Initialize the contents of the frame.
Definition:
GUIPrepareGARun.java:55
denoptim.gui.GUIPrepareGARun.prepGATabUID
static AtomicInteger prepGATabUID
Unique identified for instances of this form.
Definition:
GUIPrepareGARun.java:42
denoptim.gui.GUIPrepareGARun.serialVersionUID
static final long serialVersionUID
Version UID.
Definition:
GUIPrepareGARun.java:37
denoptim.gui.GUIPrepareGARun.GUIPrepareGARun
GUIPrepareGARun(GUIMainPanel mainPanel)
Constructor.
Definition:
GUIPrepareGARun.java:47
denoptim.gui.GUIPrepare
Class representing the general structure of a form including a specific set of parameter collections.
Definition:
GUIPrepare.java:59
src
main
java
denoptim
gui
GUIPrepareGARun.java
Generated by
1.9.4