Serialized Form
-
Package evo.search
-
Class evo.search.Evolution extends Object implements Serializable
-
Serialized Fields
-
configuration
Configuration configuration
Configuration to use during the evolution. -
history
List<io.jenetics.engine.EvolutionResult<DiscreteGene,Double>> history
History of individuals with the best phenotype in each generation.
-
-
-
-
Package evo.search.ga
-
Class evo.search.ga.DiscreteChromosome extends io.jenetics.AbstractChromosome<DiscreteGene> implements Serializable
-
Class evo.search.ga.DiscreteGene extends Object implements Serializable
-
Serialized Fields
-
distance
float distance
The genes distance corresponding the the alleles distance.- See Also:
DiscreteGene.distance
-
position
short position
The discrete genes position index. This is the index of the ray the gene's allele will be sitting on.- See Also:
DiscreteGene.position
-
positions
short positions
Configuration providing context for the gene. Mainly used to calculate the allele.- See Also:
DiscreteGene.allele()
,DiscreteGene.positions
-
-
-
-
Package evo.search.io.entities
-
Class evo.search.io.entities.Configuration extends Object implements Serializable
-
Serialized Fields
-
chooseWithoutPermutation
boolean chooseWithoutPermutation
State of whether to choose the distances in a permutation during the shuffle of new individuals.- See Also:
DiscreteGene.newInstance()
-
distanceMutationDelta
double distanceMutationDelta
Value of maximum distance change during the mutation.- See Also:
DistanceMutator
-
distances
List<Double> distances
Input distances to choose a permutation from. Forms singleDiscreteGene
chromosomes. -
fitness
Evolution.Fitness fitness
Fitness method used to evaluate the individuals.- See Also:
Evolution.Fitness
-
limit
int limit
Last execution limit for the evolution method. -
name
String name
The configurations name. -
offspring
int offspring
Amount of offspring individuals. Has to be less or equal thanConfiguration.population
. -
population
int population
Population size. -
positions
int positions
The amount of positions available for theDiscreteGene
s. -
selector
io.jenetics.Selector<DiscreteGene,Double> selector
Selection method for offspring. -
treasures
List<DiscreteGene> treasures
List of treasureDiscreteGene
s to search for. -
version
String version
Version for configuration compatibility checks.
-
-
-
-
Package evo.search.view
-
Class evo.search.view.ChooserForm extends JFrame implements Serializable
-
Serialized Fields
-
addButton
JButton addButton
Button for adding a new project. Activates a prompt for the directory of the new project. -
evoSearchLogo
JLabel evoSearchLogo
Label to display the logo. Logo is loaded dynamically. -
listPanel
JPanel listPanel
Parent panel for the list of projects to choose. -
openButton
JButton openButton
Button for opening an existing, not registered project. -
optionPane
JPanel optionPane
Parent pane for theChooserForm.addButton
,ChooserForm.openButton
and logo. -
previewButton
JButton previewButton
Button to open a Preview window. -
rootPanel
JPanel rootPanel
Root panel of the chooser form.
-
-
-
Class evo.search.view.ConfigPanel extends JDialog implements Serializable
-
Serialized Fields
-
configuration
Configuration configuration
Configuration associated with this config panel. The bindings of the inputs correspond with this instance. To preserve the old configuration in a case of dismissed changes, this instance is a clone of the original, file system persistent configuration. -
distanceMutationLabel
JLabel distanceMutationLabel
Label displaying the value inside of theConfigPanel.distanceMutationSlider
. -
distanceMutationSlider
JSlider distanceMutationSlider
Slider for the maximum value of distance mutation. The distances can be mutated adding or subtracting a certain value times a random number between 1 and 0.- See Also:
DistanceMutator
-
distancesScrollPane
JScrollPane distancesScrollPane
Scroll pane wrapping theConfigPanel.distancesTextArea
. Propagates the scroll to theConfigurationDialog
scroll pane.- See Also:
ConfigPanel.propagateScroll(JScrollPane)
-
distancesTextArea
JTextArea distancesTextArea
Text area for the distances. -
fitnessComboBox
JComboBox<Evolution.Fitness> fitnessComboBox
Combo box for the fitness method selection. -
fitnessListModel
DefaultComboBoxModel<Evolution.Fitness> fitnessListModel
List model of the fitness method selection. -
limitSpinner
JSpinner limitSpinner
Spinner input for the limit of generations. -
mutatorScrollPane
JScrollPane mutatorScrollPane
Scroll pane holding theConfigPanel.mutatorTable
. Propagates the scroll to theConfigurationDialog
scroll pane.- See Also:
ConfigPanel.propagateScroll(JScrollPane)
-
mutatorTable
JTable mutatorTable
Table for the mutators. Handles selection input (which mutators are selected) and their probability. -
mutatorTableModel
MutatorTableModel mutatorTableModel
Table model of the mutators table.- See Also:
MutatorTableModel
-
noPermutationCheckbox
JCheckBox noPermutationCheckbox
Checkbox for the choose distance without permutation property. -
offspringSpinner
JSpinner offspringSpinner
Spinner input for the amount of offspring individuals. -
parent
ConfigurationDialog parent
Parent dialog of this panel. Used for naming bindings and change triggers.- See Also:
ConfigurationDialog.triggerChange()
-
permutateDistancesButton
JButton permutateDistancesButton
Button to shuffle the list of distances. -
permutateTreasuresButton
JButton permutateTreasuresButton
Button to shuffle the list of treasures. -
populationSpinner
JSpinner populationSpinner
Spinner input for the population size. -
positionsSpinner
JSpinner positionsSpinner
Spinner input for the amount of rays. -
rootPanel
JPanel rootPanel
Root panel of this config panel. -
shuffleDistancesButton
JButton shuffleDistancesButton
Button to shuffle a new list of distances.- See Also:
ShuffleDialog
-
shuffleTreasuresButton
JButton shuffleTreasuresButton
Button to shuffle a new list of treasures.- See Also:
ShuffleDialog
-
treasuresScrollPane
JScrollPane treasuresScrollPane
Scroll pane wrapping theConfigPanel.treasuresTextArea
. Propagates the scroll to theConfigurationDialog
scroll pane.- See Also:
ConfigPanel.propagateScroll(JScrollPane)
-
treasuresTextArea
JTextArea treasuresTextArea
Text area for the treasure points.
-
-
-
Class evo.search.view.ConfigurationDialog extends JDialog implements Serializable
-
Serialized Fields
-
addConfigButton
JButton addConfigButton
Button to add a new configuration to theConfigurationDialog.configChooserList
. -
applyButton
JButton applyButton
Apply button. Saves changes without closing the window. -
bottomPane
JPanel bottomPane
Bottom pane holding the main buttonsConfigurationDialog.buttonOK
,ConfigurationDialog.buttonCancel
andConfigurationDialog.applyButton
. -
buttonCancel
JButton buttonCancel
Cancel button. Deletes unsaved changes, if the deletion is also confirmed in a prompt. -
buttonOK
JButton buttonOK
Ok button. Saves changes and closes the window immediately. -
configChooserList
JList<ConfigPanel> configChooserList
Selection list displaying the configs names to switch betweenConfigPanel
s. -
configListModel
SortedListModel<ConfigPanel> configListModel
List model of theConfigurationDialog.configChooserList
. -
configNamePanel
JPanel configNamePanel
Panel holding theConfigurationDialog.nameTextField
. -
configScrollWrapper
JScrollPane configScrollWrapper
-
contentPane
JPanel contentPane
Root pane. -
duplicateConfigButton
JButton duplicateConfigButton
Button to duplicate a configuration of theConfigurationDialog.configChooserList
. -
listEditBar
JPanel listEditBar
Bar holding the list edit buttons. -
nameTextField
JTextField nameTextField
Textfield to change the selectedConfiguration
s name. -
removeConfigButton
JButton removeConfigButton
Button to remove a configuration from theConfigurationDialog.configChooserList
. -
selectedPanel
ConfigPanel selectedPanel
Cached panel/config selection.
-
-
-
Class evo.search.view.ExportDialog extends JDialog implements Serializable
-
Serialized Fields
-
contentPane
JPanel contentPane
Dialog root pane. -
copyButton
JButton copyButton
Copy the exported string content of theExportDialog.exportTextArea
. -
csvExportDistance
JCheckBox csvExportDistance
Checkbox to determine whether to export the gene's distance. -
csvExportPosition
JCheckBox csvExportPosition
Checkbox to determine whether to export the gene's position. -
csvSeparator
JComboBox<String> csvSeparator
Combo box to select the csv separator. -
distinct
JCheckBox distinct
Checkbox to determine whether to export non-repeating lists. -
evolution
Evolution evolution
Evolution with data to export. -
exportButton
JButton exportButton
Export invocation button. -
exportTextArea
JTextArea exportTextArea
Text area to preview exported data. -
exportTreasure
JCheckBox exportTreasure
Checkbox to determine whether to export also the treasures. -
fitnessInfo
JCheckBox fitnessInfo
Checkbox to determine whether to export fitness values. -
latexUseMakros
JCheckBox latexUseMakros
Checkbox to determine whether to use latex makros. -
saveButton
JButton saveButton
Button to save exported contents to a file. -
strategyTabs
JTabbedPane strategyTabs
Tab to select export format/strategy.
-
-
-
Class evo.search.view.MainForm extends JFrame implements Serializable
-
Serialized Fields
-
addFirstConfigButton
JButton addFirstConfigButton
First config button. Displayed if no configuration is registered yet. -
bottomBar
JPanel bottomBar
Lower fixed toolbar. -
canvas
Canvas canvas
The canvas displaying individuals. -
configComboBox
JComboBox<Object> configComboBox
Combo box with configurations to choose. -
configComboModel
ConfigComboModel configComboModel
Combo box model for the configurations combo box. -
configurations
List<Configuration> configurations
List of registered configurations. -
evolution
Evolution evolution
Instantiated evolution generating the history. -
evolutionThread
Thread evolutionThread
Thread where the evolution runs. -
historyTable
JTable historyTable
Table displaying the evolutions best individuals and fitness per generation. -
historyTableModel
FitnessTableModel historyTableModel
Table model of the history table. -
logLabel
JLabel logLabel
Small log label. -
logSplitPane
JSplitPane logSplitPane
Vertical split pane dividing the upper widget/canvas and the lower logging area. -
logTextPane
JTextArea logTextPane
Big log text pane. -
mainSplit
JSplitPane mainSplit
Horizontal split pane containing the canvas and widget tab pane. -
nameField
JTextField nameField
Text field to display/change the projects name. -
populationTable
JTable populationTable
Table to list all individuals of a generation. -
populationTableModel
FitnessTableModel populationTableModel
Model of the generation table. -
progressBar
JProgressBar progressBar
Evolution progress bar. -
project
Project project
Current project for this form. -
rootPanel
JPanel rootPanel
Main forms root panel. -
savedEvolutionsList
JList<Path> savedEvolutionsList
List to display all saved evolutions. -
savedEvolutionsModel
DefaultListModel<Path> savedEvolutionsModel
Model for the saved evolutions list. -
startButton
JButton startButton
Evolution start button. -
stopButton
JButton stopButton
Evolution stop button. -
toolbar
JPanel toolbar
Top toolbar pane. -
versionLabel
JLabel versionLabel
Label to display the projects version. -
widgetTabs
JTabbedPane widgetTabs
Left widget tab pane -
workspace
Workspace workspace
Workspace configuration for this forms window.
-
-
-
Class evo.search.view.Preview extends JFrame implements Serializable
-
Class evo.search.view.ShuffleDialog extends JDialog implements Serializable
-
Serialized Fields
-
amountSpinner
JSpinner amountSpinner
Spinner of the shuffle amount property. -
buttonCancel
JButton buttonCancel
Button to cancel shuffling. -
buttonOK
JButton buttonOK
Button to start shuffling. -
contentPane
JPanel contentPane
Root pane of the dialog. -
maxDistanceTextField
JFormattedTextField maxDistanceTextField
Input of the maximum distance shuffled. -
minDistanceTextField
JFormattedTextField minDistanceTextField
Input of the minimum distance shuffled. -
positions
int positions
Positions amount to choose from. -
processCanceled
AtomicBoolean processCanceled
Shuffle process cancel property. -
randomSupplier
BiFunction<Double,Double,T> randomSupplier
Supplier of random elements with given min and max distance. -
shuffledFuture
CompletableFuture<List<T>> shuffledFuture
Completable future of the shuffle process. -
shuffleProgressBar
JProgressBar shuffleProgressBar
Shuffle progress bar. -
treasureConsumer
Consumer<List<T>> treasureConsumer
Consumer of the shuffled list.
-
-
-
-
Package evo.search.view.handler
-
Class evo.search.view.handler.ListTransferHandler extends TransferHandler implements Serializable
-
-
Package evo.search.view.model
-
Class evo.search.view.model.ConfigComboModel extends DefaultComboBoxModel<Object> implements Serializable
-
Serialized Fields
-
selectIndexListeners
List<IntConsumer> selectIndexListeners
List of listeners for the event of a change of the selected index.
-
-
-
Class evo.search.view.model.FitnessTableModel extends DefaultTableModel implements Serializable
-
Class evo.search.view.model.MutatorTableModel extends DefaultTableModel implements Serializable
-
Class evo.search.view.model.SortedListModel extends AbstractListModel<E> implements Serializable
-
Serialized Fields
-
comparator
@NonNull Comparator<E> comparator
Comparator to sort the list items. -
delegate
Vector<E> delegate
List of the models items.
-
-
-
-
Package evo.search.view.part
-
Class evo.search.view.part.Canvas extends JPanel implements Serializable
-
Serialized Fields
-
points
HashMap<Point2D,Style> points
Points to be rendered on the canvas. -
popover
JLabel popover
Label to display string data without rendering it on the canvas. -
rays
int rays
Amount of rays to display. -
shapes
HashMap<Shape,Style> shapes
Shapes to be rendered on the canvas. -
strings
HashMap<StringShape,Style> strings
Strings to be rendered on the canvas. -
transformation
Transformation transformation
Associated transformation.
-
-
-
Class evo.search.view.part.GeneListCellEditor extends DefaultCellEditor implements Serializable
-
Class evo.search.view.part.ProjectListItem extends JPanel implements Serializable
-
Serialized Fields
-
deleteButton
JButton deleteButton
Item and entry deletion button. -
entry
IndexEntry entry
Index entry displayed in the item. -
nameLabel
JLabel nameLabel
Label to display the project's name. -
pathLabel
JLabel pathLabel
Label to display the project's path. -
versionLabel
JLabel versionLabel
Label to display the project's version.
-
-
-
-
Package evo.search.view.render
-
Class evo.search.view.render.Ray2D extends Line2D.Double implements Serializable
-