jess
Interface Accelerator


public interface Accelerator

An Accelerator generates Java versions of rule LHSs, compiles them and returns new TestBase objects to execute them. Jess does not ship with any Accelerator implementations at this time but will in the near future.

(C) 2007 Sandia National Laboratories


Method Summary
 TestBase speedup(Funcall f, Rete engine)
          Given the function call, return a TestBase object that performs equivalently to the Funcall, or null if this Accelerator can't translate the function.
 

Method Detail

speedup

TestBase speedup(Funcall f,
                 Rete engine)
                 throws JessException
Given the function call, return a TestBase object that performs equivalently to the Funcall, or null if this Accelerator can't translate the function.

Parameters:
f - A function call to translate
engine - the active Rete instance
Returns:
A jess.TestBase object
Throws:
JessException - if the translation fails unexpectedly.

2013 Sandia Corporation