\( \def\bold#1{\bf #1} \newcommand{\d}{\mathrm{d}} \) BTP: Manual and Source Code Documentation

Power Uphill

bike mass [kg]
body mass [kg]
altitude gain [m]
climb length [km]
gradient [%]
time [s]
speed [km/h]
power [W]
power/mass [W/kg]
climbrate [m/min]

average power on climb stage

BTP  3.0
Routing/ClimbAnalysis/PowerCalculation
Neighbour Struct Reference

routing container struct, connects cross via Way with each other More...

#include <DataTyps.h>

Collaboration diagram for Neighbour:

Public Attributes

readdirection rd
 
Wayway
 Neighbour lives uses this Way.
 
KOOnb
 
Neighbourbrthr
 related Neighbour with opposite read direction supposed to store brthr
 
float hm
 total height meter, for routing
 
float d
 distance
 
int nodec
 count of used KOO in way
 
int tpc
 count of trackpoint
 
KOO ** node
 reference to KOO (of way)
 
trackpointtp
 heighdata of this Neighbour
 
Neighbournext
 next Neighbour, set to NULL if last
 

Detailed Description

routing container struct, connects cross via Way with each other

This is one of the most important data types oft BTP. It provides the connection from one cross to another cross at the KOO nb. Every Neighbour has a brother Neighbour brthr which differs in Neighbour::rd attribute. A Neighbour struct contains the heightdata of a road and has a referenze tp its KOO, which is stored at the way the Neighbour struct lives on. Neighbour structs are generated in the crossdata of a KOO by the WayHeight class. Furthermore the Neighbour is also the element of a list linking to other Neighbour structs of a KOO, as a cross at least has two Neighbours except its the endpoint of a dead end.

Definition at line 47 of file DataTyps.h.

Member Data Documentation

KOO* Neighbour::nb

the KOO, this Neighbour links to

Definition at line 54 of file DataTyps.h.

readdirection Neighbour::rd

If a routing algorithm reconstructs a Track from a Neighbour array than (concerning both the heightdata and the KOO) it is important whether treferenced Way of the OSM data was defined forward or backward

Definition at line 52 of file DataTyps.h.


The documentation for this struct was generated from the following file: