edu.indiana.iucbrf.domain.componentfactory
Interface ComponentFactory

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractComponentFactory, RDBComponentFactory, StandardComponentFactory

public interface ComponentFactory
extends java.io.Serializable

A ComponentFactory governs how several key objects are constructed for a CBR system.


Method Summary
 CCBRFeatureSpec constructCCBRFeatureSpec(FeatureKey featureKey, java.lang.String description, java.lang.String questionText, java.lang.String typeName)
           
 Feature constructFeature(FeatureKey featureKey, double value, FeatureSpecCollection fsc)
           
 Feature constructFeature(FeatureKey featureKey, java.lang.Object[] arguments, FeatureSpecCollection fsc)
           
 Feature constructFeature(FeatureKey featureKey, java.lang.Object value, FeatureSpecCollection fsc)
           
 FeatureCollection constructFeatureCollection(double[] featureValues, int collectionType)
           
 FeatureCollection constructFeatureCollection(DoubleCollection someFeatureValues, int collectionType)
           
 FeatureCollection constructFeatureCollection(FeatureKey[] keys, Feature[] features, int collectionType)
           
 FeatureCollection constructFeatureCollection(FeatureKey[] keys, java.lang.Object[][] arguments, int collectionType)
           
 FeatureCollection constructFeatureCollection(int collectionType)
           
 FeatureKey[] constructFeatureKeys(int length)
           
 FeatureSpec constructFeatureSpec(FeatureKey featureKey, java.lang.String description, java.lang.String typeName)
           
 Problem constructProblem()
           
 Problem constructProblem(double[] allFeatureValues)
           
 Problem constructProblem(DoubleCollection someFeatureValues)
           
 Problem constructProblem(FeatureCollection featureCollection)
           
 Feature constructProblemFeature(FeatureKey featureKey, double value)
           
 Feature constructProblemFeature(FeatureKey featureKey, java.lang.Object value)
           
 Feature constructProblemFeature(FeatureKey featureKey, java.lang.Object[] arguments)
           
 FeatureSpecCollection constructProblemFeatureSpecCollection()
           
 FeatureSpecCollection constructProblemFeatureSpecCollection(FeatureKey[] featureKeys, java.lang.String[] featureDescriptions, java.lang.String[] featureTypeClassNames)
           
 FeatureSpecCollection constructProblemFeatureSpecCollection(FeatureKey[] featureKeys, java.lang.String[] featureDescriptions, java.lang.String[] questionTexts, java.lang.String[] featureTypeClassNames)
           
 Question constructQuestion(FeatureKey key, java.lang.String text)
           
 RunningAggregate constructRunningAggregate(FeatureKey key)
           
 RunningAggregate constructRunningAggregate(int varType)
           
 Solution constructSolution()
           
 Solution constructSolution(double featureValue)
           
 Solution constructSolution(double[] allFeatureValues)
           
 Solution constructSolution(DoubleCollection someFeatureValues)
           
 Solution constructSolution(FeatureCollection featureCollection)
           
 Feature constructSolutionFeature(FeatureKey featureKey, double value)
           
 Feature constructSolutionFeature(FeatureKey featureKey, java.lang.Object value)
           
 Feature constructSolutionFeature(FeatureKey featureKey, java.lang.Object[] arguments)
           
 FeatureSpecCollection constructSolutionFeatureSpecCollection()
           
 FeatureSpecCollection constructSolutionFeatureSpecCollection(FeatureKey[] featureKeys, java.lang.String[] featureDescriptions, java.lang.String[] featureTypeClassNames)
           
 void setDomain(Domain domain)
           
 

Method Detail

setDomain

void setDomain(Domain domain)

constructProblem

Problem constructProblem()

constructProblem

Problem constructProblem(double[] allFeatureValues)

constructProblem

Problem constructProblem(DoubleCollection someFeatureValues)

constructProblem

Problem constructProblem(FeatureCollection featureCollection)

constructSolution

Solution constructSolution()

constructSolution

Solution constructSolution(double featureValue)

constructSolution

Solution constructSolution(double[] allFeatureValues)

constructSolution

Solution constructSolution(DoubleCollection someFeatureValues)

constructSolution

Solution constructSolution(FeatureCollection featureCollection)

constructFeatureCollection

FeatureCollection constructFeatureCollection(int collectionType)

constructFeatureCollection

FeatureCollection constructFeatureCollection(double[] featureValues,
                                             int collectionType)

constructFeatureCollection

FeatureCollection constructFeatureCollection(DoubleCollection someFeatureValues,
                                             int collectionType)

constructFeatureCollection

FeatureCollection constructFeatureCollection(FeatureKey[] keys,
                                             Feature[] features,
                                             int collectionType)

constructFeatureCollection

FeatureCollection constructFeatureCollection(FeatureKey[] keys,
                                             java.lang.Object[][] arguments,
                                             int collectionType)

constructFeatureSpec

FeatureSpec constructFeatureSpec(FeatureKey featureKey,
                                 java.lang.String description,
                                 java.lang.String typeName)

constructCCBRFeatureSpec

CCBRFeatureSpec constructCCBRFeatureSpec(FeatureKey featureKey,
                                         java.lang.String description,
                                         java.lang.String questionText,
                                         java.lang.String typeName)

constructSolutionFeatureSpecCollection

FeatureSpecCollection constructSolutionFeatureSpecCollection()

constructSolutionFeatureSpecCollection

FeatureSpecCollection constructSolutionFeatureSpecCollection(FeatureKey[] featureKeys,
                                                             java.lang.String[] featureDescriptions,
                                                             java.lang.String[] featureTypeClassNames)

constructProblemFeatureSpecCollection

FeatureSpecCollection constructProblemFeatureSpecCollection()

constructProblemFeatureSpecCollection

FeatureSpecCollection constructProblemFeatureSpecCollection(FeatureKey[] featureKeys,
                                                            java.lang.String[] featureDescriptions,
                                                            java.lang.String[] featureTypeClassNames)

constructProblemFeatureSpecCollection

FeatureSpecCollection constructProblemFeatureSpecCollection(FeatureKey[] featureKeys,
                                                            java.lang.String[] featureDescriptions,
                                                            java.lang.String[] questionTexts,
                                                            java.lang.String[] featureTypeClassNames)

constructProblemFeature

Feature constructProblemFeature(FeatureKey featureKey,
                                double value)

constructProblemFeature

Feature constructProblemFeature(FeatureKey featureKey,
                                java.lang.Object value)

constructProblemFeature

Feature constructProblemFeature(FeatureKey featureKey,
                                java.lang.Object[] arguments)

constructSolutionFeature

Feature constructSolutionFeature(FeatureKey featureKey,
                                 double value)

constructSolutionFeature

Feature constructSolutionFeature(FeatureKey featureKey,
                                 java.lang.Object value)

constructSolutionFeature

Feature constructSolutionFeature(FeatureKey featureKey,
                                 java.lang.Object[] arguments)

constructFeature

Feature constructFeature(FeatureKey featureKey,
                         java.lang.Object value,
                         FeatureSpecCollection fsc)

constructFeature

Feature constructFeature(FeatureKey featureKey,
                         double value,
                         FeatureSpecCollection fsc)

constructFeature

Feature constructFeature(FeatureKey featureKey,
                         java.lang.Object[] arguments,
                         FeatureSpecCollection fsc)

constructRunningAggregate

RunningAggregate constructRunningAggregate(FeatureKey key)

constructRunningAggregate

RunningAggregate constructRunningAggregate(int varType)

constructFeatureKeys

FeatureKey[] constructFeatureKeys(int length)

constructQuestion

Question constructQuestion(FeatureKey key,
                           java.lang.String text)