Commit Graph
100 Commits
Author SHA1 Message Date
halfdan 9fa9228066 Fix incorrect method name in Processor 2015-12-26 19:02:20 +01:00
halfdan 669fa71030 Refactoring and cleanup 2015-12-26 18:37:26 +01:00
halfdan 28f442af50 Merge branch '62-psp' into 'master'
Fix PropertySheetPanel behaviour

This PR cleans up the PropertySheetPanel and fixes some behaviour when showing/hiding properties based on their descriptor.

See merge request !13
2015-12-23 02:47:45 +01:00
halfdan 340292e231 Fix PropertySheetPanel
- Generate PropertyEditor for hidden fields
- Hide based on visibility of component
- Set visibible based on hidden property of the property descriptor

fixes #62
2015-12-23 02:29:03 +01:00
halfdan 96f5fd8a14 Optimize code in PropertySheetPanel
refs #62
2015-12-23 01:56:19 +01:00
halfdan 3172d1b4b5 Remove unused code in PropertySheetPanel
refs #62
2015-12-23 00:27:28 +01:00
halfdan ca28b8c5a4 Add license 2015-12-22 15:20:57 +01:00
halfdan f4dc718b33 Fix all errors in javadoc generation. 2015-12-20 17:35:17 +01:00
halfdan 65b1f7df74 Merge branch '60-introspect' into 'master'
Perform a case insensitive match on jar name

- Add some logging

fixes #60

See merge request !11
2015-12-20 17:40:08 +01:00
halfdan 4c03cecb16 Degrade warning to fine 2015-12-20 14:49:27 +01:00
halfdan 510fe35c34 Perform a case insensitive match on jar name
- Add some logging

fixes #60
2015-12-20 14:05:01 +01:00
halfdan 0fe0a5f26c Typo fixes 2015-12-19 17:16:33 +01:00
halfdan 317a79073e Some attempt at DoubleBuffering the plot 2015-12-19 15:02:53 +01:00
halfdan 31879d52d7 Use outline drag mode to prevent lagging when dragging 2015-12-19 13:15:10 +01:00
halfdan 0d0abac3bd Ignore all .iml files 2015-12-19 13:14:42 +01:00
halfdan 6a24e01e45 Merge branch 'object-array-editor' into 'master'
Object array editor

This introduces a new generic ObjectArrayEditor which allows adding assignable classes of a type T to a list (shown in a JList) and configuring those objects in a GenericObjectEditor instance. 

![Screen_Shot_2015-12-16_at_20.05.56](/uploads/6175a0ca3fb67db382d32353a6b5fd6c/Screen_Shot_2015-12-16_at_20.05.56.png)

This thing is useful in multiple instances:

- MetaEvA
  - To select problems and configure them (dimension, init range, etc.)
  - To select optimizers (configuration will be ignored)
- Experiment Generator (future project)
  - To select problems and configure optimizer to be executed in a run matrix

ToDo:

- [x] Allow deactivating/hiding the "Config" button
- [x] Make sure this will automatically be used for objects that have an `Anything[]`
- [x] Find a way to get a better `toString()` (CEC2005 for some reason looks fine)

See merge request !10
2015-12-18 16:50:09 +01:00
halfdan da2b3ff633 Inline variable and allow disabling/enabling the config button 2015-12-18 16:42:14 +01:00
halfdan 60f16a39c6 Simplify method in AbstractEAIndividual 2015-12-17 22:35:11 +01:00
halfdan 1cec889331 Some basic tests for AbstractProblemDouble
refs #53
2015-12-17 22:34:45 +01:00
halfdan 7615196d2b Remove completely unused classes 2015-12-17 21:10:36 +01:00
halfdan ba9fc8fe89 Add test for TXTFileFilter
refs #53
2015-12-17 21:00:22 +01:00
halfdan 552a2d5fab Fix PairTest
refs #53
2015-12-17 21:00:00 +01:00
halfdan b6de8f83b3 Remove unused class 2015-12-17 20:59:44 +01:00
halfdan 3af0ea5c4f Add tests for Pair
refs #53
2015-12-17 20:49:28 +01:00
halfdan a39acf3a22 Rename Item to TypeSelectorItem 2015-12-17 16:04:59 +01:00
halfdan ef6033c303 Finish implementation of ObjectArrayEditor 2015-12-17 15:52:41 +01:00
halfdan 2242367832 Move Item to own class, remove ObjectArrayEditor (will be merged with other class) 2015-12-17 15:38:20 +01:00
halfdan 2cd3017ae7 Remove currently unused "Get CLI" button 2015-12-17 13:59:51 +01:00
halfdan 2f2803b4a9 Add 10px padding to tabs and PropertyDialog 2015-12-17 13:57:01 +01:00
halfdan 965049c4cb Subscript indices in PropertySheetPanel
- add subscriptIndices to StringTools
- add tests
2015-12-15 11:02:21 +01:00
halfdan b58a589b24 Test and refactor translateGreek
closes #55
2015-12-15 10:32:51 +01:00
halfdan f1b9f19dde Extract translateGreek to StringTools
refs #55
2015-12-15 09:41:27 +01:00
halfdan ee92cc009a Add TitledSeperators to PropertySheetPanel 2015-12-15 09:38:22 +01:00
halfdan 97fcc1c3d0 Move objectChooser to sub panel and prefix with Type label. 2015-12-15 09:37:55 +01:00
halfdan 29d53e94dc Fix optimize() method in OptimizerFactory 2015-12-15 09:34:38 +01:00
halfdan 0e35f8e0f4 Better looking checkboxes.
- Booleans are now shown as centered checkboxes
- Refactored detail button to class
2015-12-14 14:29:18 +01:00
halfdan 7457b33a5d Fix legend boundary box floating point issue.
refs #48
2015-12-09 15:32:27 +01:00
halfdan f0716a3576 Improve legend display
- Draw box around legend
- Prefix graph titles with colored line
- Allow toggling of grid in FunctionArea

refs #48
2015-12-09 15:07:00 +01:00
halfdan fa1c0a052e Merge branch 'master' of gitlab.cs.uni-tuebingen.de:eva2/eva2 2015-12-09 11:39:11 +01:00
halfdan 7da4880363 Merge remote-tracking branch 'origin/master' 2015-12-07 21:16:51 +01:00
halfdan 0132c09c69 Several fixes, cleanup. 2015-01-13 14:20:59 +01:00
halfdan 01ae0fb9bd Added Zakharov problem 2014-12-20 13:26:59 +01:00
halfdan 76bbf3ca2f Problem documentation. 2014-12-20 13:10:34 +01:00
halfdan 164ccd8a9d Don't set the native Look and Feel on Linux 2014-12-08 16:47:16 +01:00
halfdan f01258fff1 Fix Step function and add test for known optimum. 2014-12-01 19:22:30 +01:00
halfdan b19d1c5d39 Fix GGABC (Gbest-Guided) and correctly count function calls. 2014-12-01 18:41:12 +01:00
halfdan 794eeed998 Fix NullPointerException in PropertyCellRenderer 2014-12-01 16:12:51 +01:00
halfdan b1e5c7a410 Properly deactivate auto-aging 2014-12-01 12:32:26 +00:00
halfdan b75da91ead Add scout count info as additional data for output. 2014-12-01 12:23:12 +00:00
halfdan d80ac15142 Implement isAutoAging to deactivate auto-aging of individuals on incrGeneration.
Used by various instances of the ABC
2014-12-01 12:11:14 +00:00
halfdan d7b677c6b8 Added test for F23 Problem 2014-11-26 21:51:04 +01:00
halfdan 2e9343bf74 Add new Generalized Schaffer function as F23Problem
Preserve best solution found in ABC
2014-11-24 10:38:48 +01:00
halfdan 801c3513e7 Refactoring of ABC. 2014-11-23 19:18:05 +01:00
halfdan 510170be50 Refactored ABC
refs #36
2014-11-23 14:56:42 +01:00
halfdan 08f7b92f86 Fix Artificial Bee Colony by using inverse fitness probability 2014-11-22 19:34:04 +01:00
halfdan 6ae2aa28b9 Finally getting rid of the eva2.optimization.go package
- Moved GUI related stuff (StandaloneOptimization, MOCCOStandalone, ...) to eva2.gui
- Moved InterfaceOptimizationParameters and implementations up to eva2.optimization
- Moved Processor out of modules
2014-11-22 11:48:17 +01:00
halfdan 031e5b432a Add Population serializer. 2014-11-18 19:32:19 +01:00
halfdan ad7a5ea86c New CPUPanel to show process load vs. system load.
Small cleanup.
2014-11-18 17:15:40 +01:00
halfdan 91549862f1 Removed a few tiptexts from GA 2014-11-18 16:02:35 +01:00
halfdan 0479716f43 Refactor DE and add Rand/2 strategy 2014-11-18 11:34:59 +01:00
halfdan 563c407f0b New --version flag to show current EvA2 version. 2014-11-18 11:34:43 +01:00
halfdan 7f5f3c5cea Show useful info for classes with subtypes.
closes #35
- Show assignable subtypes
- Rename YamlStatistics to CommandLineStatistics
2014-11-16 14:47:17 +01:00
halfdan e5c8322d78 Properly format --help output.
refs #35
2014-11-16 00:51:00 +01:00
halfdan 35bd5c4a9e Added ParameterGenerator for Command Line interface.
Added --help parameter to show help for CLI mode.

refs #35
2014-11-15 12:00:06 +01:00
halfdan 17263cc023 Graceful fallback when .yml files fail to load.
Only save params once per optimization.
2014-11-15 07:08:14 +01:00
halfdan 667e069bcc Initialize Look and Feel seperately. 2014-11-15 06:38:10 +01:00
halfdan ca108a5d97 Fix performance issue with CLI execution (SnakeYAML doesn't perform well
when serializing large objects)
Implement easier access for terminators.
2014-11-14 17:55:23 +01:00
halfdan 5a80cb781e Processor thread now has a name.
Fix several html files.
2014-11-14 15:38:26 +01:00
halfdan b8b44b7644 Code cleanup, comments, javadoc fixes. 2014-11-14 14:33:56 +01:00
halfdan 553002c834 Complete Yaml output for CLI mode.
Cleanup of AbstractStatistics
2014-11-14 11:32:05 +01:00
halfdan 2e1f862718 YamlStatistics mostly implemented. 2014-11-13 18:22:14 +01:00
halfdan c3eddfbee4 Removes deprecated method createNextGenerationPerformed from
InterfaceStatistics. This was only used in EvA2ESModel.
2014-11-13 17:57:49 +01:00
halfdan ca70b48bd2 Fixed comment fuckup where simple was replaced with eva2.problems.simple
Implements YamlStatistics in cli.Main
A few fixes in the processor to allow GUI-less optimization
2014-11-13 17:49:40 +01:00
halfdan 3627d33df5 Cleanup. 2014-11-13 17:23:35 +01:00
halfdan 153b6e3974 Correctly repaint JobList when optimization is done. 2014-11-13 17:13:52 +01:00
halfdan 4326044a1b Organize imports.
Fix missing data header in F8Problem.
Fix several tip texts.
2014-11-13 14:50:13 +01:00
halfdan 83194f4d04 Hide stats field and use parameter annotation. 2014-11-13 11:06:32 +01:00
halfdan a2ddf25ce6 Random cleanup and start of CLI log implementation. 2014-11-12 19:23:21 +01:00
halfdan 9ea3f4d464 Fix image references and name changes. 2014-11-12 19:23:03 +01:00
halfdan 014fd85beb Refactor EVAHELP and remove it. 2014-11-12 14:35:58 +01:00
halfdan 40df065a58 Fix the png export by simply using the FunctionArea graphics. 2014-11-11 17:01:31 +01:00
halfdan 837c4fea32 JavaDoc fixes and larger code cleanup. 2014-11-11 16:58:43 +01:00
halfdan 7c896fea8d Test tTestEqSize
refs #34
2014-11-11 02:00:58 +01:00
halfdan 1af305ae3d Fix variance implementation and add tests to Math package.
refs #34
2014-11-10 17:46:34 +01:00
halfdan 6386c03f43 Remove Generic from most editors. They are not generic at all. 2014-11-09 18:57:50 +01:00
halfdan 8f35b0c6d4 Rename StatisticalParameters to remove EvA in name. 2014-11-09 18:50:15 +01:00
halfdan 88ef09db21 Ensure size of population is set when target size is set. 2014-11-07 23:44:34 +01:00
halfdan 7756ceac4e Code cleanup through static analysis. 2014-11-07 23:43:17 +01:00
halfdan 453df310ee Remove crap comments. 2014-11-07 22:58:41 +01:00
halfdan d778dc6e24 Make Population a typed ArrayList 2014-11-07 22:45:06 +01:00
halfdan 1dedb13dc9 Fix bug in humaniseCamelCase. 2014-11-07 21:59:28 +01:00
halfdan 7605dacb8a CLI adjustments 2014-11-06 15:54:57 +01:00
halfdan 3358a469a3 Fix bug in PSO implementation. 2014-11-06 11:27:32 +01:00
halfdan b7749711ca Remove last uses of SelectedTag from core package
refs #32
2014-11-06 10:25:51 +01:00
halfdan 93aff6d876 Refactor EnumEditor and actually use it.
refs #32
2014-11-05 20:00:00 +01:00
halfdan 62e436274c Removed SelectedTag from ScatterSearch.
refs #32
2014-11-05 19:02:39 +01:00
halfdan e18f9e3b38 Replace SelectedTag with useful enum.
refs #32
2014-11-05 18:53:47 +01:00
halfdan a91d9fbecc Close dialogs on escape key press. 2014-11-05 18:53:23 +01:00
halfdan a3cf5971fb Remove AlgType Selected in PSO
refs #32
2014-11-04 23:20:15 +01:00
halfdan 43768d1f96 Removes SelectedType where unnecessary.
refs #32
- Replaced SelectedType with an enum in CombinedTerminator
2014-11-04 22:54:13 +01:00