<commit_before>package org.ndexbio.model.object.network;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)

//TODO: nodeIds and edgeIds are not defined yet.
public class Subnetwork extends PropertiedNetworkElement {

	
	private SubnetworkType _subnetworktype; 
	private String _name; 

	public Subnetwork () {
		super();
        _type = this.getClass().getSimpleName();

	}
 
	public SubnetworkType getSubnetworktype() {
		return _subnetworktype;
	}

	public void setSubnetworktype(SubnetworkType subnetworktype) {
		this._subnetworktype = subnetworktype;
	}

	public String getName() {
		return _name;
	}

	public void setName(String name) {
		this._name = name;
	}

}<commit_msg>added the node id and edge id lists to class.<commit_after>package org.ndexbio.model.object.network;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)

public class Subnetwork extends PropertiedNetworkElement {

	
	private SubnetworkType _subnetworktype; 
	private String _name; 
	private long[] _nodeIds;  //sorted if we need to do lookups?
	private long[] _edgeIds;

	public Subnetwork () {
		super();
        _type = this.getClass().getSimpleName();

	}
 
	public SubnetworkType getSubnetworktype() {
		return _subnetworktype;
	}

	public void setSubnetworktype(SubnetworkType subnetworktype) {
		this._subnetworktype = subnetworktype;
	}

	public String getName() {
		return _name;
	}

	public void setName(String name) {
		this._name = name;
	}

	public long[] getNodeIds() {
		return _nodeIds;
	}

	public void setNodeIds(long[] _nodeIds) {
		this._nodeIds = _nodeIds;
	}

	public long[] getEdgeIds() {
		return _edgeIds;
	}

	public void setEdgeIds(long[] _edgeIds) {
		this._edgeIds = _edgeIds;
	}

}
{'fraction_non_alphanumeric': 0.09186496956281129, 'fraction_numerical': 0.0, 'mean_word_length': 4.445783132530121, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4822754', 'n_tokens_mistral': 609, 'n_tokens_neox': 561, 'n_words': 140}