Beispiel #1
0
        public override void Compute()
        {
            TLSimilarityMatrix answerSet = (TLSimilarityMatrix)Workspace.Load("answerSet");

            string sourceArtifactsCollectionId = (string)Workspace.Load("sourceArtifactsCollectionId");
            string targetArtifactsCollectionId = (string)Workspace.Load("targetArtifactsCollectionId");
            string path = (string)Workspace.Load("outputPath");

            path  = path.Remove(path.IndexOf(".") + 1);
            path += "xml";

            AnswerSetExporterUtilities.Export(answerSet, sourceArtifactsCollectionId, targetArtifactsCollectionId, path);
        }
Beispiel #2
0
        public override void Compute()
        {
            TLSimilarityMatrix answerSet = (TLSimilarityMatrix)Workspace.Load("answerSet");

            AnswerSetExporterUtilities.Export(answerSet, Config.SourceArtifactsCollectionId, Config.TargetArtifactsCollectionId, Config.Path);
        }