Package FreeCBR

This is a GUI application, a command line utility, a Java bean, a web application and a general API for Case Based Reasoning.

See:
          Description

Class Summary
CBR This is a CBR (Case Base Reasoning) API implementation.
CBRResult This class contains results from CBR queries
Console This class contains functions for interactive console-oriented input/output
Feature This class represents a feature defined by a feature type and a value.
GUI This class contains functions for graphical interactions (startpoint for the GUI application)
WebResult This class contains results from CBR web queries.
 

Package FreeCBR Description

This is a GUI application, a command line utility, a Java bean, a web application and a general API for Case Based Reasoning.

GUI application

To run the package with a graphical user interface, please run "java -jar FreeCBR.jar" or "java -cp FreeCBR.jar FreeCBR.GUI".

Command line utility

To run the package as a command line utility, please run "java -cp FreeCBR.jar FreeCBR.Console".

Java bean

To use the package in a JSP-solution, the suggested method is to use
<jsp:useBean id="CBRBean" scope="application" class="FreeCBR.CBR"/>
<%
  CBRBean.setDatafile("xxxx");
  CBRBean.readData();
%>
and in the result page use
<jsp:useBean id="CBRBean" scope="application" class="FreeCBR.CBR"/>
<%
  CBRBean.search(request);
%>

Web application

There are three jsp pages within the package. They are named "test.jsp", "page1.jsp" and "page2.jsp". test.jsp displays information about the case set, page1.jsp allows searches in the case set and test2.jsp will display the result of the search.



Public Domain