#include <Keccak-fDCLC.h>
Public Member Functions | |
| ListOfRowPatterns () | |
| void | add (RowValue aValue, int aWeight) |
| void | display (ostream &fout) const |
Public Attributes | |
| vector< RowValue > | values |
| vector< int > | weights |
| bool | minMaxInitialized |
| int | maxWeight |
| int | minWeight |
| ListOfRowPatterns::ListOfRowPatterns | ( | ) | [inline] |
This constructor initializes the output patterns to the empty set.
| void ListOfRowPatterns::add | ( | RowValue | aValue, | |
| int | aWeight | |||
| ) |
This function adds a possible output pattern, along with an associated propagation weight, while inserting it at the right place to ensure that they are listed with increasing propagation weights.
| aValue | An output pattern. | |
| aWeight | Its associated propagation weight. |
| void ListOfRowPatterns::display | ( | ostream & | fout | ) | const |
This function displays the possible patterns and their weights.
| fout | The stream to display to. |
| vector<RowValue> ListOfRowPatterns::values |
The list of output row patterns (differences or selection vectors) compatible with a given row input pattern.
| vector<int> ListOfRowPatterns::weights |
The list of propagation weights, for each row pattern, i.e., weights[i] is the weight of values[i].
True iff maxWeight and minWeight are meaningful.
The maximum propagation weight in weights.
The minimum propagation weight in weights.
1.5.6