|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Archeap. More...
#include <gtest/gtest.h>#include <algorithm>#include <random>#include <unordered_map>#include <vector>#include <tpl_graph.H>#include <archeap.H>Go to the source code of this file.
Functions | |
| TEST (ArcHeapBasic, SingleArcInsertAndExtract) | |
| TEST (ArcHeapBasic, KeepsBestOfParallelArcs) | |
| TEST (ArcHeapBasic, IgnoresWorseArcForSameTarget) | |
| TEST (ArcHeapBasic, ExtractsArcsInIncreasingDistanceAcrossTargets) | |
| TEST (ArcHeapBasic, ClearsMappingForAllTargets) | |
| TEST (ArcHeapRandom, ExtractsNonDecreasingByDistance) | |
Tests for Archeap.
Definition in file archeap_test.cc.
| TEST | ( | ArcHeapBasic | , |
| ClearsMappingForAllTargets | |||
| ) |
Definition at line 179 of file archeap_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::maps(), nodes, and Aleph::HTList::size().
| TEST | ( | ArcHeapBasic | , |
| ExtractsArcsInIncreasingDistanceAcrossTargets | |||
| ) |
Definition at line 153 of file archeap_test.cc.
References StlAlephIterator< SetName >::begin(), StlAlephIterator< SetName >::end(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::maps(), nodes, and Aleph::HTList::size().
| TEST | ( | ArcHeapBasic | , |
| IgnoresWorseArcForSameTarget | |||
| ) |
Definition at line 134 of file archeap_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::maps(), and nodes.
| TEST | ( | ArcHeapBasic | , |
| KeepsBestOfParallelArcs | |||
| ) |
Definition at line 115 of file archeap_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::maps(), and nodes.
| TEST | ( | ArcHeapBasic | , |
| SingleArcInsertAndExtract | |||
| ) |
Definition at line 95 of file archeap_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::maps(), nodes, and Aleph::HTList::size().
| TEST | ( | ArcHeapRandom | , |
| ExtractsNonDecreasingByDistance | |||
| ) |
Definition at line 209 of file archeap_test.cc.
References StlAlephIterator< SetName >::begin(), Aleph::DynList< T >::empty(), StlAlephIterator< SetName >::end(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::maps(), nodes, rng, Aleph::HTList::size(), and w.