Class Estimator

java.lang.Object
   |
   +----Estimator

public class Estimator
extends Object
This class estimates missing/unspecific dates in a given database.

Author:
Vegard Brox

Constructor Index

 o Estimator(GenealogyDB)
Creates a new estimator object for the specified database.

Method Index

 o estimate()
Loops iteratively through the specified database, and narrows year ranges where possible, using a number of logical and heuristical constraints.
 o getErrorDBs()
Get the databases that contain errors.
 o getLog()
Get the log for this estimator.

Constructors

 o Estimator
 public Estimator(GenealogyDB database)
Creates a new estimator object for the specified database.

Parameters:
database - the database to perform estimation on

Methods

 o estimate
 public int estimate()
Loops iteratively through the specified database, and narrows year ranges where possible, using a number of logical and heuristical constraints.

Returns:
The number of iterations required to do the estimation
 o getLog
 public Hashtable getLog()
Get the log for this estimator.

Returns:
the log
 o getErrorDBs
 public Enumeration getErrorDBs()
Get the databases that contain errors.

Returns:
An enumeration of databases with errors in them