opennlp.grok.ml.dectree
Class DTreeRule

java.lang.Object
  |
  +--opennlp.grok.ml.dectree.DTreeRule
All Implemented Interfaces:
java.io.Serializable

public class DTreeRule
extends java.lang.Object
implements java.io.Serializable

A rule in a desicion tree. It can require any number of conditions which are conjoined.

Version:
$Revision: 1.3 $, $Date: 2002/02/08 12:13:36 $
Author:
Gann Bierner
See Also:
Serialized Form

Constructor Summary
DTreeRule(java.lang.Object r, java.util.List c)
           
 
Method Summary
 void addCondition(DTreeCondition cond)
           
 boolean eval(java.util.Map querier)
           
 java.lang.Object getResult()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTreeRule

public DTreeRule(java.lang.Object r,
                 java.util.List c)
Method Detail

addCondition

public void addCondition(DTreeCondition cond)

getResult

public java.lang.Object getResult()

eval

public boolean eval(java.util.Map querier)


Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.