Introduction |
![]() |
ARulesXL rulesets are developed and maintained in Microsoft Excel spreadsheets. They use data from spreadsheet cells as inputs and return results as spreadsheet cell values. The ARulesXL Application Programming Interface (API) allows you to run rulesets in a variety of languages and tools. The API lets you load inputs from whatever data sources your application needs (e.g. databases, users, networks), and query the ruleset to obtain results. You can display those results in your application's user interface or in Web pages. You can also use the results programmatically to create schedules, orders, analyses, recommendations and more.
The API is also available from with Excel in VBA. This allows you to create more sophisticated applications that run entirely within Excel.
The API is implemented as a class in most environments. The class has methods to open and close rulesets, load data and issue queries. Most of the methods are common across environments, although language specific methods are provided to use language-specific data collections, arrays, etc.
The API is currently available as a:
The general methods are described under the API Reference and each environment has it's own chapter to discuss its installation, usage and language specific methods.
Samples are also provided for each environment.
In order to run a ruleset in another environment, first you need to export it from Excel. To do this:
To run that ruleset in another environment these are the general steps. Specific steps are documented under each environment.
Note, you need to use the same ARulesXL engine files to run your ruleset that you used when you exported it from Excel. In other words, if you upgrade to a newer version of ARulesXL and export new rulesets make sure to update the ARulesXL engine files.
|
Copyright ©2005-7 Amzi! inc. All Rights Reserved.
|