667481 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 4 Messages: 4 Messages: 4 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

JGAP 3.3.3 released (Java Genetic Algorithms Package)

Posted by: Klaus Meffert on May 09, 2008 DIGG
JGAP is a Genetic Algorithms and Genetic Programming package written in Java. From the JGAP home page:
WHAT ARE GENETIC ALGORITHMS AND GENETIC PROGRAMS?

Genetic algorithms (GAs) are evolutionary algorithms that use the principle of natural selection to evolve a set of solutions toward an optimum solution. GAs are not only quite powerful, but are also very easy to use as most of the work can be encapsulated into a single component, requiring users only to define a fitness function that is used to determine how "good" a particular solution is relative to other solutions. Genetic Programs (GP) enhance GAs. They allow to breed dynamic programs instead of static chromosomes.
JGAP version 3.3.3 is an extensive release, featuring basically the following:
  • The evolution cycle has been revamped and simplified for a better understanding
  • A lot of smaller enhancements and architectural improvements, see the change log
  • Some bugs have been fixed
  • The basic MinimizingMakeChange example was simplified
  • Improved grid computing by adding new classes and features
  • Javadoc-enhancements
  • New JUnit tests
This release can be downloaded here:
http://sourceforge.net/project/showfiles.php?group_id=11618&package_id=48940

For more information visit the JGAP homepage at http://jgap.sf.net

Klaus Meffert for the JGAP team

Threaded replies

·  JGAP 3.3.3 released (Java Genetic Algorithms Package) by Klaus Meffert on Fri May 09 14:48:13 EDT 2008
  ·  Re: JGAP 3.3.3 released (Java Genetic Algorithms Package) by John Davies on Tue May 13 12:48:50 EDT 2008
    ·  Possible use cases by Klaus Meffert on Wed May 14 03:37:47 EDT 2008
    ·  Re: JGAP 3.3.3 released (Java Genetic Algorithms Package) by Jan de Jonge on Wed May 14 04:22:46 EDT 2008
      ·  Application in Data Warehousing by Ravi Shankar on Thu May 15 21:59:48 EDT 2008
  Message #252468 Post reply Post reply Post reply Go to top Go to top Go to top

Re: JGAP 3.3.3 released (Java Genetic Algorithms Package)

Posted by: John Davies on May 13, 2008 in response to Message #252208
This sounds interesting, the sort of thing I'd download and play with if I had the time, can anyone give me/us a quick overview of possible applications, ideas etc. to kick start the thought processes please.

-John-

  Message #252526 Post reply Post reply Post reply Go to top Go to top Go to top

Possible use cases

Posted by: Klaus Meffert on May 14, 2008 in response to Message #252468
John,

Evolutionary Algorithms, which Genetic Algorithms (GA) and Genetic Programming (GP) are part of, are strong in finding near-optimal solutions for problems with a huge solution space.
E.g., this includes optimizations or designing circuits. The NASA has evolved an antenna for space that has a superb effectivity.
You could uses GAs and GPs to find formulas for a value table.
With Genetic Programming in special you could try finding programs that solve (or better: "fit") a given problem.
JGAP is used to evolve Java programs that act as robots on the Robocode platform (see http://jgap.sourceforge.net/doc/robocode/robocode.html).

Best

Klaus
http://www.klaus-meffert.com

  Message #252529 Post reply Post reply Post reply Go to top Go to top Go to top

Re: JGAP 3.3.3 released (Java Genetic Algorithms Package)

Posted by: Jan de Jonge on May 14, 2008 in response to Message #252468
This algorithm, together with Neural Networks, Baysian Networks, Linear programing are fine solutions I'm always tempted to want to apply in enterprise applications but unfortunately I haven't come across any problem in this space where it could be nicely applied without overkilling the problem. Maybe it's not me but examples that often come with these algorithms. They are so theory-oriented it makes it hard to find a real practical case. That's a pity.

Jan

  Message #252736 Post reply Post reply Post reply Go to top Go to top Go to top

Application in Data Warehousing

Posted by: Ravi Shankar on May 15, 2008 in response to Message #252529
Hi Klaus,

There is an area, as you are aware, named Business Intelligence, right? FOr example, we have an application which calculates the incensives a salesmanager gets depending on some rules and some statistics about the sales he had done. We just use a rule engine to get this done. And we have some feature called "what if" analysis, which allows the user to get the details of what he "should" do in order to reach a target. These all are accomplished by some standard rule engines.

We also have a reporting platform which generates reports based on Business Objects.

What I am not getting or confusing is how a gentic algorthims decisiong is changed from this ? Or in what scenarios I should go for a rule engine like the one above, and where should I be using JGAP? Can you kindly list some scenarios please, thanks

Best
Ravion

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Auto-Scaling Your Existing Web Application

In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources. (May 19, Tech Talk)

Free Book: Jakarta-Struts Live

Download the entire book of Jakarta-Struts Live and learn about Struts MVC, Tiles, the Validator, DynaActionForms, plug-ins, internationalization, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map