<commit_before>package pdm;

import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.Scanner;
import java.util.Set;
import java.util.Stack;
import java.util.stream.Collectors;

/**
 * A PDM schedule with a set of tasks
 * 
 * @author <NAME>, <NAME>
 */
public class PrecedenceDiagram {

	private Set<Task> tasks;
	private Set<Task> criticalPaths;
	private boolean dirtyEarlyTimes;
	private boolean dirtyLateTimes;
	private boolean dirtyTotalFloat;
	private boolean dirtyCriticalPath;
<commit_msg>Additional docs<commit_after>package pdm;

import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.Scanner;
import java.util.Set;
import java.util.Stack;
import java.util.stream.Collectors;

/**
 * A PDM schedule with a set of tasks
 * 
 * @author <NAME>, <NAME>
 */
public class PrecedenceDiagram {

	/**
	 * A PDM has a set of Tasks, and a set of all Tasks that contribute to a
	 * possible critical path.
	 */
	private Set<Task> tasks;
	private Set<Task> criticalPaths;

	/**
	 * Checks for method calls. If these are false, that means the related
	 * methods have already been called and the PDM's state has already been
	 * updated, and no action is taken.
	 */
	private boolean dirtyEarlyTimes;
	private boolean dirtyLateTimes;
	private boolean dirtyTotalFloat;
	private boolean dirtyCriticalPath;

{'fraction_non_alphanumeric': 0.0901015228426396, 'fraction_numerical': 0.0, 'mean_word_length': 4.652329749103942, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '1185527', 'n_tokens_mistral': 491, 'n_tokens_neox': 467, 'n_words': 159}