Iteration Performance [million function evaluations per second] Pentium Pro 200 Mhz, SunJDK 1.2.2, NT, java -classic, | ||||||
30000000 iterations | 3000000 iterations (10 times less) | |||||
F.plus | a+b | F.chain(F.abs,F.chain(F.plus,F.sin,F.chain(F.square,F.cos))) | Math.abs(Math.sin(a) + Math.pow(Math.cos(b),2)) | |||
10.8 | 29.6 | 0.43 | 0.35 |
Each class passed to the constructor will have EL functions added for any static method annotated with the @Expose annotation. Each method can be exposed in one namespace prefix, with any number of method names.
The default Guice instance of the Functions class has the {@link OpensocialFunctions} methods registered.
Rule
.
@see org.drools.rule.RuleSet
@author bob mcwhirter
<xsd:complexType name="FunctionsType"> <xsd:sequence> <xsd:element name="FunctionNames" type="ogc:FunctionNamesType"/> </xsd:sequence> </xsd:complexType>@author Justin Deoliveira, The Open Planning Project @source $URL$
|
|
|
|
|
|
|
|
|
|