Class Estimator
java.lang.Object
|
+----Estimator
- public class Estimator
- extends Object
This class estimates missing/unspecific dates in a given database.
- Author:
- Vegard Brox
-
Estimator(GenealogyDB)
- Creates a new estimator object for the specified database.
-
estimate()
- Loops iteratively through the specified database, and narrows
year ranges where possible, using a number of logical and
heuristical constraints.
-
getErrorDBs()
- Get the databases that contain errors.
-
getLog()
- Get the log for this estimator.
Estimator
public Estimator(GenealogyDB database)
- Creates a new estimator object for the specified database.
- Parameters:
- database - the database to perform estimation on
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
getLog
public Hashtable getLog()
- Get the log for this estimator.
- Returns:
- the log
getErrorDBs
public Enumeration getErrorDBs()
- Get the databases that contain errors.
- Returns:
- An enumeration of databases with errors in them