JDEXi: Open-source DEXi Java Library

Version 4.0


Purpose

JDEXi4.zip contains a library of open-source Java classes that implement the evaluation of decision alternatives based on qualitative multi-attribute models produced by DEXi software.

JDEXi (version 4) supports:

JDEXi4 supports only a fairly limited modification of decision rules. DEXi software should be used for any more extensive modification of models.


Authors: Marko Bohanec, Dušan Omerčević, Andrej Kogovšek, Adem Kikaj

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.


Contents of JDEXi4.zip

bin/ - contains compiled java files
src/ - contains java source files
doc/ - documentation of JDEXi classes
dxi/ - samples of DEXi files (DEXi models)
JDEXi4.jar - JDEXi classes; see the documentation (doc/) for the list of all classes
JDEXiEval.jar - runnable jar for running JDEXi (command-line)
TestJDEXi.jar and DumpFile.jar - runnable jars for showing the use of JDEXi library (see the sources in src/test/)
ComplexRules.jar and NewComplexRules.jar - runnable jars for showing complex rules
Licence.txt
lesser.txt - GNU LESSER GENERAL PUBLIC LICENSE
readme.html - this file

TestJDEXi.jar

Loads a DEXi model, displays some of its elements (attributes, value scales, decision rules, complex rules and new complex rules) and evaluates a random decision alternative.

java -jar TestJDEXi.jar dxi/Car.dxi

ComplexRules.jar

Loads a DEXi model and displays complex rules. It takes 4 parameters, the first two are mandatory:

  1. DEXi_file_name: file containing a DEXi model (.dxi)
  2. Attribute position (0 for root)
  3. Elapsed time
  4. Colorized output (only in terminal which support color output)

Example

java -jar ComplexRules.jar dxi/Car.dxi 0 t color

NewComplexRules.jar

Loads a DEXi model and displays new complex rules. It takes 3 parameters, the first two are mandatory:

  1. DEXi_file_name: file containing a DEXi model (.dxi)
  2. Attribute position (0 for root)
  3. Elapsed time

Example

java -jar NewComplexRules.jar dxi/Car.dxi 0 t

JDEXiEval.jar

Runnable jar for running JDEXi application through the command line. It takes 2 mandatory parameters:
  1. DEXi_file_name: file containing a DEXi model (.dxi)
  2. Variables: a ";"-separated list of name=value pairs

Example

java -jar JDEXiEval.jar dxi/Car.dxi "BUY.PRICE=low;MAINT.PRICE=low;#PERS=more;#DOORS=more;LUGGAGE=big;SAFETY=high"

DumpFunctions.jar

Loads a DEXi model and prints out all utility functions it contains.

java -jar DumpFunctions.jar dxi/Car.dxi

Version information

Previous versions

JDEXi version 1 (2004)

Version 2.0 (2012)

Download JDEXi 2.0: JDEXi2.zip

Version 3.0 (2015)

Download JDEXi 3.0: JDEXi3.zip

Version 3.1 (2016)

Download JDEXi 3.1: JDEXi31.zip

Version 4.0 (2018)

Download JDEXi 4.0: JDEXi4.zip


Maintained by Marko Bohanec. Comments and suggestions to marko.bohanec@ijs.si.

Last update: March 9, 2018