|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.indiana.iucbrf.domain.componentfactory.AbstractComponentFactory
public abstract class AbstractComponentFactory
Provides some basic abstract implementations of ComponentFactory methods.
Field Summary | |
---|---|
protected Domain |
domain
|
Constructor Summary | |
---|---|
AbstractComponentFactory()
|
Method Summary | |
---|---|
Feature |
constructFeature(FeatureKey featureKey,
double value,
FeatureSpecCollection fsc)
Construct a feature at the given position in the given feature type collection, with the given value. |
Feature |
constructFeature(FeatureKey featureKey,
java.lang.Object[] arguments,
FeatureSpecCollection fsc)
|
Feature |
constructFeature(FeatureKey featureKey,
java.lang.Object value,
FeatureSpecCollection fsc)
Construct a feature at the given position in the given feature type collection, with the given value. |
FeatureCollection |
constructFeatureCollection(FeatureKey[] keys,
java.lang.Object[][] arguments,
int collectionType)
|
FeatureCollection |
constructFeatureCollection(int collectionType)
|
FeatureKey[] |
constructFeatureKeys(int length)
|
Problem |
constructProblem()
|
Problem |
constructProblem(double[] allFeatureValues)
|
Problem |
constructProblem(DoubleCollection someFeatureValues)
|
Feature |
constructProblemFeature(FeatureKey featureKey,
double value)
Construct a problem feature for a given position in a problem feature type collection. |
Feature |
constructProblemFeature(FeatureKey featureKey,
java.lang.Object value)
Construct a problem feature for a given position in a problem feature type collection. |
Feature |
constructProblemFeature(FeatureKey featureKey,
java.lang.Object[] arguments)
|
RunningAggregate |
constructRunningAggregate(FeatureKey key)
|
RunningAggregate |
constructRunningAggregate(int varType)
|
Solution |
constructSolution()
|
Solution |
constructSolution(double featureValue)
Construct a solution in this domain. |
Solution |
constructSolution(double[] featureValues)
|
Solution |
constructSolution(DoubleCollection someFeatureValues)
|
Feature |
constructSolutionFeature(FeatureKey featureKey,
double value)
Construct a solution feature for a given position in a solution feature type collection. |
Feature |
constructSolutionFeature(FeatureKey featureKey,
java.lang.Object value)
Construct a solution feature for a given position in a solution feature type collection. |
Feature |
constructSolutionFeature(FeatureKey featureKey,
java.lang.Object[] arguments)
|
void |
setDomain(Domain domain)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.indiana.iucbrf.domain.componentfactory.ComponentFactory |
---|
constructCCBRFeatureSpec, constructFeatureCollection, constructFeatureCollection, constructFeatureCollection, constructFeatureSpec, constructProblem, constructProblemFeatureSpecCollection, constructProblemFeatureSpecCollection, constructProblemFeatureSpecCollection, constructQuestion, constructSolution, constructSolutionFeatureSpecCollection, constructSolutionFeatureSpecCollection |
Field Detail |
---|
protected Domain domain
Constructor Detail |
---|
public AbstractComponentFactory()
Method Detail |
---|
public void setDomain(Domain domain)
setDomain
in interface ComponentFactory
public Problem constructProblem()
constructProblem
in interface ComponentFactory
public Problem constructProblem(double[] allFeatureValues)
constructProblem
in interface ComponentFactory
public Problem constructProblem(DoubleCollection someFeatureValues)
constructProblem
in interface ComponentFactory
public Solution constructSolution()
constructSolution
in interface ComponentFactory
public Solution constructSolution(double featureValue)
constructSolution
in interface ComponentFactory
public Solution constructSolution(double[] featureValues)
constructSolution
in interface ComponentFactory
public Solution constructSolution(DoubleCollection someFeatureValues)
constructSolution
in interface ComponentFactory
public FeatureCollection constructFeatureCollection(FeatureKey[] keys, java.lang.Object[][] arguments, int collectionType)
constructFeatureCollection
in interface ComponentFactory
public FeatureCollection constructFeatureCollection(int collectionType)
constructFeatureCollection
in interface ComponentFactory
public Feature constructProblemFeature(FeatureKey featureKey, java.lang.Object value)
constructProblemFeature
in interface ComponentFactory
public Feature constructProblemFeature(FeatureKey featureKey, java.lang.Object[] arguments)
constructProblemFeature
in interface ComponentFactory
public Feature constructProblemFeature(FeatureKey featureKey, double value)
constructProblemFeature
in interface ComponentFactory
public Feature constructSolutionFeature(FeatureKey featureKey, java.lang.Object value)
constructSolutionFeature
in interface ComponentFactory
public Feature constructSolutionFeature(FeatureKey featureKey, java.lang.Object[] arguments)
constructSolutionFeature
in interface ComponentFactory
public Feature constructSolutionFeature(FeatureKey featureKey, double value)
constructSolutionFeature
in interface ComponentFactory
public Feature constructFeature(FeatureKey featureKey, java.lang.Object value, FeatureSpecCollection fsc)
constructFeature
in interface ComponentFactory
public Feature constructFeature(FeatureKey featureKey, double value, FeatureSpecCollection fsc)
constructFeature
in interface ComponentFactory
public Feature constructFeature(FeatureKey featureKey, java.lang.Object[] arguments, FeatureSpecCollection fsc)
constructFeature
in interface ComponentFactory
public RunningAggregate constructRunningAggregate(FeatureKey key)
constructRunningAggregate
in interface ComponentFactory
public RunningAggregate constructRunningAggregate(int varType)
constructRunningAggregate
in interface ComponentFactory
public FeatureKey[] constructFeatureKeys(int length)
constructFeatureKeys
in interface ComponentFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |