JDEXi:
Open-source DEXi Java Library
Purpose
JDEXi.zip contains a library of
open-source Java classes that implement a part of the functionality of
DEXi, a program for multi-attribute decision
making. Currently, JDEXi supports:
- the parsing and reading of DEXi models from .dxi files (XML format),
- the evaluation of options.
Copyright (C) 2004 Asobi d.o.o. (www.asobi.si)
Authors: Marko Bohanec, Dušan Omerčević, Andrej Kogovšek
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.
Directory structure
bin - contains compiled java files
src - contains java source files
doc - contains javadoc
DEXi.jar - DEXi application
DEXi.doc - UML application model
Licence.txt
lesser.txt - GNU LESSER GENERAL PUBLIC LICENSE
Readme.txt
DEXi.jar
DEXi application. See DEXi.doc for the list of all classes.
Class si.DEXi.Evaluate
Main class for running DEXi application. It takes 3 parameters:
- xml model file (\src\test\DEXi\CarModel.xml)
- Attribute name (CAR)
- Variables ("BUY.PRICE=low;MAINT.PRICE=low;#PERS=more;#DOORS=more;LUGGAGE=big;SAFETY=high")
All parameters must be provided.
Example
java si.DEXi.Evaluate \src\test\DEXi\CarModel.xml CAR "BUY.PRICE=low;MAINT.PRICE=low;#PERS=more;
#DOORS=more;LUGGAGE=big;SAFETY=high"
Class test.DEXi.PerformanceTest
Class for testing DEXi performance. It takes 3 parameters:
- Argument is xml model (\src\test\DEXi\CarModel.xml)
- Argument is attribute name (CAR)
- Argument is data file that contains variables (\src\test\DEXi\\car.dat)
All parameters must be provided.
Example
java si.DEXi.PerformanceTest \src\test\DEXi\\CarModel.xml CAR \src\test\DEXi\\car.dat
Maintained by Marko Bohanec.
Comments and suggestions to marko.bohanec@ijs.si.