==============================================================================

This is a solution to the Family Puzzle puzzle posted on the Drools mailing 
List by Ellen Zhao on August 19, 2007

Submitted by Reginaldo Delfino (rdelfino@gmail.com)

==============================================================================

This solution was developed on Eclipse 3.3, using Drools 4.0, 
running on Java 1.6

Source files are in folder src
	java: contains the java files
	rules: rules files

All needed libraries are in folder lib

Along with the libraries and source files, a .project file
and a .classpath are shipped so that it's possible to open this 
solution in Eclipse.  This package also features build.xml for 
ant compilation/exection.

==============================================================================
Instructions to run:
==============================================================================

Run in Eclipse:
1) In Package Explorer, right click the project and select: Run As->JUnit Test

Run from Command Line (depends on Ant):
1) using the favorite shell, go to the project folder and run "ant"
2) doing so will compile and run this solution

Final answer is printed to the Console, (by a Rule).

Output should look something like this:

------------------------------
Testing Family Puzzle Solution
------------------------------
Done

------------------------------
            Results
------------------------------
Man: Abel, wife: Luisa, son: Albert
Man: Locker, wife: Doris, son: Henry
Man: Snyder, wife: Edith, son: Victor
Woman: Edith, husband: Snyder, son: Victor
Woman: Doris, husband: Locker, son: Henry
Woman: Luisa, husband: Abel, son: Albert
Son: Albert, mom: Luisa, dad: Abel
Son: Henry, mom: Doris, dad: Locker
Son: Victor, mom: Edith, dad: Snyder
Done
