<commit_before>package agreementMaker.application.mappingEngine.Matchers;

import java.util.ArrayList;

import javax.swing.tree.TreeNode;

import agreementMaker.application.mappingEngine.AbstractMatcher;
import agreementMaker.application.mappingEngine.AbstractMatcherParametersPanel;
import agreementMaker.application.mappingEngine.Alignment;
import agreementMaker.application.mappingEngine.AlignmentMatrix;
import agreementMaker.application.ontology.Node;
import agreementMaker.userInterface.vertex.Vertex;

public class DescendantsSimilarityInheritanceMatcher extends AbstractMatcher {

	// the Alignment Matrices from the Input Matching algorithm.
	private AlignmentMatrix inputClassesMatrix = null;
	private AlignmentMatrix inputPropertiesMatrix = null;
	

	
	private double MCP;
	
	public DescendantsSimilarityInheritanceMatcher(int key, String theName) {
		super(key, theName);
		

		parametersPanel = new DescendantsSimilarityInheritanceParametersPanel();
		needsParam = true; // we need to set the MCP before runing DSI
		
		
		// requires base similarity result (but can work on any alignment result) 
		minInputMatchers = 1;
		maxInputMatchers = 1;
		
	}
	
	
	/*
	 * Before the align process, have a reference to the classes Matrix, and the properties Matrix of the input Matcher
	 * Also, get our MCP value, which is set by the user 
	 * @see agreementMaker.application.mappingEngine.AbstractMatcher#beforeAlignOperations()
	 */<commit_msg>Small comment changes, cleanup imports.<commit_after>package agreementMaker.application.mappingEngine.Matchers;

import java.util.ArrayList;

import javax.swing.tree.TreeNode;

import agreementMaker.application.mappingEngine.AbstractMatcher;
import agreementMaker.application.mappingEngine.Alignment;
import agreementMaker.application.mappingEngine.AlignmentMatrix;
import agreementMaker.application.ontology.Node;
import agreementMaker.userInterface.vertex.Vertex;

public class DescendantsSimilarityInheritanceMatcher extends AbstractMatcher {

	// the Alignment Matrices from the Input Matching algorithm.
	private AlignmentMatrix inputClassesMatrix = null;
	private AlignmentMatrix inputPropertiesMatrix = null;
	

	
	private double MCP;
	
	public DescendantsSimilarityInheritanceMatcher(int key, String theName) {
		super(key, theName);
		

		parametersPanel = new DescendantsSimilarityInheritanceParametersPanel();
		needsParam = true; // we need to set the MCP before running DSI
		
		
		// requires base similarity result (but can work on any alignment result) 
		minInputMatchers = 1;
		maxInputMatchers = 1;
		
	}
	
	
	/**
	 * Before the align process, have a reference to the classes Matrix, and the properties Matrix of the input Matcher
	 * Also, get our MCP value, which is set by the user 
	 * @see agreementMaker.application.mappingEngine.AbstractMatcher#beforeAlignOperations()
	 */
{'fraction_non_alphanumeric': 0.06280701754385964, 'fraction_numerical': 0.0014035087719298245, 'mean_word_length': 5.406741573033708, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3962840', 'n_tokens_mistral': 799, 'n_tokens_neox': 712, 'n_words': 222}