18 using System.Collections.Generic;
22 using TraceLabSDK.Types;
23 using TraceLab.Components.DevelopmentKit.Utils;
25 namespace TraceLab.Components.Library.Postprocessors.LinkPruning
27 [Component(Name =
"Retreive Links At Specific Recall",
28 Description =
"Retrieves links from a TLSimilarityMatrix at a specific recall.",
29 Author =
"SEMERU; Evan Moritz",
31 ConfigurationType = typeof(RetrieveTopNLinksComponentConfig))]
32 [IOSpec(IOSpecType.Input,
"Matrix", typeof(TLSimilarityMatrix))]
33 [IOSpec(IOSpecType.Input,
"AnswerMatrix", typeof(TLSimilarityMatrix))]
34 [IOSpec(IOSpecType.Output,
"PrunedMatrix", typeof(TLSimilarityMatrix))]
35 [Tag(
"Postprocessors.Link Pruning")]
44 Configuration = _config;
49 TLSimilarityMatrix matrix = (TLSimilarityMatrix)Workspace.Load(
"Matrix");
50 TLSimilarityMatrix answerMatrix = (TLSimilarityMatrix)Workspace.Load(
"AnswerMatrix");
52 Workspace.Store(
"PrunedMatrix", pruned);
58 public double RecallLevel {
get; set; }