Changed flat_buffer_graph to fb_graph for convenience. Moved fb_graph.cpp and .h files into their own directory. Created teh initial files for the fb_map which will be code for flat buffer hash map.
This commit is contained in:
6
main.cpp
6
main.cpp
@@ -1,17 +1,17 @@
|
||||
/**
|
||||
* @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.
|
||||
* @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 fb_graph class.
|
||||
* @
|
||||
* @version: 1.0.0
|
||||
*/
|
||||
|
||||
#include "Flat_Buffer_Graph.h"
|
||||
#include "fb_graph/Flat_Buffer_Graph.h"
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
Flat_Buffer_Graph* g = new Flat_Buffer_Graph(5, 7);
|
||||
fb_graph* g = new fb_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);
|
||||
|
||||
Reference in New Issue
Block a user