Files
Graph_Theory_Using_Flat_Buf…/main.cpp

21 lines
601 B
C++

/**
* @author: Lewis Price
* @date: 06-09-2026 (MM-DD-YYYY)
* @brief: This file contains the code required for running the Graph Theory project. It includes the main function and several test case graphs to demonstrate the functionality of the Flat_Buffer_Graph class.
* @
* @version: 1.0.0
*/
#include "Flat_Buffer_Graph.h"
#include <iostream>
using namespace std;
int main() {
Flat_Buffer_Graph* g = new Flat_Buffer_Graph(5, 7);
g->add_point("Charlotte", 1.2222, 1.22222, 720.73425);
g->add_point("Waco", 1.1111, 1.1111, 200.00);
g->add_edge(1, 1, 20);
g->print_graph();
}