Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
itk::ShortestPathImageFilter< TInputImageType, TOutputImageType >::CompareNodeStar Struct Reference

Comparator for the A* priority queue. More...

#include <itkShortestPathImageFilter.h>

Public Member Functions

bool operator() (ShortestPathNode *a, ShortestPathNode *b)
 

Detailed Description

template<class TInputImageType, class TOutputImageType>
struct itk::ShortestPathImageFilter< TInputImageType, TOutputImageType >::CompareNodeStar

Comparator for the A* priority queue.

Orders ShortestPathNode pointers by their combined distance and estimated remaining cost (distAndEst) in descending order, so that the node with the lowest cost is at the top of the queue.

Definition at line 108 of file itkShortestPathImageFilter.h.

Member Function Documentation

◆ operator()()

template<class TInputImageType , class TOutputImageType >
bool itk::ShortestPathImageFilter< TInputImageType, TOutputImageType >::CompareNodeStar::operator() ( ShortestPathNode *  a,
ShortestPathNode *  b 
)
inline

Definition at line 110 of file itkShortestPathImageFilter.h.

References itk::ShortestPathNode::distAndEst.


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