<commit_before>/* 
 * Copyright (C) 2017 jadovan
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package dijkstra;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

/**
 * Project: NASA Path in conjunction with University of Maryland University
 * College
 *
 * @author jadovan
 */
public class CreateNodes extends Node {

    private final String FILENAME5 = "D:\\Java\\Dijkstra\\src\\dijkstra\\S0LABHANDHOLDS.txt";
    private final String FILENAME6 = "D:\\Java\\Dijkstra\\src\\dijkstra\\S0LABHANDHOLDSDISTANCES.txt";
    File file1 = new File("D:\\Java\\Dijkstra\\src\\dijkstra\\S0HANDHOLDS.str");
    File file2 = new File("D:\\Java\\Dijkstra\\src\\dijkstra\\LABHANDHOLDS.str");

    Node s0Node = new Node();
    Node labNode = new Node();
    Node s0LabNode = new Node();
    List<Node> s0HandHoldNodeList = new ArrayList<>();
    List<String> s0HandHoldNodeIndexList = new ArrayList<>();
    List<Node> labHandHoldNodeList = new ArrayList<>();
    List<String> labHandHoldNodeIndexList = new ArrayList<>();
    List<Node> s0LabHandHoldNodeList = new ArrayList<>();
    List<String> s0LabHandHoldNodeIndexList = new ArrayList<>();

    private double s0LabNodeDist;
    private String s0LabNodeDistString;

    private BufferedWriter bw5 = null;
    private BufferedWriter bw6 = null;

    private FileWriter fw5 = null;
    private FileWriter fw6 = null;
<commit_msg>Update CreateNodes.java<commit_after>/* 
 * Copyright (C) 2017 jadovan
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package dijkstra;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

/**
 * Project: NASA Path in conjunction with University of Maryland University
 * College
 *
 * @author jadovan
 */
public class CreateNodes extends Node {
    /**
    * The following two file locations must be changed to the directory where the user wants 
    * the files to be saved
    */
    private final String FILENAME5 = "D:\\Java\\Dijkstra\\src\\dijkstra\\S0LABHANDHOLDS.txt";
    private final String FILENAME6 = "D:\\Java\\Dijkstra\\src\\dijkstra\\S0LABHANDHOLDSDISTANCES.txt";
    /**
    * The following two file locations must be changed to the user's current directory 
    * where the files are saved on their computer, server, etc.
    */
    File file1 = new File("D:\\Java\\Dijkstra\\src\\dijkstra\\S0HANDHOLDS.str");
    File file2 = new File("D:\\Java\\Dijkstra\\src\\dijkstra\\LABHANDHOLDS.str");

    Node s0Node = new Node();
    Node labNode = new Node();
    Node s0LabNode = new Node();
    List<Node> s0HandHoldNodeList = new ArrayList<>();
    List<String> s0HandHoldNodeIndexList = new ArrayList<>();
    List<Node> labHandHoldNodeList = new ArrayList<>();
    List<String> labHandHoldNodeIndexList = new ArrayList<>();
    List<Node> s0LabHandHoldNodeList = new ArrayList<>();
    List<String> s0LabHandHoldNodeIndexList = new ArrayList<>();

    private double s0LabNodeDist;
    private String s0LabNodeDistString;

    private BufferedWriter bw5 = null;
    private BufferedWriter bw6 = null;

    private FileWriter fw5 = null;
    private FileWriter fw6 = null;

{'fraction_non_alphanumeric': 0.10015408320493066, 'fraction_numerical': 0.010565705480959718, 'mean_word_length': 3.74321503131524, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3512506', 'n_tokens_mistral': 1362, 'n_tokens_neox': 1299, 'n_words': 472}