<commit_before>package Graphs.graphs;

import Misc.base.Colour;

public class GraphNode {
	Colour colour;
	Integer d;
	Integer f;
	GraphNode parent;
	Integer value;
	
	public GraphNode(Integer v){
		value = v;
		colour = Colour.WHITE;
		d = Integer.MAX_VALUE;
		f = Integer.MAX_VALUE;
		parent = null;
	}
	
	public Boolean undiscovered(){
		return colour == Colour.WHITE;
	}
	
	public String stringify(){
		return "(" + value + ")";
	}
}<commit_msg>Modified graphnode to include a key<commit_after>package Graphs.graphs;

import Misc.base.Colour;

public class GraphNode implements Comparable<GraphNode> {
	Colour colour;
	Integer d;
	Integer f;
	GraphNode parent;
	Integer key;
	Integer value;
	
	public GraphNode(Integer v){
		value = v;
		colour = Colour.WHITE;
		d = Integer.MAX_VALUE;
		f = Integer.MAX_VALUE;
		parent = null;
	}
	
	public Boolean undiscovered(){
		return colour == Colour.WHITE;
	}
	
	public String stringify(){
		return "(" + value + ")";
	}

	@Override
	public int compareTo(GraphNode node) {
		return value.compareTo(node.value);
	}
}
{'fraction_non_alphanumeric': 0.11226415094339623, 'fraction_numerical': 0.0, 'mean_word_length': 3.86697247706422, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '5428172', 'n_tokens_mistral': 396, 'n_tokens_neox': 362, 'n_words': 98}