Belle II Software  release-05-02-19
WeightedRelationUtil< AFrom, ATo > Struct Template Reference

Utility structure with functions related to weighted relations. More...

#include <WeightedRelation.h>

Static Public Member Functions

template<class AWeightedRelations >
static bool areSymmetric (const AWeightedRelations &weightedRelations)
 Checks for the symmetry of a range of weighted relations Explicitly checks for each weighted relation, if their is an reverse relation with the same weight. More...
 

Detailed Description

template<class AFrom, class ATo = AFrom>
struct Belle2::TrackFindingCDC::WeightedRelationUtil< AFrom, ATo >

Utility structure with functions related to weighted relations.

Definition at line 140 of file WeightedRelation.h.

Member Function Documentation

◆ areSymmetric()

static bool areSymmetric ( const AWeightedRelations &  weightedRelations)
inlinestatic

Checks for the symmetry of a range of weighted relations Explicitly checks for each weighted relation, if their is an reverse relation with the same weight.

Returns true if all such inverse relations exist.

Definition at line 147 of file WeightedRelation.h.


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