F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
MaxHeap.cpp File Reference
#include "Os/Generic/Types/MaxHeap.hpp"
#include <FpConfig.hpp>
#include <Fw/Logger/Logger.hpp>
#include "Fw/Types/Assert.hpp"
#include <cstdio>
#include <new>

Go to the source code of this file.

Namespaces

 Types
 

Macros

#define LCHILD(x)   (2 * x + 1)
 
#define RCHILD(x)   (2 * x + 2)
 
#define PARENT(x)   ((x - 1) / 2)
 

Macro Definition Documentation

◆ LCHILD

#define LCHILD (   x)    (2 * x + 1)

Definition at line 26 of file MaxHeap.cpp.

◆ PARENT

#define PARENT (   x)    ((x - 1) / 2)

Definition at line 28 of file MaxHeap.cpp.

◆ RCHILD

#define RCHILD (   x)    (2 * x + 2)

Definition at line 27 of file MaxHeap.cpp.