Table of Contents

Class: LispFunctionDevianceCalculator charlemagne/deviancecalculator.py

A DevianceCalculator which calculates deviance by evaluating a lisp expression.

Deviance is calculated by evaluating a specified expression on with the interpreter specified.

Base Classes   
InputDevianceCalculator
Methods   
__init__
calculate
  __init__ 
__init__ (
        self,
        input,
        expression,
        interpreter=None,
        )

  calculate 
calculate (
        self,
        p,
        i,
        )

Calculate the deviance the specified program on the specified input index.

WARNING: This can raise NaughtyException which should be dealt with in the caller.


Table of Contents

This document was automatically generated on Tue Jun 10 03:55:07 2003 by HappyDoc version 2.0.1