jess
Interface Accelerator


public interface Accelerator

An accelerator generates Java versions of rule LHSs, compiles them and returns new TestBase objects to execute them.

(C) 2003 Ernest J. Friedman-Hill and Sandia National Laboratories
$Id: Accelerator.java,v 1.3 2003/01/21 03:38:38 ejfried Exp $


Method Summary
 TestBase speedup(Funcall f)
          Given the function call, return a TestBase object.
 

Method Detail

speedup

public TestBase speedup(Funcall f)
                 throws JessException
Given the function call, return a TestBase object.

Parameters:
f - A function call to translate
Returns:
A jess.TestBase object that performs equivalently to the Funcall, or null if this Accelerator can't translate the function.
Throws:
JessException - If the translation fails unexpectedly.

© 2001 E.J. Friedman-Hill and Sandia Corporation