A C D E F G I L M N O R S T V W

A

actionPerformed(ActionEvent) - Method in class FreeCBR.GUI
Function called when a normal menu button is pressed
addCase(String) - Method in class FreeCBR.CBR
Adds a case to the set
addCase(Feature[]) - Method in class FreeCBR.CBR
Adds a case to the set
addFeature(String, short) - Method in class FreeCBR.CBR
Adds a feature (column) to the set.

C

caseNum - Variable in class FreeCBR.CBRResult
Case number
CBR - Class in FreeCBR
This is a CBR (Case Base Reasoning) API implementation.
CBR() - Constructor for class FreeCBR.CBR
Constructor that initiates the CBR with no data.
CBR(String, boolean, boolean) - Constructor for class FreeCBR.CBR
Constructor that initiates the CBR with no data
CBR(String, String, boolean, boolean) - Constructor for class FreeCBR.CBR
Constructor that initiates the CBR with data
CBRResult - Class in FreeCBR
This class contains results from CBR queries
CBRResult(int, double) - Constructor for class FreeCBR.CBRResult
Creates a Result and initiates it
Console - Class in FreeCBR
This class contains functions for interactive console-oriented input/output
Console() - Constructor for class FreeCBR.Console
 

D

DEFAULT_WEIGHT - Static variable in class FreeCBR.CBR
Default weight

E

editCase(int, Feature[]) - Method in class FreeCBR.CBR
Replaces specified case with another
equals(Object) - Method in class FreeCBR.Feature
Tests if two Features are equal.

F

Feature - Class in FreeCBR
This class represents a feature defined by a feature type and a value.
Feature(String) - Constructor for class FreeCBR.Feature
Creates a feature of type String and initiates it
Feature(String[]) - Constructor for class FreeCBR.Feature
Creates a feature of type MultiString and initiates it
Feature(long) - Constructor for class FreeCBR.Feature
Creates a feature of type Int and initiates it
Feature(double) - Constructor for class FreeCBR.Feature
Creates a feature of type Float and initiates it
Feature(boolean) - Constructor for class FreeCBR.Feature
Creates a feature of type Bool and initiates it
Feature(String, short) - Constructor for class FreeCBR.Feature
Creates a feature of specified type from a String
FEATURE_PREFIX - Static variable in class FreeCBR.WebResult
The feature search string prefix
FEATURE_TYPE_BOOL - Static variable in class FreeCBR.Feature
The feature is of type Bool
FEATURE_TYPE_FLOAT - Static variable in class FreeCBR.Feature
The feature is of type Float
FEATURE_TYPE_INT - Static variable in class FreeCBR.Feature
The feature is of type Int
FEATURE_TYPE_MULTISTRING - Static variable in class FreeCBR.Feature
The feature is of type MultiString
FEATURE_TYPE_STRING - Static variable in class FreeCBR.Feature
The feature is of type String
FEATURE_VALUE_UNDEFINED - Static variable in class FreeCBR.Feature
The feature is undefined or not applicable
FreeCBR - 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.

G

getBoolValue() - Method in class FreeCBR.Feature
Returns the feature value if the type is Bool.
getCase(int) - Method in class FreeCBR.CBR
Returns the case at the specified position
getDatafile() - Method in class FreeCBR.CBR
Returns the name of the data file currently in use
getFeatureName(int) - Method in class FreeCBR.CBR
Returns the name of the specified feature
getFeatureNum(String) - Method in class FreeCBR.CBR
Returns the number of the feature that carries the specified name
getFeatureType(int) - Method in class FreeCBR.CBR
Returns the datatype of the specified feature
getFeatureType() - Method in class FreeCBR.Feature
Returns the type of this feature
getFeatureValue(int, int) - Method in class FreeCBR.CBR
Returns the specified feature of the specified case
getFeatureValueAX(int, int) - Method in class FreeCBR.CBR
Returns the specified feature of the specified case.
getFloatValue() - Method in class FreeCBR.Feature
Returns the feature value if the type is Float.
getINFINITY_CONSTANT() - Method in class FreeCBR.CBR
Returns the current infinity constant
getIntValue() - Method in class FreeCBR.Feature
Returns the feature value if the type is Int.
getLogfile() - Method in class FreeCBR.CBR
Returns the name of the current log file
getMaxFloatValue(int) - Method in class FreeCBR.CBR
Returns the maximum floating point value of all cases for the specified feature
getMaxIntValue(int) - Method in class FreeCBR.CBR
Returns the maximum integer value of all cases for the specified feature
getMinFloatValue(int) - Method in class FreeCBR.CBR
Returns the minimum floating point value of all cases for the specified feature
getMinIntValue(int) - Method in class FreeCBR.CBR
Returns the minimum integer value of all cases for the specified feature
getMultiStringValue() - Method in class FreeCBR.Feature
Returns the feature value if the type is MultiString.
getNumCases() - Method in class FreeCBR.CBR
Returns the number of cases in current set
getNumFeatures() - Method in class FreeCBR.CBR
Returns the number of features that each case has.
getSilent() - Method in class FreeCBR.CBR
Returns the silence state
getStringValue() - Method in class FreeCBR.Feature
Returns the feature value if the type is String.
getUsedStringValues(int) - Method in class FreeCBR.CBR
Returns all of the string values used at specified feature, works for String and MultiString features
getUsedStringValuesAX(int, String) - Method in class FreeCBR.CBR
Returns all of the string values used at specified feature, works for String and MultiString features.
getValue() - Method in class FreeCBR.Feature
Returns the feature value casted to Object whatever the actual type is
getVerbose() - Method in class FreeCBR.CBR
Returns the verbose state
GUI - Class in FreeCBR
This class contains functions for graphical interactions (startpoint for the GUI application)
GUI(String, String, boolean, boolean) - Constructor for class FreeCBR.GUI
Constructor that initiates the GUI

I

INFINITY_CONSTANT - Variable in class FreeCBR.CBR
Values further away than this are considered infinity
initialize(String, String) - Method in class FreeCBR.CBR
Initializes the CBR if not already done.
isUndefined() - Method in class FreeCBR.Feature
Is this feature undefined?
itemStateChanged(ItemEvent) - Method in class FreeCBR.GUI
Function called when a check button menu button is pressed

L

loadSet(String) - Method in class FreeCBR.CBR
Loads a case set to memory

M

main(String[]) - Static method in class FreeCBR.Console
The main entry point for this application
main(String[]) - Static method in class FreeCBR.GUI
Entry function for the GUI
matchPercent - Variable in class FreeCBR.CBRResult
Percent match
multiStringJoin(String[]) - Static method in class FreeCBR.Feature
Creates a "MultiString" from an array of strings
multiStringSplit(String) - Static method in class FreeCBR.Feature
Splits a "MultiString" to an array of String:s

N

newSet(String[], String[]) - Method in class FreeCBR.CBR
Empties the memory - deletes the current set from memory and creates a new empty set with the specified feature names and feature data types

O

OPTION_PREFIX - Static variable in class FreeCBR.WebResult
The search distance string prefix

R

readData() - Method in class FreeCBR.CBR
Reads the data from the datafile.
removeCase(int) - Method in class FreeCBR.CBR
Removes the specified case from the set
removeFeature(int) - Method in class FreeCBR.CBR
Deletes a feature (column) from the set.
result - Variable in class FreeCBR.WebResult
The result of the search

S

saveSet(String, boolean) - Method in class FreeCBR.CBR
Saves the entire case set
SCALE_PREFIX - Static variable in class FreeCBR.WebResult
The search scale string prefix
search(Object) - Method in class FreeCBR.CBR
Performs a search for the best match in a "web" way.
search(String[], String[], int[], int[], int[], int[]) - Method in class FreeCBR.CBR
Performs a search for the best match.
search(int[], Feature[], int[], int[], int[], int[]) - Method in class FreeCBR.CBR
Performs a search for the best match.
SEARCH_OPTION_INVERTED - Static variable in class FreeCBR.CBR
Should the search result be inverted?
SEARCH_SCALE_FLAT - Static variable in class FreeCBR.CBR
Search with a "flat" scale - if the hit is not exact it is treated as maximum distance
SEARCH_SCALE_FUZZY_LINEAR - Static variable in class FreeCBR.CBR
Search with a linear scale.
SEARCH_SCALE_FUZZY_LOGARITHMIC - Static variable in class FreeCBR.CBR
Search with a logarithmic scale
SEARCH_SCALE_STRICT - Static variable in class FreeCBR.CBR
Search "strict" - if the hit is not exact the case is not included in the result at all
SEARCH_TERM_EQUAL - Static variable in class FreeCBR.CBR
Search for closest value.
SEARCH_TERM_GREATER - Static variable in class FreeCBR.CBR
Search for greater values.
SEARCH_TERM_GREATER_OR_EQUAL - Static variable in class FreeCBR.CBR
Search for greater or equal values.
SEARCH_TERM_LESS - Static variable in class FreeCBR.CBR
Search for smaller values.
SEARCH_TERM_LESS_OR_EQUAL - Static variable in class FreeCBR.CBR
Search for smaller or equal values.
SEARCH_TERM_MAX - Static variable in class FreeCBR.CBR
Search for maximum values, the higher the better.
SEARCH_TERM_MIN - Static variable in class FreeCBR.CBR
Search for minimum, the lower the better.
SEARCH_TERM_NOT_EQUAL - Static variable in class FreeCBR.CBR
Search for non-equal values.
searchAX(Object[], Object[], Object[], Object[], Object[], Object[], String, String) - Method in class FreeCBR.CBR
Performs a search for the best match, used primarily by ActiveX components.
searchOptions - Variable in class FreeCBR.WebResult
The distances of the search
searchScales - Variable in class FreeCBR.WebResult
The scale of the search
searchTerms - Variable in class FreeCBR.WebResult
The types of the search
searchValues - Variable in class FreeCBR.WebResult
The searched values (in String format)
searchWeights - Variable in class FreeCBR.WebResult
The searched weights
setDatafile(String) - Method in class FreeCBR.CBR
Sets the data file.
setFeatureName(int, String) - Method in class FreeCBR.CBR
Sets the name of the specified feature to the specified value
setFeatureType(int, short) - Method in class FreeCBR.CBR
Sets the datatype of the specified feature
setFeatureValue(int, int, String) - Method in class FreeCBR.CBR
Sets the specified feature of the specified case to the specified value
setINFINITY_CONSTANT(int) - Method in class FreeCBR.CBR
Sets the infinity constant
setLogfile(String) - Method in class FreeCBR.CBR
Sets the log file to the specified path
setSilent(boolean) - Method in class FreeCBR.CBR
Sets the silence state
setVerbose(boolean) - Method in class FreeCBR.CBR
Sets the verbose state
stringToType(String) - Static method in class FreeCBR.Feature
Converts a string representing a type to the type

T

TERM_PREFIX - Static variable in class FreeCBR.WebResult
The search type string prefix
toString() - Method in class FreeCBR.Feature
Returns a string representing the instance
typeToString(short) - Static method in class FreeCBR.Feature
Converts a type to a string representing the type

V

value - Variable in class FreeCBR.Feature
Contains the feature value

W

WebResult - Class in FreeCBR
This class contains results from CBR web queries.
WebResult(CBR, Object) - Constructor for class FreeCBR.WebResult
Creates a Result and initiates it
WEIGHT_PREFIX - Static variable in class FreeCBR.WebResult
The search weight string prefix

A C D E F G I L M N O R S T V W

Public Domain