Package svs_simulation :: Package ai_lib :: Module bdt :: Class BDTNode
[show private | hide private]
[frames | no frames]

Class BDTNode


A generic node within a binary decision tree.
Method Summary
  __init__(self)
  evaluate(self, inputData, performActions)
Evaluates the input data.
boolean rule(self, inputData)
Rule used to perform evaluation.
  setRule(self, ruleFunction)

Method Details

evaluate(self, inputData, performActions=True)

Evaluates the input data.

If the evaluation is positive, passes the data on to the yes_node, otherwise to the no_node.

rule(self, inputData)

Rule used to perform evaluation.

This should be overridden by implementing classes.
Returns:
boolean

Generated by Epydoc 2.1 on Thu Oct 20 15:30:30 2005 http://epydoc.sf.net