Uses of Interface
de.uni_trier.wi2.procake.data.objectpool.WriteableObjectPool
Package
Description
CAKE component overview.
Adaptation package description
Provides interfaces of all data objects.
Description of Data Object Pool.
-
Uses of WriteableObjectPool in de.uni_trier.wi2.procake
Modifier and TypeMethodDescription<T extends DataObject>
WriteableObjectPool<T>CakeInstance.run()
run.static <T extends DataObject>
WriteableObjectPool<T>CakeInstance.start()
start.static <T extends DataObject>
WriteableObjectPool<T>CakeInstance.start
(InputStream inputStreamCompositon) start.static <T extends DataObject>
WriteableObjectPool<T>CakeInstance.start
(InputStream inputStreamCompositon, InputStream inputStreamCasebase) start.static <T extends DataObject>
WriteableObjectPool<T>CakeInstance.start
(InputStream composition, InputStream model, InputStream[] simModels, InputStream casebase, InputStream transformationConfig, boolean reuseDataClassReferencesAtRestart) start.static <T extends DataObject>
WriteableObjectPool<T>CakeInstance.start
(InputStream inputStreamCompositon, InputStream inputStreamModel, InputStream inputStreamSimModel, InputStream inputStreamCasebase) start.static <T extends DataObject>
WriteableObjectPool<T>CakeInstance.start
(InputStream inputStreamCompositon, InputStream inputStreamModel, InputStream inputStreamSimModel, InputStream inputStreamCasebase, InputStream transformationConfig) start.static <T extends DataObject>
WriteableObjectPool<T>CakeInstance.start
(InputStream composition, InputStream model, InputStream simModel, InputStream casebase, InputStream transformationConfig, boolean reuseDataClassReferencesAtRestart) start.static <T extends DataObject>
WriteableObjectPool<T>start.static <T extends DataObject>
WriteableObjectPool<T>start.static <T extends DataObject>
WriteableObjectPool<T>CakeInstance.start
(String composition, String model, String[] simModels, String caseBase, String transformationConfig, boolean reuseDataClassReferencesAtRestart) start.static <T extends DataObject>
WriteableObjectPool<T>start.static <T extends DataObject>
WriteableObjectPool<T>CakeInstance.start
(String composition, String model, String simModel, String casebase, String transformationConfig) start.static <T extends DataObject>
WriteableObjectPool<T>CakeInstance.start
(String composition, String model, String simModel, String casebase, String transformationConfig, boolean reuseDataClassReferencesAtRestart) start.Modifier and TypeMethodDescriptionstatic DependencyModel
CakeInstance.initDefaultDependencyModel
(String dependencyModelPath, WriteableObjectPool casebase) Method, that initializes the dependency model from an XML file. -
Uses of WriteableObjectPool in de.uni_trier.wi2.procake.adaptation
Modifier and TypeFieldDescriptionprotected WriteableObjectPool<TAdaptationKnowledge>
AdaptationAlgorithm.adaptationKnowledge
Modifier and TypeMethodDescriptionAdaptationAlgorithm.getAdaptationKnowledge()
Getter for the fieldadaptationKnowledge
.AdaptationAlgorithm.init
(WriteableObjectPool<TCase> pool, SimilarityCache simCache, AlgorithmConfiguration algorithmConfig, AlgorithmConfiguration globalConfig) Init the adaptation algorithm according to the given configuration.protected abstract WriteableObjectPool<TAdaptationKnowledge>
AdaptationAlgorithm.removeSemanticallyEqualAdaptationKnowledge
(WriteableObjectPool<TAdaptationKnowledge> pool) removeSemanticallyEqualAdaptationKnowledge.protected WriteableObjectPool<TAdaptationKnowledge>
AdaptationAlgorithm.removeSyntacticallyEqualAdaptationKnowledge
(WriteableObjectPool<TAdaptationKnowledge> pool) removeSyntacticallyEqualAdaptationKnowledge.Modifier and TypeMethodDescriptionAdaptationAlgorithm.init
(WriteableObjectPool<TCase> pool, SimilarityCache simCache, AlgorithmConfiguration algorithmConfig, AlgorithmConfiguration globalConfig) Init the adaptation algorithm according to the given configuration.protected abstract WriteableObjectPool<TAdaptationKnowledge>
AdaptationAlgorithm.removeSemanticallyEqualAdaptationKnowledge
(WriteableObjectPool<TAdaptationKnowledge> pool) removeSemanticallyEqualAdaptationKnowledge.protected WriteableObjectPool<TAdaptationKnowledge>
AdaptationAlgorithm.removeSyntacticallyEqualAdaptationKnowledge
(WriteableObjectPool<TAdaptationKnowledge> pool) removeSyntacticallyEqualAdaptationKnowledge.void
AdaptationAlgorithm.setAdaptationKnowledge
(WriteableObjectPool<TAdaptationKnowledge> adaptationKnowledge) Setter for the fieldadaptationKnowledge
. -
Uses of WriteableObjectPool in de.uni_trier.wi2.procake.adaptation.cache
Modifier and TypeFieldDescriptionprotected WriteableObjectPool
AbstractSimilarityCache.casePool
protected WriteableObjectPool
AbstractSimilarityCache.queryPool
Modifier and TypeMethodDescriptionvoid
AbstractSimilarityCache.updateAllSimilarities
(WriteableObjectPool poolObj) updateAllSimilarities.void
AbstractSimilarityCache.updateAllSimilarities
(WriteableObjectPool queryPoolObj, WriteableObjectPool casePoolObj) updateAllSimilarities.ModifierConstructorDescriptionprotected
AbstractSimilarityCache
(WriteableObjectPool queryPool, WriteableObjectPool casePool, T similarityMatrix, String pathCache, SimCalculatorStrategy strategy, boolean complete) Creates an abstract similarity cache.protected
AbstractSimilarityCache
(WriteableObjectPool pool, T similarityMatrix, String pathCache, SimCalculatorStrategy strategy, boolean complete) Creates an abstract similarity cache. -
Uses of WriteableObjectPool in de.uni_trier.wi2.procake.adaptation.cache.impl
ModifierConstructorDescriptionSimilarityCache
(WriteableObjectPool pool, SimilarityCacheMatrix matrix) This constructor creates a new SimilarityCache for a given CaseBase and SimilarityCacheMatrix.SimilarityCache
(WriteableObjectPool pool, SimilarityCacheMatrix matrix, SimCalculatorStrategy strategy) This constructor creates a new SimilarityCache for a given CaseBase and SimilarityCacheMatrix.SimilarityCache
(WriteableObjectPool queryPool, WriteableObjectPool casePool, SimilarityCacheMatrix matrix) This constructor creates a new SimilarityCache for a given CaseBase and SimilarityCacheMatrix.SimilarityCache
(WriteableObjectPool queryPool, WriteableObjectPool casePool, SimilarityCacheMatrix matrix, SimCalculatorStrategy strategy) This constructor creates a new SimilarityCache for a given CaseBase and SimilarityCacheMatrix.SimilarityCache
(WriteableObjectPool queryPool, WriteableObjectPool casePool, String pathCache) This constructor creates a new SimilarityCacheMatrix for a given CaseBase, calculates all similarities and stores them under the given path.SimilarityCache
(WriteableObjectPool queryPool, WriteableObjectPool casePool, String pathCache, SimCalculatorStrategy strategy) This constructor creates a new SimilarityCacheMatrix for a given CaseBase, calculates all similarities and stores them under the given path.SimilarityCache
(WriteableObjectPool pool, String pathCache) This constructor creates a new SimilarityCacheMatrix for a given CaseBase, calculates all similarities and stores them under the given path.SimilarityCache
(WriteableObjectPool pool, String pathCache, SimCalculatorStrategy strategy) This constructor creates a new SimilarityCacheMatrix for a given CaseBase, calculates all similarities and stores them under the given path.SimpleSimilarityCache
(WriteableObjectPool queryPool, WriteableObjectPool casePool, String pathCache) Constructor for SimpleSimilarityCache.SimpleSimilarityCache
(WriteableObjectPool queryPool, WriteableObjectPool casePool, String pathCache, boolean complete) Creates a new simple similarity cache and tries to complete the data loaded from the path.SimpleSimilarityCache
(WriteableObjectPool queryPool, WriteableObjectPool casePool, String pathCache, @NotNull SimCalculatorStrategy strategy) Creates a new simple similarity cache and tries to complete the data loaded from the path.SimpleSimilarityCache
(WriteableObjectPool queryPool, WriteableObjectPool casePool, String pathCache, @NotNull SimCalculatorStrategy strategy, boolean complete) Creates a new simple similarity cache and tries to complete the data loaded from the path.SimpleSimilarityCache
(WriteableObjectPool pool, String pathCache) Constructor for SimpleSimilarityCache.SimpleSimilarityCache
(WriteableObjectPool pool, String pathCache, boolean complete) Creates a new simple similarity cache and tries to complete the data loaded from the path.SimpleSimilarityCache
(WriteableObjectPool pool, String pathCache, @NotNull SimCalculatorStrategy strategy) Creates a new simple similarity cache and tries to complete the data loaded from the path.SimpleSimilarityCache
(WriteableObjectPool pool, String pathCache, @NotNull SimCalculatorStrategy strategy, boolean complete) Creates a new simple similarity cache and tries to complete the data loaded from the path. -
Uses of WriteableObjectPool in de.uni_trier.wi2.procake.adaptation.cache.impl.strategies
Modifier and TypeMethodDescriptionlong
SimCalculatorRetrieverStrategy.computeSimilarities
(DecimalFormat df, WriteableObjectPool queryPool, WriteableObjectPool casePool, AbstractSimilarityCacheMatrix similarityMatrix) Computes the similarities according to the strategy.long
SimCalculatorSingleStrategy.computeSimilarities
(DecimalFormat df, WriteableObjectPool queryPool, WriteableObjectPool casePool, AbstractSimilarityCacheMatrix similarityMatrix) Computes the similarities according to the strategy.long
SimCalculatorStrategy.computeSimilarities
(DecimalFormat df, WriteableObjectPool queryPool, WriteableObjectPool casePool, AbstractSimilarityCacheMatrix similarityMatrix) Computes the similarities according to the strategy. -
Uses of WriteableObjectPool in de.uni_trier.wi2.procake.adaptation.manager
Modifier and TypeMethodDescription<TAdaptationKnowledge extends DataObject>
WriteableObjectPool<TAdaptationKnowledge>AdaptationManager.getAdaptationKnowledge
(String adaptationAlgorithmId) getAdaptationKnowledge.AdaptationManager.init
(AdaptationConfiguration adaptationConfig) Inits the adaptation algorithms according to the configurationAdaptationManager.init
(AdaptationConfiguration adaptationConfig, SimilarityCache simCache) Initializes the adaptation algorithms according to the configurationModifier and TypeMethodDescriptionvoid
AdaptationManager.setAdaptationKnowledge
(String adaptationAlgorithmId, WriteableObjectPool adaptationKnowledge) setAdaptationKnowledge. -
Uses of WriteableObjectPool in de.uni_trier.wi2.procake.adaptation.manager.Impl
Modifier and TypeMethodDescription<TAdaptationKnowledge extends DataObject>
WriteableObjectPool<TAdaptationKnowledge>AdaptationManagerImpl.getAdaptationKnowledge
(String adaptationAlgorithmId) getAdaptationKnowledge.AdaptationManagerImpl.init
(AdaptationConfiguration adaptationConfig) Inits the adaptation algorithms according to the configurationAdaptationManagerImpl.init
(AdaptationConfiguration adaptationConfig, SimilarityCache simCache) Initializes the adaptation algorithms according to the configurationModifier and TypeMethodDescriptionvoid
AdaptationManagerImpl.setAdaptationKnowledge
(String adaptationAlgorithmId, WriteableObjectPool adaptationKnowledge) setAdaptationKnowledge.ModifierConstructorDescriptionConstructor for AdaptationManagerImpl.AdaptationManagerImpl
(WriteableObjectPool<TCase> pool, AdaptationConfiguration adaptationConfig) The adaptation manager will be initiated with the given configuration directlyAdaptationManagerImpl
(WriteableObjectPool<TCase> pool, AdaptationConfiguration adaptationConfig, SimilarityCache similarityCache) The adaptation manager will be initiated with the given configuration directly and algorithms use the specified similarity cache. -
Uses of WriteableObjectPool in de.uni_trier.wi2.procake.data.io.xml.xerces_saxImpl
ModifierConstructorDescriptionDependencyHandler
(WriteableObjectPool casebase, DependencyModel dependencyModel) Constructor for DependencyHandler.DependencyReader
(WriteableObjectPool casebase) Constructor for DependencyReader. -
Uses of WriteableObjectPool in de.uni_trier.wi2.procake.data.object
-
Uses of WriteableObjectPool in de.uni_trier.wi2.procake.data.objectpool
Modifier and TypeMethodDescriptionWriteableObjectPool.copy()
static <T extends DataObject>
WriteableObjectPool<T>ObjectPoolFactory.newObjectPool()
Creates a newWriteableObjectPool
. -
Uses of WriteableObjectPool in de.uni_trier.wi2.procake.data.objectpool.impl
-
Uses of WriteableObjectPool in de.uni_trier.wi2.procake.data.trainingObjectPool
Modifier and TypeMethodDescriptionTrainingObjectPool.getTestPool()
Getter method that returns the test pool.TrainingObjectPool.getTrainPool()
Getter method that returns the train pool.TrainingObjectPool.getValidatePool()
Getter method that returns the validate pool.ModifierConstructorDescriptionCrossValidationBuilder
(@NotNull WriteableObjectPool<T> pool, int k, double splitRatio, boolean shuffle) Constructor that creates k differentTrainingObjectPools
from aWriteableObjectPool
, each containing a test pool of size splitRatio and a training pool.TrainingObjectPool
(@NotNull WriteableObjectPool<T> trainPool, WriteableObjectPool<T> testPool, WriteableObjectPool<T> validatePool) Use this constructor to create the training pool from three individual pools.TrainingObjectPool
(@NotNull WriteableObjectPool<T> tmpPool, TrainingObjectPoolSplit split, boolean shuffle) Use this constructor to create a training pool from a single pool that is split up into three separate pools.TrainingObjectPoolSplit
(Double testRatio, WriteableObjectPool targetPool) Use this constructor to either split into two pools (training and testing) or do not split at all (only training).TrainingObjectPoolSplit
(Double testRatio, Double validationRatio, WriteableObjectPool targetPool) Use this constructor to either split into three pools (training, testing, validation), two pools (training and testing), or do not split at all (only training).TrainingObjectPoolSplit
(Integer testQuantity, WriteableObjectPool targetPool) Use this constructor to either split into two pools (training and testing) or do not split at all (only training).TrainingObjectPoolSplit
(Integer testQuantity, Integer validationQuantity, WriteableObjectPool targetPool) Use this constructor to either split into three models (training, testing, validation), into two pools (training and testing), or do not split at all (only training). -
Uses of WriteableObjectPool in de.uni_trier.wi2.procake.utils.eval
Modifier and TypeMethodDescriptionstatic <TCase extends DataObject>
List<SimpleSimilarityResult>RetrieverEvaluationUtils.computeGroundTruthSimilarities
(Retriever<TCase, Query> groundTruthRetriever, WriteableObjectPool<TCase> trainCaseBase, WriteableObjectPool<TCase> testCaseBase, String pathGroundTruthSimilarities) Computes the ground-truth similarities with the given ground-truth retriever.void
RetrieverEvaluation.setTrainTestCaseBase
(WriteableObjectPool<TCase> trainCaseBase, WriteableObjectPool<TCase> testCaseBase) Method used to store the training case base and the testing case base in the retriever evaluation, if this has not been done in the constructor.static <TCase extends DataObject>
voidRetrieverEvaluationUtils.testGroundTruthSimilarities
(WriteableObjectPool<TCase> trainCaseBase, WriteableObjectPool<TCase> testCaseBase, List<SimpleSimilarityResult> groundTruthSimilarities) Checks the ground-truth similarities by searching for every pair of query and case in them.static <TCase extends DataObject>
voidRetrieverEvaluationUtils.testRetrievers
(WriteableObjectPool<TCase> trainPool, WriteableObjectPool<TCase> testPool, Map<String, Retriever<TCase, Query>> retrieverMap) Simple method to test all retrievers in retrieverMap prior to the actual evaluation.ModifierConstructorDescriptionRetrieverEvaluation
(WriteableObjectPool<TCase> trainCaseBase, WriteableObjectPool<TCase> testCaseBase)