DHART
Loading...
Searching...
No Matches
pathfinder_C.h File Reference

Header file for C Interface pathfinding functionality. More...

#include <cinterface_utils.h>
+ Include dependency graph for pathfinder_C.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  HF
 Perform human scale analysis on 3D environments.
 
namespace  HF::SpatialStructures
 Contains standard fundamental data structures for representing space used throughout DHARTAPI.
 
namespace  HF::Pathfinding
 Algorithms to find the shortest path between nodes in a HF::SpatialStructures::Graph.
 

Macros

#define C_INTERFACE   extern "C" __declspec(dllexport) int
 

Functions

C_INTERFACE CreatePath (const HF::SpatialStructures::Graph *g, int start, int end, const char *cost_type, int *out_size, HF::SpatialStructures::Path **out_path, HF::SpatialStructures::PathMember **out_data)
 Find the shortest path from start to end. More...
 
C_INTERFACE CreatePaths (const HF::SpatialStructures::Graph *g, const int *start, const int *end, const char *cost_type, HF::SpatialStructures::Path **out_path_ptr_holder, HF::SpatialStructures::PathMember **out_path_member_ptr_holder, int *out_sizes, int num_paths)
 Find multiple shortest paths in paralllel. More...
 
C_INTERFACE GetPathInfo (HF::SpatialStructures::Path *p, HF::SpatialStructures::PathMember **out_member_ptr, int *out_size)
 Get the size of a path and a pointer to its path members. More...
 
C_INTERFACE DestroyPath (HF::SpatialStructures::Path *path_to_destroy)
 Delete a path. More...
 
C_INTERFACE CreateAllToAllPaths (const HF::SpatialStructures::Graph *g, const char *cost_type, HF::SpatialStructures::Path **out_path_ptr_holder, HF::SpatialStructures::PathMember **out_path_member_ptr_holder, int *out_sizes, int num_paths)
 Find a path from every node in a graph to every other node. More...
 
C_INTERFACE CalculateDistanceAndPredecessor (const HF::SpatialStructures::Graph *g, const char *cost_name, std::vector< float > **out_dist_vector, float **out_dist_data, std::vector< int > **out_pred_vector, int **out_pred_data)
 Calculate the distance and predecessor matricies for a graph. More...
 

Detailed Description

Header file for C Interface pathfinding functionality.

Author
TBA
Date
12 Aug 2020

Definition in file pathfinder_C.h.

Macro Definition Documentation

◆ C_INTERFACE

#define C_INTERFACE   extern "C" __declspec(dllexport) int

Definition at line 14 of file pathfinder_C.h.