Uses of Class
de.uni_mannheim.informatik.dws.melt.matching_data.TestCase
Package
Description
This package contains the classes to support tracks and test cases.
-
Uses of TestCase in de.uni_mannheim.informatik.dws.melt.matching_data
Modifier and TypeMethodDescriptionLocalTrack.addTestCase
(TestCase tc) LocalTrack.addTestCase
(String name, File source, File target, File reference) LocalTrack.addTestCase
(String name, File source, File target, File reference, File inputAlignment, GoldStandardCompleteness goldStandardCompleteness, File parameters, File evaluationExclusionAlignment) LocalTrack.addTestCase
(String name, URI source, URI target, URI reference, URI inputAlignment, GoldStandardCompleteness goldStandardCompleteness, URI parameters, URI evaluationExclusionAlignment) static TestCase
TrackRepository.generateTestCaseWithSampledReferenceAlignment
(TestCase tc, double fraction) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.static TestCase
TrackRepository.generateTestCaseWithSampledReferenceAlignment
(TestCase tc, double fraction, long randomSeed) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.static TestCase
TrackRepository.generateTestCaseWithSampledReferenceAlignment
(TestCase tc, double fraction, long randomSeed, boolean removeSamplesFromReference) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.private static TestCase
TrackRepository.generateTestCaseWithSampledReferenceAlignment
(TestCase tc, double fraction, Random randomSeed, boolean removeSamplesFromReference) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.Track.getFirstTestCase()
Obtain an example test case (the first one).Track.getTestCase
(int index) Obtain a test case using the index.Track.getTestCase
(String name) Obtain a test case using a specified name.Modifier and TypeMethodDescriptionTrackRepository.generateTrackWithSampledReferenceAlignment
(Track track, double fraction) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.TrackRepository.generateTrackWithSampledReferenceAlignment
(Track track, double fraction, long randomSeed) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.TrackRepository.generateTrackWithSampledReferenceAlignment
(Track track, double fraction, long randomSeed, boolean removeSamplesFromReference) Generates test cases where the input alignment of the test cases is filled with a fraction of the reference alignment.TrackRepository.generateTrackWithSampledReferenceAlignment
(List<TestCase> testCases, double fraction) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.TrackRepository.generateTrackWithSampledReferenceAlignment
(List<TestCase> testCases, double fraction, long randomSeed) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.TrackRepository.generateTrackWithSampledReferenceAlignment
(List<TestCase> testCases, double fraction, long randomSeed, boolean removeSamplesFromReference) Generates test cases where the input alignment of the test cases is filled with a fraction of the reference alignment.TrackRepository.generateTrackWithSampledReferenceAlignment
(List<TestCase> testCases, double fraction, Random randomSeed, boolean removeSamplesFromReference) Generates test cases where the input alignment of the test cases is filled with a fraction of the reference alignment.TrackRepository.Multifarm.getDifferentOntologies()
TrackRepository.Multifarm.getDifferentOntologies
(List<Track> multiFarmLanguageTracks) Track.getMapNameToTestCase()
TrackRepository.Multifarm.getSameOntologies()
TrackRepository.Multifarm.getSameOntologies
(List<Track> multiFarmLanguageTracks) TrackRepository.Multifarm.getSameOrDifferentOntologies
(boolean same) TrackRepository.Multifarm.getSameOrDifferentOntologies
(List<Track> multiFarmLanguageTracks, boolean same) Track.getTestCases()
Return all test cases of the track.Track.getTestCases
(String... names) Obtain multiple test cases using specified test case names.Track.getTestCases
(List<String> testCaseNames) Obtain multiple test cases using specified test case names.LocalTrack.readFromCache()
Track.readFromCache()
Track.readFromDefaultLayout()
Track.readFromDuplicateFreeLayout()
Reads and parses test cases.Track.readFromTestCaseLayout()
Reads and parses test cases.Modifier and TypeMethodDescriptionLocalTrack.addTestCase
(TestCase tc) static TestCase
TrackRepository.generateTestCaseWithSampledReferenceAlignment
(TestCase tc, double fraction) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.static TestCase
TrackRepository.generateTestCaseWithSampledReferenceAlignment
(TestCase tc, double fraction, long randomSeed) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.static TestCase
TrackRepository.generateTestCaseWithSampledReferenceAlignment
(TestCase tc, double fraction, long randomSeed, boolean removeSamplesFromReference) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.private static TestCase
TrackRepository.generateTestCaseWithSampledReferenceAlignment
(TestCase tc, double fraction, Random randomSeed, boolean removeSamplesFromReference) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.static boolean
TrackRepository.Multifarm.isTestCaseSameOntology
(TestCase tc) Modifier and TypeMethodDescriptionTrackRepository.generateTrackWithSampledReferenceAlignment
(List<TestCase> testCases, double fraction) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.TrackRepository.generateTrackWithSampledReferenceAlignment
(List<TestCase> testCases, double fraction, long randomSeed) Generates a test case where the input alignment of the test case is filled with a fraction of the reference alignment.TrackRepository.generateTrackWithSampledReferenceAlignment
(List<TestCase> testCases, double fraction, long randomSeed, boolean removeSamplesFromReference) Generates test cases where the input alignment of the test cases is filled with a fraction of the reference alignment.TrackRepository.generateTrackWithSampledReferenceAlignment
(List<TestCase> testCases, double fraction, Random randomSeed, boolean removeSamplesFromReference) Generates test cases where the input alignment of the test cases is filled with a fraction of the reference alignment.Track.getDistinctOntologies
(List<TestCase> testCases) Track.getDistinctOntologiesMap
(List<TestCase> testCases) ModifierConstructorDescriptionLocalTrack
(String name, String version, List<TestCase> testCases) Default Constructor.LocalTrack
(String name, String version, List<TestCase> testCases, GoldStandardCompleteness goldStandardCompleteness) Default Constructor -
Uses of TestCase in de.uni_mannheim.informatik.dws.melt.matching_eval
Modifier and TypeFieldDescriptionprivate TestCase
ExecutionResult.testCase
private TestCase
ExecutionRunner.testCase
Modifier and TypeFieldDescriptionstatic final com.googlecode.cqengine.attribute.Attribute<ExecutionResult,
TestCase> ExecutionResult.TEST_CASE
This method allows the TEST_CASE to be an index within a collection.private com.googlecode.cqengine.index.hash.HashIndex<TestCase,
ExecutionResult> ExecutionResultSet.testCaseIndex
Modifier and TypeMethodDescriptionExecutionResultSet.getDistinctTestCases()
Get the distinct test cases that used in this ExecutionResultSet.ExecutionResultSet.getDistinctTestCases
(Track track) Get the distinct test cases that used in this ExecutionResultSet for the specified track.ExecutionResultSet.getDistinctTestCases
(Track track, String matcher) Get the distinct test cases that used in this ExecutionResultSet for the specified track.ExecutionResultSet.getDistinctTestCases
(String matcher) ExecutionResultSet.getDistinctTestCasesSorted()
ExecutionResultSet.getDistinctTestCasesSorted
(Track track) ExecutionResultSet.getDistinctTestCasesSorted
(Track track, String matcher) ExecutionResultSet.getDistinctTestCasesSorted
(String matcher) Modifier and TypeMethodDescriptionGet a specificExecutionResult
which fulfills the specified parameters (testCase, matcherName) from the ExecutionResultSet.ExecutionResultSet.getDistinctMatchers
(TestCase testCase) Given a distinct test case, return the distinct names of matchers that were run on this particular test case.ExecutionResultSet.getDistinctMatchersSorted
(TestCase testCase) static ExecutionResultSet
Executor.loadFromFolder
(File folder, TestCase testCase) Load raw results from folder structure like: folder - ALIGN.rdf - LogMap.rdf File names are treated as matcher names and they are associated with the given testcase.static ExecutionResultSet
Executor.loadFromFolder
(String pathToFolder, TestCase testCase) Load results directly from a folder.private static com.googlecode.cqengine.query.Query<ExecutionResult>
private static com.googlecode.cqengine.query.Query<ExecutionResult>
private static com.googlecode.cqengine.query.Query<ExecutionResult>
static ExecutionResultSet
Run matchers on one test cases.static ExecutionResultSet
Run matchers on one test cases.static ExecutionResultSet
Run matchers on one test cases.Evaluate matcher(s) using the local SEALS client.Evaluate matcher(s) using the local SEALS client.static ExecutionResult
ExecutionRunner.runMatcher
(TestCase testCase, Object matcher, String matcherName) Run an individual matcher on an individual test case.static ExecutionResult
ExecutionRunner.runMatcher
(TestCase testCase, Object matcher, String matcherName, Object inputAlignment, Object parameters) Run an individual matcher on an individual test case.static ExecutionResultSet
Executor.runMatcherOnTop
(ExecutionResultSet oldResults, TestCase testCase, String oldMatcherName, Object newMatcher, String newMatcherName) Runs a matcher on top of another.static ExecutionResultSet
Executor.runMatcherOnTop
(ExecutionResultSet oldResults, TestCase testCase, String oldMatcherName, Map<String, Object> newMatchers) Runs a matcher on top of another.static ExecutionResult
Run a single test case with one matcher.static ExecutionResult
Run a single test case with one matcher.protected ExecutionResult
ExecutorSeals.runUnzippedMatcher
(TestCase testCase, File matcherDirectory) Evaluate a single matcher using the local SEALS client.protected ExecutionResult
ExecutorSeals.runUnzippedMatcher
(TestCase testCase, File matcherDirectory, String matcherName) Evaluate a single matcher using the local SEALS client.Modifier and TypeMethodDescriptionstatic ExecutionResultSet
Run matchers on a set of test cases.static ExecutionResultSet
Run matchers on a set of test cases.static ExecutionResultSet
Run matchers on a set of test cases.Run the given matchers in parallel.Evaluate matcher(s) using the local SEALS client.ModifierConstructorDescriptionExecutionResult
(TestCase testCase, String matcherName, Alignment systemAlignment) Constructor used by tests to check if metrics compute correctly.ExecutionResult
(TestCase testCase, String matcherName, Alignment systemAlignment, Alignment referenceAlignment) Constructor used by tests to check if metrics compute correctly.ExecutionResult
(TestCase testCase, String matcherName, URL originalSystemAlignment, long runtime, Alignment systemAlignment, Alignment referenceAlignment, Object matcher, Set<Refiner> refinements, Object parameters) Base constructor which needs all parametersExecutionResult
(TestCase testCase, String matcherName, URL originalSystemAlignment, long runtime, Object matcher, Object parameters) Constructor used by ExecutionRunner for initializing a execution result from a matcher runExecutionRunner
(TestCase testCase, Object matcher, String matcherName) ExecutionRunner
(TestCase testCase, Object matcher, String matcherName, Object inputAlignment, Object parameters) -
Uses of TestCase in de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator
Modifier and TypeMethodDescriptionprivate void
EvaluatorCSV.writeOverviewFileMatcherTestCase
(TestCase testCase, String matcher, File baseDirectory, boolean onlyCalculateCube) Write the overview file, i.e.private void
EvaluatorRelationTypePrediction.writeOverviewFileMatcherTestCase
(List<RelationTypeRefiner> refiners, TestCase testCase, String matcher, org.apache.commons.csv.CSVPrinter printer) -
Uses of TestCase in de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.metric.resultsSimilarity
Modifier and TypeMethodDescriptionMatcherSimilarityMetric.get
(ExecutionResultSet resultSet, TestCase testCase, Refiner... refiners) Obtain the matcher similarity for the givenExecutionResultSet
. -
Uses of TestCase in de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.util
Modifier and TypeFieldDescription(package private) TestCase
AlignmentsCube.TestCaseMatcher.testCase
Modifier and TypeMethodDescriptionAlignmentsCube.getAnalyticalMappingInformation
(TestCase testCase, String matcher) Get analytical mapping information for testcase and matcher name.AlignmentsCube.putAnalyticalMappingInformation
(TestCase testCase, String matcherName, AnalyticalAlignmentInformation analyticalAlignmentInformation) Add analytical alignment information.ModifierConstructorDescriptionPrefixLookup
(TestCase tc, boolean isleftPrefixMap) TestCaseMatcher
(TestCase testCase, String matcher) -
Uses of TestCase in de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.visualization.resultspage
Modifier and TypeMethodDescriptionResultsPageUtil.getOrderedTestCases()
ResultsPageUtil.getTestCases()
Modifier and TypeMethodDescriptionResultsPageUtil.getMatcherRefinement
(String matcher, TestCase testcase, String refinement) -
Uses of TestCase in de.uni_mannheim.informatik.dws.melt.matching_eval.matchers
Modifier and TypeMethodDescriptionprivate TestCase
AddPositivesWithReference.getTestCaseFromCSVRecord
(org.apache.commons.csv.CSVRecord record) -
Uses of TestCase in de.uni_mannheim.informatik.dws.melt.matching_eval.multisource
Modifier and TypeFieldDescriptionExecutionResultMultiSource.testCases
ExecutionRunnerMultiSource.testCases
Modifier and TypeMethodDescriptionEvaluatorMultiSourceBasic.getTestCases
(org.json.JSONObject infos, Track track) ExecutionResultMultiSource.getTestCases()
ExecutorMultiSource.groupTestCasesByTrack
(List<TestCase> testCases) Partitioner.partition
(Collection<String> uris) PartitionerDefault.partition
(Collection<String> uris) This method will load each ontology to check if a URI is contained.PartitionerFromDatasetIdExtractor.partition
(Collection<String> uris) Modifier and TypeMethodDescriptionprivate static boolean
ExecutionRunnerMultiSource.allTestCasesFromSameTrack
(List<TestCase> testCases) static ExecutionResultMultiSource
ExecutorMultiSource.fromAlignment
(Alignment fullAlignment, List<TestCase> testCases, String matcherName, long totalRuntime, boolean computeTransitiveClosure, Partitioner partitioner) static Alignment
ExecutorMultiSource.getCombinedInputAlignment
(List<TestCase> testCases) private static Properties
ExecutorMultiSource.getParameters
(List<TestCase> testCases) ExecutionRunnerMultiSource.getTrackNames
(List<TestCase> testCases) ExecutorMultiSource.groupTestCasesByTrack
(List<TestCase> testCases) static ExecutionResultMultiSource
ExecutionRunnerMultiSource.run
(List<TestCase> testCases, Object matcher, String matcherName, List<URL> allGraphs, Partitioner partitioner, Object inputAlignment, Object parameters) static ExecutionResultMultiSource
ExecutorMultiSource.run
(List<TestCase> testCases, Object matcher, String matcherName, List<URL> allGraphs, Partitioner partitioner, Properties additionalParameters) ExecutorMultiSource.runMultipleMatchers
(List<TestCase> testCases, Map<String, Object> matchers, Properties additionalParameters) ExecutorMultiSourceParallel.runMultipleMatchers
(List<TestCase> testCases, Map<String, Object> matchers) ExecutorMultiSourceParallel.runMultipleMatchers
(List<TestCase> testCases, Map<String, Object> matchers, Properties additionalParameters) ExecutorMultiSource.runMultipleMatchersWithAdditionalGraphs
(List<TestCase> testCases, Map<String, Object> matchers, Properties additionalParameters, List<URL> additionalGraphs) ModifierConstructorDescriptionExecutionResultMultiSource
(Object alignment, String matcherName, List<TestCase> testCases, long totalRuntime, boolean computeTransitiveClosure, Partitioner partitioner) ExecutionRunnerMultiSource
(List<TestCase> testCases, Object matcher, String matcherName, List<URL> allGraphs, Partitioner partitioner, Object inputAlignment, Object parameters) -
Uses of TestCase in de.uni_mannheim.informatik.dws.melt.matching_eval.paramtuning
Modifier and TypeMethodDescriptionGridSearch.runGridParallel
(TestCase testCase) Run in parallel onTestCase
.GridSearch.runGridParallel
(TestCase testCase, int numberOfThreads) GridSearch.runGridSequential
(TestCase testCase) Run sequentially on aTestCase
.Modifier and TypeMethodDescriptionGridSearch.runGridParallel
(List<TestCase> testCases) Run in parallel on multipleTestCase
.GridSearch.runGridParallel
(List<TestCase> testCases, int numberOfThreads) GridSearch.runGridSequential
(List<TestCase> testCases) Run sequentially on multipleTestCase
. -
Uses of TestCase in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.external.services.labelToConcept
Modifier and TypeMethodDescriptionLinksToFile.getLinks
(TestCase testCase, TextExtractor extractor, LabelToConceptLinker linker, int maxLabelTokenLength) static void
LinksToFile.writeLinksToFile
(@NotNull File fileToWrite, @NotNull TestCase testCase, @NotNull TextExtractor extractor, @NotNull LabelToConceptLinker linker, int maxLabelTokenLength) Write all links of a track to file (UTF-8 encoded).Modifier and TypeMethodDescriptionLinksToFile.getLinksTestcases
(@NotNull List<TestCase> testCaseList, @NotNull TextExtractor extractor, @NotNull LabelToConceptLinker linker, int maxLabelTokenLength) -
Uses of TestCase in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.textExtractors
Modifier and TypeMethodDescriptionvoid
ManualInspection.describeResources
(TestCase tc, int samples, File f, boolean useSource) void
ManualInspection.describeResourcesWithExtractor
(TestCase tc, int samples, File f, boolean useSource) void
ManualInspection.describeResourcesWithExtractor
(TestCase tc, int samples, File f, boolean useSource, boolean addInput, boolean nextJump) void
ManualInspection.listAnnotationProperties
(TestCase tc, File f) void
ManualInspection.listAnnotationProperties
(TestCase tc, PrintStream stream) void
ManualInspection.writeTestCaseSourceToFile
(TestCase tc, File f) void
ManualInspection.writeTestCaseTargetToFile
(TestCase tc, File f) void
ManualInspection.writeTestCaseToFolder
(TestCase tc) void
ManualInspection.writeTestCaseToFolder
(TestCase tc, File folder) -
Uses of TestCase in de.uni_mannheim.informatik.dws.melt.matching_validation
Modifier and TypeFieldDescriptionprivate final TestCase
TestCaseValidationService.testCase
Test case on which the analysis was performed on.ModifierConstructorDescriptionTestCaseValidationService
(TestCase testCase, SemanticWebLibrary semanticWebLibrary) Constructor