Loading...
Searching...
No Matches
aux::AtomSignature Struct Reference

#include <gpr/auxiliary/Distance.h>

Public Member Functions

bool operator< (const AtomSignature &other) const

Public Attributes

gpr::Index_t original_index
gpr::Index_t type
std::vector< double > signature_vec

Detailed Description

Definition at line 31 of file Distance.h.

Member Function Documentation

◆ operator<()

bool aux::AtomSignature::operator< ( const AtomSignature & other) const
inline

Definition at line 37 of file Distance.h.

38 {
39 if (type != other.type) {
40 return type < other.type;
41 }
42 // Lexicographical comparison of the signature vectors
43 return signature_vec < other.signature_vec;
44 }
std::vector< double > signature_vec
Definition Distance.h:34
gpr::Index_t type
Definition Distance.h:33

Member Data Documentation

◆ original_index

gpr::Index_t aux::AtomSignature::original_index

Definition at line 32 of file Distance.h.

◆ signature_vec

std::vector<double> aux::AtomSignature::signature_vec

Definition at line 34 of file Distance.h.

◆ type

gpr::Index_t aux::AtomSignature::type

Definition at line 33 of file Distance.h.


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