#include <OrderingLexicographical.h>
|
int | k_ |
|
std::vector< int > | m_ |
| the maximum for each digit More...
|
|
char | digits_ [256] |
|
std::vector< int > | g_ |
| the encoded format More...
|
|
std::vector< int > | h_ |
| the integer in mixed-radix representation More...
|
|
Lexicographical ordering for multi-dimensional sensitivity i.e. by counting in increasing order
#include <libpf/core/OrderingLexicographical.h>
- Warning
-
Thread safe:
-
Extendable:
-
Platform dependencies:
◆ OrderingLexicographical()
OrderingLexicographical::OrderingLexicographical |
( |
const std::vector< int > & |
m | ) |
|
|
explicit |
◆ idFromRound()
int OrderingLexicographical::idFromRound |
( |
int |
round | ) |
const |
|
overridevirtual |
- Returns
- id based on the ordering from serial round
- Parameters
-
Implements Ordering.
◆ lastId()
bool OrderingLexicographical::lastId |
( |
void |
| ) |
const |
|
overridevirtual |
- Returns
- the last id based on the ordering
Implements Ordering.
◆ localIdFromRound()
int OrderingLexicographical::localIdFromRound |
( |
int |
round, |
|
|
int |
j |
|
) |
| const |
|
overridevirtual |
- Returns
- step in j-th dimension based on the ordering from serial round
- Parameters
-
round | sequential counter |
j | dimension |
Implements Ordering.
◆ name()
const char * OrderingLexicographical::name |
( |
void |
| ) |
const |
|
overridevirtual |
- Returns
- name of the ordering
Implements Ordering.
◆ nextId()
int OrderingLexicographical::nextId |
( |
void |
| ) |
const |
|
overridevirtual |
return next id based on the ordering
Implements Ordering.
◆ roundFromId()
int OrderingLexicographical::roundFromId |
( |
int |
id | ) |
const |
|
overridevirtual |
- Returns
- serial round from id based on the ordering
- Parameters
-
Implements Ordering.
The documentation for this class was generated from the following file: