46 double comparisonConditioner) {
47 (void)comparisonConditioner;
48 typedef std::queue<HyperGraph::Edge*> EdgeDeque;
55 while (!frontier.empty()) {
62 if (!(from && to))
continue;
65 if (edgecost != std::numeric_limits<double>::max()) {
66 if (edgecost > maxEdgeCost) {
70 for (
auto it = e->
vertices()[0]->edges().begin();
71 it != e->
vertices()[0]->edges().end(); ++it) {
72 if (selected.find(*it) == selected.end())
75 for (
auto it = e->
vertices()[1]->edges().begin();
76 it != e->
vertices()[1]->edges().end(); ++it) {
77 if (selected.find(*it) == selected.end())
void findConnectedEdgesWithCostLimit(HyperGraph::EdgeSet &selected, HyperGraph::EdgeSet &border, HyperGraph::Edge *start, HyperDijkstra::CostFunction *cost, double maxEdgeCost, double comparisonConditioner)