21 lines
583 B
C++
21 lines
583 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 fb_graph class.
|
|
* @
|
|
* @version: 1.0.0
|
|
*/
|
|
|
|
#include "fb_graph/Flat_Buffer_Graph.h"
|
|
#include <iostream>
|
|
using namespace std;
|
|
|
|
int main() {
|
|
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);
|
|
g->print_graph();
|
|
}
|
|
|