Skip to content

Drools6.1 and JavaFX8 with Java8 – Genealogy Rules

August 7, 2014

Skills421

I wanted to create a simple project that integrated Drools6.0 with JavaFX8 using Java8 and some of its new features.  So, here goes.

Objective

We are going to go back to one of the classic problems of Genealogy.  You’re tracing your family tree and you’ve found hundreds of people who could be related but matching these people up by hand can be quite a challenge – a classing candidate for a rule engine.

Take a look at the GUI below:

001-objective

In the left pane we can see the raw data that we want to process.  In this example I have kept it simple with just four records.

We then need to create a set of rules to identify potential spouses and potential children.

003-objective

With the rules entered, we go back to our data and simply fire the rules:

002-objective

At any time, we can change the criteria for our potential matches…

View original post 994 more words

Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: