![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
Entry in the priority queue. More...
#include "PermutationStrategy.h"
Public Member Functions | |
| bool | operator< (const node_type &a) const |
Compare two entries; lower val (or lower id on tie) wins. | |
Public Attributes | |
| unsigned long | id |
| Node identifier. | |
| unsigned long | val |
| Priority statistic (smaller ⇒ higher priority) | |
Entry in the priority queue.
Nodes with a smaller val are eliminated first. Ties are broken by node ID (smaller ID first) to ensure a deterministic ordering.
Definition at line 46 of file PermutationStrategy.h.
|
inline |
Compare two entries; lower val (or lower id on tie) wins.
| a | Other entry to compare against. |
true if this entry has higher priority (smaller val or id). Definition at line 54 of file PermutationStrategy.h.
| unsigned long PermutationStrategy::node_type::id |
Node identifier.
Definition at line 47 of file PermutationStrategy.h.
| unsigned long PermutationStrategy::node_type::val |
Priority statistic (smaller ⇒ higher priority)
Definition at line 48 of file PermutationStrategy.h.