<commit_before>/*
 * path_list_color_example.cpp
 * Author: <NAME>
 *
 * Example of path list coloring a graph.
 */

// STL headers
#include <iostream>
#include <vector>

// Basic graph headers
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/properties.hpp>
#include <boost/graph/graph_traits.hpp>
#include <boost/property_map/property_map.hpp>

// Planar graph headers
#include <boost/graph/planar_canonical_ordering.hpp>
#include <boost/graph/chrobak_payne_drawing.hpp>
#include <boost/graph/boyer_myrvold_planar_test.hpp>

// Local project headers
#include "../hartman_skrekovski_color/hartman_skrekovski_color.hpp"
#include "../visualization/draw_tikz_graph.hpp"

// Define graph properties
typedef boost::adjacency_list<
		boost::setS,
		boost::vecS,
		boost::undirectedS,
		boost::property<boost::vertex_index_t, std::size_t>,
		boost::no_property
	> index_graph;

// Vertex and edge types
typedef typename boost::graph_traits<index_graph>::vertex_descriptor vertex_descriptor;
typedef typename boost::graph_traits<index_graph>::edge_descriptor edge_descriptor;

// Define types for the planar embedding
typedef std::vector<std::vector<edge_descriptor> > embedding_storage_t;
typedef boost::iterator_property_map<
		typename embedding_storage_t::iterator, 
		typename boost::property_map<index_graph, boost::vertex_index_t>::type
	> embedding_t;
	<commit_msg>Fixed example to work with new directory organization.<commit_after>/*
 * path_list_color_example.cpp
 * Author: <NAME>
 *
 * Example of path list coloring a graph.
 */

// STL headers
#include <iostream>
#include <vector>

// Basic graph headers
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/properties.hpp>
#include <boost/graph/graph_traits.hpp>
#include <boost/property_map/property_map.hpp>

// Planar graph headers
#include <boost/graph/planar_canonical_ordering.hpp>
#include <boost/graph/chrobak_payne_drawing.hpp>
#include <boost/graph/boyer_myrvold_planar_test.hpp>

// Local project headers
#include "../path_coloring/hartman_skrekovski_color.hpp"
#include "../visualization/draw_tikz_graph.hpp"

// Define graph properties
typedef boost::adjacency_list<
		boost::setS,
		boost::vecS,
		boost::undirectedS,
		boost::property<boost::vertex_index_t, std::size_t>,
		boost::no_property
	> index_graph;

// Vertex and edge types
typedef typename boost::graph_traits<index_graph>::vertex_descriptor vertex_descriptor;
typedef typename boost::graph_traits<index_graph>::edge_descriptor edge_descriptor;

// Define types for the planar embedding
typedef std::vector<std::vector<edge_descriptor> > embedding_storage_t;
typedef boost::iterator_property_map<
		typename embedding_storage_t::iterator, 
		typename boost::property_map<index_graph, boost::vertex_index_t>::type
	> embedding_t;
	
{'fraction_non_alphanumeric': 0.11497134670487107, 'fraction_numerical': 0.0, 'mean_word_length': 6.610354223433243, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '3940904', 'n_tokens_mistral': 942, 'n_tokens_neox': 875, 'n_words': 177}