<commit_before><commit_msg>Carico classe demo per le query statiche.<commit_after>package query;

import java.util.HashSet;
import java.util.Set;

import org.biopax.paxtools.model.BioPAXElement;
import org.biopax.paxtools.model.level3.PhysicalEntity;
import org.biopax.paxtools.query.QueryExecuter;

/**
 * Query che dato un oggetto {@link BioPAXElement} ritornano gli oggetti {@link PhysicalEntity} correlati, per i BioPAX livello 3. 
 *
 * @author Alessandro
 *
 */
public class GetRelatedPhysicalEntitiesQuery implements ExsecuteQuey  {
	private BioPAXElement element;
	private Set<PhysicalEntity> pes;
	private Set<PhysicalEntity> result;
	
	public GetRelatedPhysicalEntitiesQuery(BioPAXElement element, Set<PhysicalEntity> pes) {
		this.element = element;
		this.pes = pes;
		this.result = new HashSet<PhysicalEntity>();
	}
	@Override
	public void exsecuteQuery() {
		// TODO Auto-generated method stub
		this.result = QueryExecuter.getRelatedPhysicalEntities(element, pes);
	}

	@Override
	public void saveQuery() {
		// TODO Auto-generated method stub
		
	}

	
}
{'fraction_non_alphanumeric': 0.09354536950420954, 'fraction_numerical': 0.0018709073900841909, 'mean_word_length': 5.045197740112994, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5822897', 'n_tokens_mistral': 361, 'n_tokens_neox': 336, 'n_words': 83}