Serialized Form
Package edu.indiana.iucbrf.adaptation |
wts
double[] wts
- An array of doubles, describing the weights (relative importance), starting with the most similar case retrieved.
If weights are not specified for the worst retrieved cases (that is, the Retrieved ArrayList has a larger size than the Wts ArrayList), then the weight is defined as 0.
If more weights are specified than cases are retrieved, then the extra weights are ignored.
debugMode
boolean debugMode
- When true, debugging information is printed to the screen. Default is false.
weightedAdapter
Adaptation weightedAdapter
Package edu.indiana.iucbrf.casebase |
caseClass
java.lang.Class<T> caseClass
listeners
java.util.ArrayList<E> listeners
- interested third parties
debugMode
boolean debugMode
prototype
Case prototype
nextKey
long nextKey
markerList
java.util.ArrayList<E> markerList
cacheCB
AbstractKeyableCaseBase cacheCB
tempKey
MutableLong tempKey
caseBaseIntoCacheReady
boolean caseBaseIntoCacheReady
caseBaseLoaderThread
DBLoaderThread caseBaseLoaderThread
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
t
int t
indexCB
CaseBase indexCB
fullCB
iglu.util.FileBTree fullCB
baseFilename
java.lang.String baseFilename
tempKey
MutableLong tempKey
cases
java.util.HashMap<K,V> cases
- wrapped collection that deals with actual case storage
differentiator
ProblemDifferentiator differentiator
prototypes
Case[] prototypes
caseBases
CaseBase[] caseBases
stmt
java.sql.Statement stmt
con
java.sql.Connection con
iterator
java.util.Iterator<E> iterator
domain
Domain domain
rdbCaseBaseInfo
RDBCaseBaseInfo rdbCaseBaseInfo
Package edu.indiana.iucbrf.casebase.event |
case1
Case case1
case2
Case case2
Package edu.indiana.iucbrf.casepackage |
p
Problem p
- The object representing the problem that this case solves.
s
Solution s
- The object representing the solution that this case solves.
inactiveContexts
java.util.HashSet<E> inactiveContexts
- The set of contexts in which this case is inactive, and should not be retrieved.
useCount
int useCount
- number of times this case has been used (sent for adaptation, perhaps along with other cases)
successfulUseCount
int successfulUseCount
- number of times this case has been used, and that use has lead to a "successful" solution
problemCountAtAddition
double problemCountAtAddition
- The number of problems the system had seen when this case was added.
(Used to count how many problems the system has seen since this case was added.)
source
CaseSource source
- The source of this case.
title
java.lang.String title
- The title for this case (optional).
caseKey
long caseKey
c
Case c
diff
double diff
sourceTextField
javax.swing.JTextField sourceTextField
titleTextField
javax.swing.JTextField titleTextField
problemInputPanel
FeatureCollectionInputPanel problemInputPanel
solutionInputPanel
FeatureCollectionInputPanel solutionInputPanel
domain
Domain domain
isCDP
boolean isCDP
name
java.lang.String name
- The name of the source of the case.
Package edu.indiana.iucbrf.cbrsystem |
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
CB
CaseBase CB
- The case base representation.
performanceMonitor
PerformanceMonitor performanceMonitor
- The means of tracking performance of the system.
retrieval
Retrieval retrieval
- The retrieval policy.
maintenance
Maintenance maintenance
- The maintenance policy.
adaptation
Adaptation adaptation
- The adaptation policy.
domain
Domain domain
- The domain the system is working in.
debugMode
boolean debugMode
- Set to true to get diagnostic prints to screen. Otherwise set to false.
guiMode
boolean guiMode
episodeSummaryPanel
EpisodeSummaryPanel episodeSummaryPanel
currentContext
Context currentContext
- The context of the system defaults to Context.NORMAL_CONTEXT
baseFilename
java.lang.String baseFilename
title
java.lang.String title
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
caseListRefiner
CaseListRefiner caseListRefiner
conversationBlockSelector
ConversationBlockSelector conversationBlockSelector
ccbrPanel
CCBRPanel ccbrPanel
problemSoFar
Problem problemSoFar
casesSoFar
RetrievalResults casesSoFar
casesSoFarInitialized
boolean casesSoFarInitialized
window
javax.swing.JFrame window
ind
int ind
name
java.lang.String name
- The name of the context.
performanceMonitorClass
java.lang.Class<T> performanceMonitorClass
- The class object used to construct a PerformanceMonitor (or subclass).
caseBaseClass
java.lang.Class<T> caseBaseClass
- The class object used to construct a CaseBase subclass.
problemDisplay
javax.swing.JScrollPane problemDisplay
referenceDisplay
javax.swing.JScrollPane referenceDisplay
solutionDisplay
javax.swing.JScrollPane solutionDisplay
qualityDisplay
javax.swing.JScrollPane qualityDisplay
retrievedCaseJList
CaseJList retrievedCaseJList
domain
Domain domain
Package edu.indiana.iucbrf.ccbr |
caseJList
CaseJList caseJList
conBlockPanel
ConversationBlockPanel conBlockPanel
problemSoFarDisplay
javax.swing.JComponent problemSoFarDisplay
domain
CCBRDomain domain
Package edu.indiana.iucbrf.ccbr.caselistrefiner |
differenceThreshold
double differenceThreshold
Package edu.indiana.iucbrf.ccbr.conversationblock |
conBlock
ConversationBlock conBlock
domain
CCBRDomain domain
allowUnknowns
boolean allowUnknowns
answerComponent
FeatureInputPanel answerComponent
submitAnswerButton
javax.swing.JButton submitAnswerButton
conBlockTextArea
javax.swing.JTextArea conBlockTextArea
text
java.lang.String text
text
java.lang.String text
featureKey
FeatureKey featureKey
Package edu.indiana.iucbrf.ccbr.conversationblock.selector |
differentiator
ProblemDifferentiator differentiator
regionAgg
RegionAggregate regionAgg
distInf
DistanceInfluence distInf
ensemble
Ensemble ensemble
args
java.lang.Object[] args
infoTh
InformationTheory infoTh
unknownFeatureKeys
java.util.HashSet<E> unknownFeatureKeys
allKeys
java.util.HashSet<E> allKeys
infoTh
InformationTheory infoTh
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
blockCollection
java.util.Collection<E> blockCollection
blockIter
java.util.Iterator<E> blockIter
allKeys
java.util.ArrayList<E> allKeys
unknownFeatureKeys
java.util.LinkedList<E> unknownFeatureKeys
Package edu.indiana.iucbrf.ccbr.conversationblock.selector.flowchart |
root
FlowChartNode root
filename
java.lang.String filename
title
java.lang.String title
- The title of this flow chart (optional).
flowChart
FlowChart flowChart
currentNode
FlowChartNode currentNode
domain
CCBRDomain domain
flowChart
FlowChart flowChart
flowChartJTree
javax.swing.JTree flowChartJTree
parentOfSelectedNodeDMTN
javax.swing.tree.DefaultMutableTreeNode parentOfSelectedNodeDMTN
selectedIndex
int selectedIndex
addButton
javax.swing.JButton addButton
isLeaf
boolean isLeaf
instructionText
java.lang.String instructionText
nextNode
FlowChartNode nextNode
featureQuestioned
FeatureKey featureQuestioned
nextNodes
FlowChartNode[] nextNodes
Package edu.indiana.iucbrf.domain |
driverInfo
JDBCDriverInfo driverInfo
constantsTableName
java.lang.String constantsTableName
constantsTableColumns
java.lang.String[] constantsTableColumns
constantsTableColumnTypes
java.lang.String[] constantsTableColumnTypes
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
problemFeatureSpecCollection
FeatureSpecCollection problemFeatureSpecCollection
- The set of Feature types
solutionFeatureSpecCollection
FeatureSpecCollection solutionFeatureSpecCollection
- The Solution type
problemEquivalenceClasses
java.util.LinkedList<E> problemEquivalenceClasses
- The equivalence classes associated with the reference solution (if available).
minAcceptableQuality
double minAcceptableQuality
- The minimum "quality" (between 0 and 1 inclusive) that a solution must be judged in order to be
called "successful."
haveReferenceSolution
boolean haveReferenceSolution
- True if a reference solution is available, false otherwise.
problemDifferentiator
ProblemDifferentiator problemDifferentiator
- Similarity weights indicate the relative importance of each problem feature in similarity comparisons.
componentFactory
ComponentFactory componentFactory
featureKeyFactory
FeatureKeyFactory featureKeyFactory
rdbCollectionIDFactory
RDBCollectionIDFactory rdbCollectionIDFactory
title
java.lang.String title
- The title of this domain (optional).
problemTitle
java.lang.String problemTitle
solutionTitle
java.lang.String solutionTitle
retrievedCasesTitle
java.lang.String retrievedCasesTitle
caseTitleBase
java.lang.String caseTitleBase
filename
java.lang.String filename
- The filename to save this domain to (optional).
problemSpace
ProblemGenerator problemSpace
- This ProblemGenerator generates a Problem according to the "real-life" distributions of problems. It is optionally specified
via setProblemSpace().
This instance variable and associated methods were suggested in part by Peter Siniakov.
dbInfo
DBInfo dbInfo
booleanSolutionCutoff
double booleanSolutionCutoff
- Applies only to single-feature solutions, where that feature is boolean.
haveBooleanSolutionCutoff
boolean haveBooleanSolutionCutoff
- Applies only to single-feature solutions, where that feature is boolean.
prototype
Case prototype
- The prototype, or exemplar, case for this equivalence class.
weights
DoubleCollection weights
- The weights for this equivalence class, to find a solution given a problem.
Package edu.indiana.iucbrf.domain.componentfactory |
domain
Domain domain
Package edu.indiana.iucbrf.examples.classifier |
Package edu.indiana.iucbrf.examples.conversation |
dist
BinomialDistribution dist
Package edu.indiana.iucbrf.examples.printing |
keywordsKey
FeatureKey keywordsKey
keywords
java.lang.String[] keywords
Package edu.indiana.iucbrf.examples.quadrant |
xKey
FeatureKey xKey
- The feature keys for the x and y problem features.
yKey
FeatureKey yKey
xKey
FeatureKey xKey
- The keys to the two problem features.
yKey
FeatureKey yKey
Package edu.indiana.iucbrf.examples.quadrantCCBR |
xKey
FeatureKey xKey
- The feature keys for the x and y problem features.
yKey
FeatureKey yKey
xKey
FeatureKey xKey
- The keys to the two problem features.
yKey
FeatureKey yKey
Package edu.indiana.iucbrf.examples.quadrantRDBTemplate |
xKey
FeatureKey xKey
- The feature keys for the x and y problem features.
yKey
FeatureKey yKey
xKey
FeatureKey xKey
- The keys to the two problem features.
yKey
FeatureKey yKey
dbInfo
DBInfo dbInfo
problemSpecInfo
FeatureSpecRDBInfo problemSpecInfo
solutionSpecInfo
FeatureSpecRDBInfo solutionSpecInfo
rdbCasebaseInfo
RDBCaseBaseInfo rdbCasebaseInfo
Package edu.indiana.iucbrf.examples.realtor |
houseSizeKey
FeatureKey houseSizeKey
- The feature key for the house size problem feature, used in this simple
adaptation approach.
CB
CaseBase CB
Package edu.indiana.iucbrf.exceptions |
Package edu.indiana.iucbrf.feature |
value
java.lang.Object value
- This should refer to whatever the value of the feature is, whether it's a Double, String, some custom type, etc.
collectionType
int collectionType
isReferenceSolution
boolean isReferenceSolution
customTitle
java.lang.String customTitle
- The custom title, if set, overrules the standard title in the domain.
keyToConf
java.util.HashMap<K,V> keyToConf
- Maps FeatureKey to the confidence (Double) in that feature value. Confidences for
definitely-known (not estimated) values are 1.0, and are not stored in keyToConf.
Confidences for estimated (by an UnknownFeatureHandler) values are between 0.0 and 1.0,
exclusive, and are stored in keyToConf. Confidences for unknown values are 0.0, and
are not stored in keyToConf.
containsEstimates
boolean containsEstimates
- True if this collection contains feature estimates. False otherwise.
featureCollectionJTable
javax.swing.JTable featureCollectionJTable
rows
java.util.ArrayList<E> rows
domain
Domain domain
rowHeight
int[] rowHeight
colWidth
int[] colWidth
objJC
ObjectJComponentPair objJC
feature
Feature feature
amount
double amount
message
java.lang.String message
domain
Domain domain
featureInputPanels
java.util.HashMap<K,V> featureInputPanels
collectionType
int collectionType
allowUnknowns
boolean allowUnknowns
dbFactory
boolean dbFactory
info
DBInfo info
nextKeyValueSet
boolean nextKeyValueSet
intValue
int intValue
nextKey
int nextKey
objValue
java.lang.Object objValue
features
java.util.HashMap<K,V> features
field
javax.swing.JTextField field
intValue
int intValue
textComponent
javax.swing.text.JTextComponent textComponent
isLong
boolean isLong
collectionTypeThisIsIn
int collectionTypeThisIsIn
featureKey
FeatureKey featureKey
collectionType
int collectionType
tableFeatureKey
FeatureKey tableFeatureKey
featureCollectionInputPanel
FeatureCollectionInputPanel featureCollectionInputPanel
text
java.lang.String text
tv
iglu.ir.TermVector tv
- A term vector, containing keywords for the text.
May be null if no keywords are available.
Package edu.indiana.iucbrf.feature.differentiator |
normalizationValue
double normalizationValue
- The calculated difference is normalized (divided by) this value.
Default is 1.0 (hence no normalization).
neighborhoodRadius
double neighborhoodRadius
featDiff
FeatureDifferentiator featDiff
Package edu.indiana.iucbrf.feature.event |
key
FeatureKey key
Package edu.indiana.iucbrf.feature.featurespec |
title
java.lang.String title
question
Question question
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
extraData
java.util.HashMap<K,V> extraData
name
java.lang.String name
description
java.lang.String description
type
java.lang.Class<T> type
featureKey
FeatureKey featureKey
format
FeatureValueFormat format
isPrintable
boolean isPrintable
isSubFeature
boolean isSubFeature
standardConstructor
java.lang.reflect.Constructor<T> standardConstructor
featureSpecComponents
java.util.ArrayList<E> featureSpecComponents
featureKeyOrder
java.util.ArrayList<E> featureKeyOrder
answerTypeComboBox
javax.swing.JComboBox answerTypeComboBox
questionEntry
javax.swing.JTextArea questionEntry
descriptionEntry
javax.swing.JTextArea descriptionEntry
domain
Domain domain
forCCBRDomain
boolean forCCBRDomain
featureSpecs
java.util.LinkedHashMap<K,V> featureSpecs
iterator
java.util.Iterator<E> iterator
stmt
java.sql.Statement stmt
con
java.sql.Connection con
domain
Domain domain
featureSpecRDBInfo
FeatureSpecRDBInfo featureSpecRDBInfo
cacheMap
FeatureSpecMap cacheMap
specsIntoCacheReady
boolean specsIntoCacheReady
specsLoaderThread
DBLoaderThread specsLoaderThread
Package edu.indiana.iucbrf.feature.finiteset |
combo
javax.swing.JComboBox combo
fsmFeature
FSMFeature fsmFeature
UNKNOWN_VALUE
java.lang.String UNKNOWN_VALUE
Package edu.indiana.iucbrf.feature.format |
valueToDisplayMap
java.util.HashMap<K,V> valueToDisplayMap
numberFormat
java.text.NumberFormat numberFormat
Package edu.indiana.iucbrf.feature.unknown |
debugMode
boolean debugMode
componentFactory
ComponentFactory componentFactory
pd
ProblemDifferentiator pd
defaultDiff
double defaultDiff
- The default difference, to be used for any feature for which no specific mapping value is provided.
defaultDiffMap
DoubleMap defaultDiffMap
- Exceptions to the defaultDiff member variable above, for specified features.
debugMode
boolean debugMode
defaultValue
double defaultValue
- The default value, to be used for any feature for which no specific mapping value is provided.
defaultValueMap
DoubleMap defaultValueMap
- Exceptions to the defaultValue member variable above, for specified features.
storeEstimates
boolean storeEstimates
- When true, estimated values (calculated by getDefaultValue()) and the confidence
are stored in the associated problem.
domain
Domain domain
useEstimates
boolean useEstimates
- When true, estimates are used (if applicable) just as definitely known features in this
unknown feature handler.
indepUFH
UnknownFeatureHandler indepUFH
highlyDepUFH
UnknownFeatureHandler highlyDepUFH
featureStats
FeatureStats featureStats
aggs
AggregateFeatureValueSet aggs
currentConf
double currentConf
totalNumFeaturesPlus1
double totalNumFeaturesPlus1
cb
CaseBase cb
nearValueFinder
Retrieval nearValueFinder
featuresKnownChecker
FeaturesKnownChecker featuresKnownChecker
useOnlyDependentFeatures
boolean useOnlyDependentFeatures
featureStats
FeatureStats featureStats
cb
PartitionedCaseBase cb
fullAggValues
FullAggregate[] fullAggValues
currentProblem
Problem currentProblem
- The most recent problem for which an equivalence class was found.
currentEqClass
int currentEqClass
- The ID of the equivalence class corresponding to currentProblem.
Package edu.indiana.iucbrf.maintenance |
checkRemoveFrequency
int checkRemoveFrequency
minAllowedDistance
double minAllowedDistance
problemDifferentiator
ProblemDifferentiator problemDifferentiator
Package edu.indiana.iucbrf.performancemonitor |
totalRetrievalTime
double totalRetrievalTime
- The average time spent on case retrieval for all problems seen so far.
retrievalStartTime
long retrievalStartTime
totalAdaptationTime
double totalAdaptationTime
- The average time spent on case adaptation for all problems seen so far.
adaptationStartTime
long adaptationStartTime
problemCount
double problemCount
- Problems seen by the system.
solutionCount
double solutionCount
- Problems solved by the system.
consistentSolutionCount
double consistentSolutionCount
qualityRatingSum
double qualityRatingSum
solvedWellCount
double solvedWellCount
debugMode
boolean debugMode
- Set to true to get diagnostic prints to screen. Otherwise set to false.
featureID1Combo
javax.swing.JComboBox featureID1Combo
featureID2Combo
javax.swing.JComboBox featureID2Combo
generateDistributionButton
javax.swing.JButton generateDistributionButton
title
java.lang.String title
featureID1ToGenerate
int featureID1ToGenerate
featureID2ToGenerate
int featureID2ToGenerate
systemAge
double systemAge
solvedWell
boolean solvedWell
- If the Solution is "good enough" (according to determineSolutionQuality()), then this is true.
solutionQualityRating
double solutionQualityRating
- A numerical quality rating for these solutions.
Package edu.indiana.iucbrf.problem |
known
Problem known
partial
Problem partial
domain
CCBRDomain domain
conBlockSelector
ConversationBlockSelector conBlockSelector
features
FeatureCollection features
- A collection of the features.
Package edu.indiana.iucbrf.problem.differentiator |
unknownFeatureHandler
UnknownFeatureHandler unknownFeatureHandler
similarityWts
DoubleCollection similarityWts
- Similarity weights indicate the relative importance of each problem feature in similarity comparisons.
defaultIndices
java.util.HashSet<E> defaultIndices
- The set of index keys (the problem features used in some types of case base organization).
keyToFeatureDifferentiator
java.util.HashMap<K,V> keyToFeatureDifferentiator
- A map from FeatureKey to FeatureDifferentiator, that will override the default FeatureDifferentiator
(returned by the FeatureSpec's getDefaultFeatureDifferentiator()) for a Feature's variable type
(defined in Feature.getDefaultVariableType()).
sqrtSimWtsSum
double sqrtSimWtsSum
initialized
boolean initialized
Package edu.indiana.iucbrf.retrieval |
debugMode
boolean debugMode
problemDifferentiator
ProblemDifferentiator problemDifferentiator
conditionsChecker
RetrievalConditionsChecker conditionsChecker
featureToKnow
FeatureKey featureToKnow
featureArrayToKnow
FeatureKey[] featureArrayToKnow
k
int k
- k is the number of cases that are retrieved.
multiplier
double multiplier
baseThreshold
double baseThreshold
recentActualThreshold
double recentActualThreshold
threshold
double threshold
Package edu.indiana.iucbrf.solution |
firstFeatureKey
FeatureKey firstFeatureKey
features
FeatureCollection features
Package edu.indiana.iucbrf.util |
domain
Domain domain
value
double value
value
int value
value
long value
Package edu.indiana.util.clustering |
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
prototype
EquivalenceClassMember prototype
members
java.util.LinkedList<E> members
classDiff
double classDiff
Package edu.indiana.util.db |
intValue
int intValue
driverInfo
JDBCDriverInfo driverInfo
collectionInfo
RDBCollectionInfo collectionInfo
collectionID
RDBCollectionID collectionID
driverInfo
JDBCDriverInfo driverInfo
collectionInfo
RDBCollectionInfo collectionInfo
collectionID
RDBCollectionID collectionID
Package edu.indiana.util.db.exception |
message
java.lang.String message
Package edu.indiana.util.distribution |
pSuccess
double pSuccess
min
double min
max
double max
dists
java.util.HashMap<K,V> dists
mean
double mean
standardDeviation
double standardDeviation
distSelector
Distribution distSelector
possDistributions
Distribution[] possDistributions
low
double low
high
double high
Package edu.indiana.util.doublecollection |
values
java.util.HashMap<K,V> values
wasLastValueKnown
boolean wasLastValueKnown
Package edu.indiana.util.statistics |
aggs
java.util.HashMap<K,V> aggs
sum
double sum
numElements
int numElements
max
double max
min
double min
votes
java.util.HashMap<K,V> votes
- A mapping from a Double value to the number of votes (a MutableDouble)
received for that value so far.
majorityValue
java.lang.Double majorityValue
- The value of the current majority. Also serves as a key into the votes
HashMap.
majorityVoteCount
double majorityVoteCount
- The number of votes the majority value has received.
totalVoteCount
double totalVoteCount
- The total number of votes being tracked in this RunningVote object.
Package edu.indiana.util.swing |
list
javax.swing.JList list
selectedDisplay
javax.swing.JScrollPane selectedDisplay
detailLevel
int detailLevel
maxUnitIncrement
int maxUnitIncrement