CBMC
|
Simple structure for linearising posets. More...
#include <memory_snapshot_harness_generator.h>
Public Types | |
using | relationt = std::multimap< Key, Key > |
using | keyst = std::set< Key > |
Public Member Functions | |
preordert (const relationt &preorder_relation) | |
template<typename T > | |
void | sort (const std::vector< std::pair< Key, T >> &input, std::vector< std::pair< Key, T >> &output) |
Private Member Functions | |
template<typename Value , typename Map , typename Handler > | |
void | dfs (Value &&node, Map &&key_to_t, Handler &&handle) |
template<typename Value , typename Map , typename Handler > | |
void | dfs_inner (Value &&node, Map &&key_to_t, Handler &&handle) |
Private Attributes | |
const relationt & | preorder_relation |
keyst | seen |
keyst | inserted |
Simple structure for linearising posets.
Should be constructed with a map assigning a key to a set of keys that precede it.
Definition at line 294 of file memory_snapshot_harness_generator.h.
using memory_snapshot_harness_generatort::preordert< Key >::keyst = std::set<Key> |
Definition at line 298 of file memory_snapshot_harness_generator.h.
using memory_snapshot_harness_generatort::preordert< Key >::relationt = std::multimap<Key, Key> |
Definition at line 297 of file memory_snapshot_harness_generator.h.
|
inlineexplicit |
Definition at line 300 of file memory_snapshot_harness_generator.h.
|
inlineprivate |
Definition at line 340 of file memory_snapshot_harness_generator.h.
|
inlineprivate |
Definition at line 349 of file memory_snapshot_harness_generator.h.
|
inline |
Definition at line 306 of file memory_snapshot_harness_generator.h.
|
private |
Definition at line 337 of file memory_snapshot_harness_generator.h.
|
private |
Definition at line 334 of file memory_snapshot_harness_generator.h.
|
private |
Definition at line 336 of file memory_snapshot_harness_generator.h.