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

Contains implementation for the HF::SpatialStructures::CostAlgorithms namespace. More...

#include <vector>
#include <string>
#include "Constants.h"
+ Include dependency graph for cost_algorithms.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::SpatialStructures::CostAlgorithms
 

Functions

double HF::SpatialStructures::CostAlgorithms::to_radians (double degrees)
 
double HF::SpatialStructures::CostAlgorithms::to_degrees (double radians)
 
template<size_t dimension, typename float_precision = float>
float_precision HF::SpatialStructures::CostAlgorithms::euclidean_distance (float_precision point_a[], float_precision point_b[])
 
template<size_t dimension, typename float_precision = float>
float_precision HF::SpatialStructures::CostAlgorithms::dot_product (float_precision vec_U[], float_precision vec_V[])
 
template<size_t dimension, typename float_precision = float>
bool HF::SpatialStructures::CostAlgorithms::is_perpendicular (float_precision vec_U[], float_precision vec_V[])
 
template<size_t dimension, typename float_precision = float>
std::vector< Edge > HF::SpatialStructures::CostAlgorithms::GetPerpendicularEdges (const Subgraph &sg, const Node &child_node_a)
 
std::vector< IntEdgeHF::SpatialStructures::CostAlgorithms::CalculateCrossSlope (const Subgraph &sg)
 
std::vector< std::vector< IntEdge > > HF::SpatialStructures::CostAlgorithms::CalculateCrossSlope (const Graph &g)
 
EdgeSet HF::SpatialStructures::CostAlgorithms::CalculateEnergyExpenditure (const Subgraph &sg)
 
std::vector< EdgeSetHF::SpatialStructures::CostAlgorithms::CalculateEnergyExpenditure (const Graph &g)
 
double HF::SpatialStructures::CostAlgorithms::CalculateSlope (Node &parent, Node &child)
 

Detailed Description

Contains implementation for the HF::SpatialStructures::CostAlgorithms namespace.

Contains declarations for the HF::SpatialStructures::CostAlgorithms namespace.

Author
TBA
Date
03 Jul 2020

Definition in file cost_algorithms.h.