tag:blogger.com,1999:blog-98846782024-03-14T03:29:28.061+01:00JavarunnerStuff related with sort of evolutionary or innovative concepts and architecture in the field of JavaUnknownnoreply@blogger.comBlogger50125tag:blogger.com,1999:blog-9884678.post-22665221991923145752015-04-20T08:39:00.000+02:002015-06-15T21:08:20.932+02:00Robocode - generate robots automagically with JGAPLet Genetic Algorithms (more specific: Genetic Programmic) do the work for you.
Here you will find more information about that and how to obtain the source code (of course you can try for yourself).
Another article covers some general overview of RobocodeJGAP (written in German).
Have fun creating robots in Java with RobocodeJGAP and Genetic Algorithms!
Try to go for the higher ranks on the Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-27856088798752063532009-02-03T17:52:00.000+01:002015-06-15T21:08:38.636+02:00JGAP 3.4.1 released (Java Genetic Algorithms Package)JGAP is a sophisticated Genetic Algorithms and Genetic Programming package written in Java.JGAP version 3.4.1 fine-tunes Genetic Programming capabilities that have been advanced in the previous major release 3.4.The tuning includes:Enhanced GP evolution cycle by avoiding dead endsBetter support of GP mutationImproved Mona Lisa Painting Problem exampleSome bug fixesJavadoc-enhancementsThis releaseUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-35574257199262184132009-02-03T17:50:00.001+01:002009-02-03T17:52:06.593+01:00JGAP 3.4 released (Java Genetic Algorithms Package)JGAP is a sophisticated Genetic Algorithms and Genetic Programming package written in Java.JGAP version 3.4 is an enhancement release, driving Genetic Programming capabilities to a new level. Among the extensions are:A new popular example: Mona Lisa Painting Problem, available for GA as well as for GPEnhancement of evolution cycle of Genetic ProgrammingJavadoc-enhancements and new JUnit testsSomeUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-31174585040136235532008-05-09T19:14:00.001+02:002008-05-09T19:15:54.918+02:00JGAP 3.3.3 released (Java Genetic Algorithms Package)JGAP is a sophisticated Genetic Algorithms and Genetic Programming package written in Java.JGAP version 3.3.3 is an extensive release, featuring basically the following:The evolution cycle has been revamped and simplified for a better understandingA lot of smaller enhancements and architectural improvements, see the change logSome bugs have been fixedThe basic MinimizingMakeChange example was Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-86888634931396369892007-12-13T12:17:00.000+01:002007-12-13T12:18:19.471+01:00JGAP 3.3.1 released - Java Genetic Algorithms and Genetic Programming PackageJGAP is a sophisticated Genetic Algorithms and Genetic Programming package written in Java. JGAP version 3.3.1 is a feature enrichment release.For the first time, the XStream library is used for serialization issues, making such much more convenient.Besides, the fast and stable trove4j map implementation is utilized. With that, unit tests relying on maps now don't fail any longer due to specific Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-85365804482940176212007-11-11T19:11:00.000+01:002015-06-15T21:08:47.061+02:00RobocodeJGAP 0.2.5 releasedRobocode is a game. There is a playfield in which two virtual robots fight against each other. A robot can perform certain actions, like moving around, scanning the environment, shooting and turning the gun. Robocode notified a robot if a significant event occurs, including: scanned the opponent, hit a wall, hit by a bullet or hit the opponent.RobocodeJGAP enables JGAP to generate code for robotsUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-38236742640376639292007-11-11T19:09:00.000+01:002007-11-11T19:11:33.288+01:00JGAP 3.3 released (Java Genetic Algorithms Package)JGAP is a sophisticated Genetic Algorithms and Genetic Programming package written in Java.JGAP version 3.3 is a stability release, it includes the following:Integrated Robocode 1.4.8 with JGAPAdded persistent representations of GPPopulation, GPProgram, ProgramChromosome and CommandGeneEnhanced interface IProgramCreatorGPProgram: added a growOrFull method for initializing programs with given Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-43818578553820121472007-09-13T12:40:00.000+02:002007-09-13T12:49:59.408+02:00LINQ is great but is 20 years too lateLINQ is the Language-Integrated Query. Microsoft has the LINQ project running for integrating database queries into C#. Sort of looks like this (example taken from DevelopMentor):IEnumerable < Product > prodQuery = from p in db.Products where p.Category.CategoryName == "Beverages" select p;Sort of this is what I'm missing for long in Java!!!Before getting to Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-9884678.post-9696177830525494952007-09-12T21:42:00.000+02:002007-09-12T21:44:29.525+02:00JGAP 3.2.2 released: Java Genetic Algorithms and Genetic Programming PackageJGAP is a Java Genetic Algorithms and Genetic Programming Package which allows to utilize evolutionary algorithms for solving complex problems.Version 3.2.2 of the open source Java enginge is out now!Many examples included as well as a cool Robocode sub project.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-37882133015392708872007-09-12T21:40:00.000+02:002007-09-12T21:42:24.720+02:00RobocodeJGAP 0.2.1 publishedRobocodeJGAP is a genetic programming approach to evolve full-blown Java programs, acting as virtual robots on the popular Robocode platform.RobocodeJGAP utilizes the genetic algorithms enginge JGAP.For more information on RobocodeJGAP see http://jgap.sourceforge.net/doc/robocode/robocode.htmlOr see further information about RobocodeUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-68293131540251638972007-06-21T15:47:00.000+02:002015-06-15T21:09:03.541+02:00URLEncoder/URLDecoder way too slowAs I recently found out by trying, the methods encode in java.net.URLEncoder and decode in java.net.URLDecoder are way too slow.Following an advice, I replaced these calls with encode and decode from class org.apache.commons.codec.net.URLCodec which is part of the Apache Commons Codec library.Running the same application with Java's built in coding logic and another time with Apache's, showed me Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-64527522604720015422007-02-13T21:52:00.000+01:002007-02-13T21:55:33.892+01:00Java Genetic Algorithms Package 3.2RC1 releasedJGAP is a Genetic Algorithms and Genetic Programming package written in Java.JGAP version 3.2 Release Candidate 1 represents major feature enhancements, including:Genetic Programming enhancementsA complex Robocode GP example for evolving pure Java codeImprovements in the grid logic (especially concerning the architecture)A lot of new unit tests (currently we count over 1300 unit tests)This Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-9884678.post-25802442257968701512007-01-31T10:16:00.000+01:002015-06-15T21:08:55.726+02:00JGAP goes RobocodeNewest developments and a great user feedback made JGAP play together with Robocode.Robocode is a platform for letting compete programs (robots) by moving around, scanning the environment and shooting each other virtually.JGAP is a Genetic Algorithms and Genetic Programming (GP) Package for Java and is open-source.It is used to evolve a robot program code as good as possible by using the GP Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-1168772419894628502007-01-14T11:56:00.000+01:002015-06-15T21:16:36.238+02:00Sourceforge CVS is stuck with WinCVSFor several weeks now I noticed great difficulties when trying to access the sourceforge CVS of my project with WinCVS (any version!). Don't get me wrong, it worked for years! But since a while I even get a long delay on WinCVS startup. Not to mention the really long time it takes checking in something.OK, it could be that my system's configuration is not playing together with sf's CVS. But why, Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-1167852275448128852007-01-03T20:23:00.000+01:002007-01-10T16:26:57.963+01:00JGAP 3.1 releasedJGAP is a Genetic Algorithms and Genetic Programming package written in Java.JGAP version 3.1 is a quality improvement release.It considers multiple user feedback by consolidating the grid functionality, fixing several bugs, introducing a lot of new unit tests, and enhancing the logic of many classes.This release can be downloaded here:http://sourceforge.net/project/showfiles.php?group_id=11618&Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-1159212607634469912006-09-25T21:28:00.000+02:002006-09-25T21:30:07.646+02:00JGAP 3.01 released: Grid functionalityJGAP is a genetic algorithms and genetic programming package written in Java.JGAP version 3.01 adds grid functionality to the code base of release 3.0. With that you can build your own grid in LANs.A grid hosts a server, one to many workers, and one to many clients. A client can send work requests to the server, which in turn splits the work and provides the workers with corresponding tasks. Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-1157138794645710162006-09-01T21:25:00.000+02:002006-09-01T21:26:34.666+02:00JGAP 3.0final releasedToday, JGAP 3.0final has been released. JGAP is a genetic algorithms and genetic programming package, which is easy to use and which is delivered with ready-to-use components, such as genetic operators, selectors and examples.Try it out now, this version contains many improvements.Feedback is very welcome :-)Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-1149323067408577932006-06-03T10:18:00.000+02:002015-06-15T21:09:12.897+02:00German JUnit book releasedJust these days my junit book was released and can be ordered at Amazon.Information about the book can be found at the book's official homepage.As said, the book is written in German, but maybe some of you can handle this :-) The homepage contains some information about it and links to some english articles that may be of interest.
(adsbygoogle = window.adsbygoogle || []).push({});
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-1148561231504058312006-05-25T14:42:00.000+02:002006-05-25T14:47:11.513+02:00Faster than light... this time not with JavaIsn't that awesome! Light can predict the way it will take (or, to adapt this statement to the new findings: ... it had taken in future).Quantum physics has not been mentioned in the article but it is definitively sort of issue QP will have to cope with.This is not related to Java in any way but it's so gorgeous that it's worth an entry :-)Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-1146213810856646852006-04-28T10:42:00.000+02:002006-06-03T10:20:25.813+02:00JGAP 2.6 releasedSome days ago, JGAP 2.6 has been released. JGAP is a genetic algorithms package, which is easy to use and which is delivered with ready-to-use components, such as genetic operators, selectors and examples.Try it out now!In the CVS you already find code to solve problems using Genetic Programming (see directory gp-src).Feedback is very welcome :-)PS: The German junit book references JGAP several Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-1145431649533276252006-04-19T09:19:00.000+02:002015-06-15T21:09:18.822+02:00Common Annotations for Java (JSR 250) shamefully approvedAfter several protests of mine to avoid the finalization of JSR 250 (Common Annotations for Java), now the Executive Commitee has shamefully approved that JSR.Thanx Doug Lea for adding a comment to his vote the first time I can remember. He wrote: "Underwhelming but innocuous". Then, Doug, you better voted with "No", please. That would have raised your reputation a lot...Anyone, please read the Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-1136894931193978932006-01-10T13:01:00.000+01:002015-06-15T21:09:24.977+02:00Anybody using JUnit's ExceptionTestCase ?To write a unit test that expects an exception of a particular type to be thrown is possible by using JUnit's class junit.framework.ExceptionTestCase. However the usage of this class (that inherits from junti.framework.TestCase) is ugly (details such as import statements omitted):1. Test classpublic void MyTestCase extends ExceptionTestCase { public void testXYZ throws Exception { MyClass Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-1135697326771235782005-12-27T16:17:00.000+01:002015-06-15T21:09:38.469+02:00The deadlineMotivated by a current project with late hours of work, this text resulted. In this project, there was a deadline until the productivity start had to happen. Of course, this deadline was given by higher instances not knowing about the work done by the divisions below them (development, operating department).Most of you should know this scenario. Many of you, I guess, have read the excellent book Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-1133605113409095692005-12-03T11:15:00.000+01:002005-12-03T11:18:33.420+01:00JGAP 2.5 releasedYesterday, the new version of JGAP has been released. JGAP is a genetic algorithms package, which is easy to use and which is delivered with ready-to-use components, such as genetic operators, selectors and examples.Try it out now!There are many references available. Check out the JGAP references pageUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-9884678.post-1131959659917082832005-11-14T09:59:00.000+01:002015-06-15T21:12:11.660+02:00Console Outputs in Unit TestDuring the review of several unit tests in different projects, there are usually tests containing output statements (such as System.out.println or file output). My initial opinion to outputs in tests, especially to console outputs, is that they should be avoided in any case.When thinking further, it seems to me that gathering data in a file could be legitimate for some situations. But console Unknownnoreply@blogger.com2